TEP DOWNLOAD CENTER

Project Files of PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal d530db2eaf8e45d09331285520f8a5bc.zip ZIP archiveV1.0Verified0 downloadsFree
PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation: the ESP32, the PS2 receiver, the VL53L1X, the L298N and two TT gear motors with their wheels
Proteus library · File 1 of 1

PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation V1.0

PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation V1.0 comes as a ZIP archive of 27 files (4.7 MB, 10.2 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.

  • LIBProteus library
  • DLLProteus model
  • DSNProteus simulation
  • INOArduino sketch
  • HEXHEX firmware

Description

PS2-Controller-Robot-Rover-ESP32-VL53L1X-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, a PS2 wireless controller receiver, a VL53L1X time-of-flight sensor, an L298N, two TT gear motors, two LEDs, the Laptop and Mobile WiFi Monitors), the Arduino sketch ESP32_PS2_Rover.ino and its HEX, every LIB and DLL and a README.

Read PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation

File Structure

d530db2eaf8e45d09331285520f8a5bc.zip27 files · 5 folders · 10.2 MB unpacked
ESP32-PS2-Rover-TEP-v1.0/27 files · 10.2 MB
Arduino Code/1 file · 14.4 KB
ESP32_PS2_Rover/1 file · 14.4 KB
INO ESP32_PS2_Rover.inoArduino sketch 14.4 KB
Proteus Library Files/9 files · 486.4 KB
LIB TEPESP32V1.LIBProteus library 36.6 KB
LIB TEPL298N.LIBProteus library 21.4 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPLED5MM.LIBProteus library 21.8 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPPS2PAD.LIBProteus library 14.4 KB
LIB TEPRESISTOR.LIBProteus library 306.9 KB
LIB TEPTTGEAR.LIBProteus library 17 KB
LIB TEPVL53L1X.LIBProteus library 15.8 KB
Proteus Model Files/7 files · 4.8 MB
DLL TEPL298N.DLLSimulation model 319 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPPS2PAD.DLLSimulation model 311 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPTTGEAR.DLLSimulation model 278.5 KB
DLL TEPVL53L1X.DLLSimulation model 321 KB
Proteus Simulation/9 files · 4.9 MB
DSN ESP32-PS2-Rover.pdsprjProteus simulation 36.9 KB
HEX ESP32_PS2_Rover.hexCompiled HEX file 75.3 KB
DLL TEPL298N.DLLSimulation model 319 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPPS2PAD.DLLSimulation model 311 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPTTGEAR.DLLSimulation model 278.5 KB
DLL TEPVL53L1X.DLLSimulation model 321 KB
TXT README.txtText file 11.9 KB

README

README.txt 154 lines
===============================================================================================================
  PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation - Project V1.0
  The Engineering Projects - www.TheEngineeringProjects.com
===============================================================================================================

IMPORTANT LINKS
  The project tutorial (circuit, code, simulation results):
  https://www.theengineeringprojects.com/2026/12/ps2-controller-robot-rover-esp32-vl53l1x-proteus-simulation.html
  The libraries this project is built from (each post has its own full download and tutorial):
    ESP32 DevKit V1 board:
      https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
    PS2 wireless controller:
      https://www.theengineeringprojects.com/2026/12/ps2-wireless-controller-library-for-proteus.html
    VL53L1X distance sensor:
      https://www.theengineeringprojects.com/2026/11/vl53l1x-distance-sensor-library-for-proteus.html
    L298N motor driver:
      https://www.theengineeringprojects.com/2026/11/l298n-motor-driver-library-for-proteus.html
    TT gear motor:
      https://www.theengineeringprojects.com/2026/10/tt-gear-motor-library-for-proteus-v1-0.html
    5mm LED:
      https://www.theengineeringprojects.com/2026/11/5mm-led-library-for-proteus.html
    Resistor:
      https://www.theengineeringprojects.com/2026/11/resistor-library-for-proteus.html
    Laptop WiFi Monitor:
      https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
    Mobile WiFi Monitor:
      https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
  Support our free work: https://www.theengineeringprojects.com/donate

FILE STRUCTURE
ESP32-PS2-Rover-TEP-v1.0/
|-- Proteus Library Files/
|   |-- TEPESP32V1.LIB                                 36.6 KB   a part of the project -> LIBRARY folder
|   |-- TEPL298N.LIB                                   21.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPLAPTOP.LIB                                  39.5 KB   a part of the project -> LIBRARY folder
|   |-- TEPLED5MM.LIB                                  21.8 KB   a part of the project -> LIBRARY folder
|   |-- TEPMOBILE.LIB                                  13.1 KB   a part of the project -> LIBRARY folder
|   |-- TEPPS2PAD.LIB                                  14.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPRESISTOR.LIB                               306.9 KB   a part of the project -> LIBRARY folder
|   |-- TEPTTGEAR.LIB                                  17.0 KB   a part of the project -> LIBRARY folder
|   |-- TEPVL53L1X.LIB                                 15.8 KB   a part of the project -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPL298N.DLL                                  319.0 KB   a model -> MODELS folder
|   |-- TEPLED5MM.DLL                                 289.5 KB   a model -> MODELS folder
|   |-- TEPNET.DLL                                     3.01 MB   a model -> MODELS folder
|   |-- TEPPS2PAD.DLL                                 311.0 KB   a model -> MODELS folder
|   |-- TEPRESISTOR.DLL                               311.0 KB   a model -> MODELS folder
|   |-- TEPTTGEAR.DLL                                 278.5 KB   a model -> MODELS folder
|   |-- TEPVL53L1X.DLL                                321.0 KB   a model -> MODELS folder
|-- Proteus Simulation/
|   |-- ESP32_PS2_Rover.hex                            75.3 KB   the firmware U1 runs
|   |-- ESP32-PS2-Rover.pdsprj                         36.9 KB   the project simulation
|   |-- TEPL298N.DLL                                  319.0 KB   copy of the model
|   |-- TEPLED5MM.DLL                                 289.5 KB   copy of the model
|   |-- TEPNET.DLL                                     3.01 MB   copy of the model
|   |-- TEPPS2PAD.DLL                                 311.0 KB   copy of the model
|   |-- TEPRESISTOR.DLL                               311.0 KB   copy of the model
|   |-- TEPTTGEAR.DLL                                 278.5 KB   copy of the model
|   |-- TEPVL53L1X.DLL                                321.0 KB   copy of the model
|-- Arduino Code/
|   |-- ESP32_PS2_Rover/ESP32_PS2_Rover.ino            14.4 KB   the sketch (source of the .hex)
|-- README.txt                                        ~11.5 KB   this file
Total: 10.21 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
  A two-wheel robot rover driven from a PS2 wireless controller, with a time-of-flight distance sensor in its nose
  that will not let it drive into a wall. The ESP32 speaks the controller's protocol itself, reads the distance 16
  times a second, slows the rover down within 2.5 m of something, stops it at 30 cm - and tells the driver
  through the controller's rumble motors. Back and turns still work at the wall, so you can always drive away.
    * U1 ESP32 DEVKIT V1 runs ESP32_PS2_Rover.hex on TEP-WiFi at 192.168.1.101.
    * U2 the PS2 receiver (PS2RECEIVERTEP, DEMO NO): DAT D19 (open drain: the input's pull-up), CMD D23, ATT D5,
      CLK D18; VCC on +3.3V. Its pop-up is the controller: Up / Down / Left / Right, Tri, Circle, Cross, Square, Start.
    * U3 a VL53L1X time-of-flight sensor (VL53L1XTEP, PROFILE STEADY, DIST 6000): SDA D21, SCL D22, GPIO1 D4 (data
      ready); VIN on +3.3V, XSHUT open. Its pop-up's chips set the target: nothing, white 0.3 m, white 2 m, grey 3 m,
      black 1 m.
    * U4 an L298N (L298NDRIVERTEP, REG5V YES, ENAJUMPER NO, ENBJUMPER NO): the left motor on ENA D32, IN1 D33, IN2
      D25; the right one on ENB D14, IN3 D26, IN4 D27; 12V on +7.4V (a 2S Li-ion pack).
    * M1 / M2 TT gear motors (TTGEARMOTORTEP) with 65 mm wheels on OUT1 / OUT2 and OUT3 / OUT4.
    * D1 green (TX2 = D17): armed; D2 red (RX2 = D16): blocked; each through 220 ohm (R1, R2).
    * Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
  What the sketch does:
    the PS2       ATT low, bytes LSB first, CMD set before CLK falls, DAT read as CLK rises; 0x42 polls the 16 buttons
                  (active low) 50 times a second and sets the two rumble motors (mapped once with 0x4D)
    the driving   START arms / disarms; UP forward, DOWN back (at 60 %), LEFT / RIGHT turn on the spot or in an arc
                  with UP / DOWN; TRIANGLE the gear (40 / 70 / 100 %); CROSS the brake; SQUARE the collision assist;
                  each wheel ramps 5 % every 20 ms (0 - 100 % in 0.4 s); a 500 Hz PWM on ENA / ENB
    the VL53L1X   ST's Ultra Lite Driver start-up (the default configuration 0x2D - 0x87, one measurement), long mode,
                  a 50 ms timing budget, a distance every 60 ms; GPIO1 says when one is ready; the range status
    the assist    going forward, nearer than 2500 mm the speed is cut in proportion (2500 mm full, 300 mm none), the
                  small rumble motor buzzes; nearer than 300 mm forward is BLOCKED (until the way is clear beyond
                  350 mm), the red LED lights and the large motor rumbles; back and turns stay free. Only a valid
                  distance counts (range status 0): a dark object returns far less light and is seen much later
  Its pages:
    /             the dashboard with the links Refresh, STOP, ARM and ASSIST ON / OFF
    /data         JSON: armed, the assist, the gear, the distance and its status, blocked and how often, both wheels'
                  duties, the buttons, the rumble, the controller's link
  Libraries: WiFi, WebServer and Wire (part of the ESP32 core).

TEST STATUS
  Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the times are the
  sketch's clock; the VL53L1X's pop-up gives the distance, the range status and the signal; the motors' their speed):
  - 0.62 s PS2 controller linked (digital, ID 0x41); the VL53L1X model 0xEACC; 2.91 s READY - nothing in range.
  - START armed the rover (the green LED); UP at gear 2: both wheels 70 % - 4.11 V, 163 RPM, 0.55 m/s.
  - A white card at 2 m (1996 mm, status 0, 1.00 MCPS): the speed cut to 53 % (3.15 V) and the small rumble motor on.
  - A black card at 1 m: status 2, signal fail (0.23 MCPS; the model's range for a black target: 711 mm) - the sensor
    still gave 974 mm, but flagged it; the assist trusts only status 0, so it saw nothing and the rover went on at 70 %.
  - A white card at 0.3 m: 16.47 s BLOCKED at 299 mm - the wheels stopped with UP held, the red LED, the large rumble
    motor at 255. LEFT at the wall: the wheels opposite (163 RPM each way) - turns stay free; forward free at 23.42 s.
  - TRIANGLE (gear 3) and UP: 100 % - 5.90 V, 243 RPM; SQUARE: assist OFF; STOP from the laptop: disarmed.
  - 33.6 s of simulation in 392 s.
  - Our first runs: the card at 0.3 m read 298 - 301 mm and BLOCKED switched on and off ten times a second - now it
    releases only beyond 350 mm; the PS2 receiver's own DEMO pressed buttons - DEMO NO.

INSTALLATION
  1. Close Proteus. Extract the WHOLE zip file, for example to your Desktop.
  2. Copy the files from "Proteus Library Files" into the LIBRARY folder of Proteus, for example
     C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
  3. Copy the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
  4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1 or PS2 to check that the parts are there.

RUN THE SIMULATION
  1. Open "Proteus Simulation\ESP32-PS2-Rover.pdsprj". Keep ESP32_PS2_Rover.hex and the DLL files beside it.
  2. Press Play. Click U2 for the controller: its chips hold a button (click again to release). Start, then Up.
  3. Click U3 for the sensor and give it a target: black 1 m (the rover slows down), white 0.3 m (it stops and the
     controller rumbles). Left or Right still turn it. The Laptop / Mobile WiFi Monitor (Go): STOP, ARM, ASSIST.

PROPERTIES USED IN THIS PROJECT
  U1 ESP32 DEVKIT V1           PROGRAM=ESP32_PS2_Rover.hex
  U2 PS2RECEIVERTEP            DEMO=NO (YES plays the library's own sequence of buttons and sticks)
  U3 VL53L1XTEP                PROFILE=STEADY, DIST=6000 (out of range at the start; DEMO plays the garage scene)
  U4 L298NDRIVERTEP            REG5V=YES, ENAJUMPER=NO, ENBJUMPER=NO
  M1, M2 TTGEARMOTORTEP; D1 LED5MMGREENTEP, D2 LED5MMREDTEP; R1, R2 220 ohm; PC1, MOB1 HOMEPAGE=http://192.168.1.101/

TROUBLESHOOTING
  * PS2 controller LOST: DAT needs its pull-up (INPUT_PULLUP), the receiver 3.3 V, and the controller ON on its pop-up.
  * The rover does not move: START arms it (the green LED); the ENA / ENB jumpers off on the L298N, or the PWM is
    ignored.
  * The wheels only switch on and off: a PWM of 1 kHz or more reaches the L298N as its average voltage in the
    simulation - keep 500 Hz.
  * Never BLOCKED: the assist is off (SQUARE), or the sensor sees nothing (range status not 0).
  * On real hardware: a PS2 receiver needs 3.3 V; keep its wires short; give the motors their own supply.

LICENCES
  * The project, the sketch, the parts (LIB files) and the models (DLL files) are made by The Engineering Projects
    and are free for learning and for your own projects. The models use only standard Windows libraries.
    The C++ source code of the models is not included; the source code is not included for any model.
  * The sketch holds ST's default VL53L1X configuration from the VL53L1X Ultra Lite Driver (COPYRIGHT(c)
    STMicroelectronics, BSD-3-Clause). The .hex file is built with the TEP Boards for Proteus.
  * Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems,
    VL53L1X of STMicroelectronics, PlayStation of Sony. This project is not made or endorsed by them.

VERSION
  V1.0 - the first release of the project.
===============================================================================================================
Advertisement

Development1 release

  1. V1.0PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation V1.0this page

    V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.

Installation8 steps

From the download to a working project, in order. The steps follow what the package contains.

You will need

  • Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
  • Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
  • Any archive toolWindows, macOS and Linux extract ZIP files on their own

Steps

  1. 1

    Extract the archive

    Right-click d530db2eaf8e45d09331285520f8a5bc.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-PS2-Rover-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move TEPESP32V1.LIB, TEPL298N.LIB and TEPLAPTOP.LIB and 6 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.

  3. 3

    Add the simulation model

    Copy TEPL298N.DLL, TEPLED5MM.DLL and TEPNET.DLL and 4 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.

  4. 4

    Restart Proteus and place the component

    Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.

  5. 5

    Open the sketch in the Arduino IDE

    Open ESP32_PS2_Rover.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  6. 6

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to ESP32_PS2_Rover.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open ESP32-PS2-Rover.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  8. 8

    Follow the tutorial

    PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.

How to add a library in Proteus 8

FAQs9 questionsContact TEP

How do I download PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation V1.0?

Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.

What is inside the archive?

PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation V1.0 comes as a ZIP archive of 27 files (4.7 MB, 10.2 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 27 files.

What should I do if the download does not start?

Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.

Is this file free?

Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.

How do I check that the file arrived complete?

Compare its SHA-256 with the one on this page, 649ca57fa8653f1c4143cba660a7b4bda427434ff7c7501f8387d49183ade271. In PowerShell run Get-FileHash "d530db2eaf8e45d09331285520f8a5bc.zip"; on macOS or Linux run shasum -a 256 "d530db2eaf8e45d09331285520f8a5bc.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.

Do I need WinRAR to open the ZIP file?

No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.

Where do I put the LIB and IDX files?

Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.

Which Proteus version does the library need?

The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.

How do I get the HEX file into the simulation?

Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.

preparing · d530db2eaf8e45d09331285520f8a5bc.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

SHA-256 649ca57fa8653f1c4143cba660a7b4bda427434ff7c7501f8387d49183ade271
DocumentationPS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation
Need help with this file? Bug report Ask a question Download problemsGet updates
Advertisement

Comments

0

Join the conversation

Start the conversationAsk a question or share how you used this download.