Project Files of Differential Drive Robot with Joystick and ESP32 - Proteus Simulation
a12cc0e5668647fe83612c0b4ae8ea8f.zip

Differential Drive Robot with Joystick and ESP32 - Proteus Simulation V1.0
Differential Drive Robot with Joystick and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (3.8 MB, 8.5 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
Differential-Drive-Robot-Joystick-ESP32-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, a KY-023 joystick, two FS90R continuous servos, a 128x64 OLED, the Laptop and Mobile WiFi Monitors), the Arduino sketch ESP32_Robot_Base.ino with its .hex file, every LIB and DLL and a README.
File Structure
12.5 KB36.6 KB23.7 KB90.2 KB39.5 KB13.1 KB112.4 KB284.5 KB397 KB3.0 MB342.5 KB30.2 KB113.3 KB284.5 KB397 KB3.0 MB342.5 KB9.3 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Differential Drive Robot with Joystick and ESP32 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Differential Drive Robot with Joystick and ESP32 - 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/11/differential-drive-robot-joystick-esp32-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
Joystick module (KY-023):
https://www.theengineeringprojects.com/2026/10/joystick-module-library-for-proteus.html
FS90R continuous servo:
https://www.theengineeringprojects.com/2026/10/fs90r-continuous-servo-library-for-proteus-v1-0.html
OLED SSD1306:
https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.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-Robot-Base-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPFS90R.LIB 23.7 KB a part of the project -> LIBRARY folder
| |-- TEPJOYSTICK.LIB 90.2 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPOLED12864.LIB 112.4 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPFS90R.DLL 284.5 KB a model -> MODELS folder
| |-- TEPJOYSTICK.DLL 397.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 3.01 MB a model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Robot_Base.hex 113.3 KB the firmware U1 runs
| |-- ESP32-Robot-Base.pdsprj 30.2 KB the project simulation
| |-- TEPFS90R.DLL 284.5 KB copy of the model
| |-- TEPJOYSTICK.DLL 397.0 KB copy of the model
| |-- TEPNET.DLL 3.01 MB copy of the model
| |-- TEPOLED.DLL 342.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Robot_Base/ESP32_Robot_Base.ino 12.5 KB the sketch (source of the .hex)
|-- README.txt ~9.8 KB this file
Total: 8.50 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A two-wheel robot base driven by a thumb joystick: two FS90R continuous-rotation servos are the wheels, and the
ESP32 works out where the robot has gone from what it told the wheels - dead reckoning - and draws the path.
* U1 ESP32 DEVKIT V1 runs ESP32_Robot_Base.hex on TEP-WiFi at 192.168.1.101.
* JS1 a KY-023 joystick (JOYSTICKADVTEP, SPRING OFF: the stick stays where you put it) on +3.3V: VRX (forward /
back) on D34, VRY (left / right) on D35, SW on D32 (press: zero the position).
* SV1 the left wheel and SV2 the right wheel: FS90R continuous servos (FS90RSERVOTEP) on +5V, SIG on D25 / D26.
* OLED1 an SSD1306 128x64 OLED (OLED12864WHITEADVTEP, 0x3C) on D21 / D22: the position, the heading, the wheels
and the path as a map.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
How it drives and where it thinks it is:
the stick its centre measured at start-up, an 8 % dead zone; forward = VRX, turn = VRY
mixing left = forward + turn, right = forward - turn, scaled so neither passes full speed
the servos 1500 us stops an FS90R; its drive = tanh((us - 5) / 150) and its speed RPM = 137.8 x (drive -
0.13) - measured, friction eats the first 13 %; the sketch turns that around to give each wheel
the speed it needs; the left one turns CCW for forward, the right one CW (they face opposite
ways); a centred stick detaches both: no pulses, no creep
odometry every 50 ms: each wheel's speed = RPM x 2 pi r / 60 (60 mm wheels), the robot's speed v = (vL + vR)
/ 2, its turn rate w = (vR - vL) / 0.100 m; heading += w dt, x += v cos(heading) dt, y += v
sin(heading) dt
Its pages:
/ the dashboard: the position, the heading, the wheels and the path
/map.bmp the OLED's map twice as big (128 x 128) /data JSON
Libraries: WiFi and WebServer (part of the ESP32 core), Wire, ESP32Servo, Adafruit SSD1306 and Adafruit GFX.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's times):
- "stick centre 1677 / 1628 mV" (the joystick's rest 520 / 506 on 3.3 V).
- UP at 4.1 s: "wheels 115/115 RPM (1806/1194 us) v 0.361 m/s" - 0.72 m every 2 s, 4.47 m north at 16.4 s. SERVO1's
pop-up: 114.8 RPM CCW at 1806 us.
- UR at 17.7 s: "wheels 115/70 RPM (1806/1382 us) v 0.290 m/s, w -81.2 deg/s"; SERVO2's pop-up 69.3 RPM CW at 1383 us.
UP again at 20.1 s: the heading 257 deg - a 193 deg U-turn of about 0.2 m radius; back south to (-0.52, 0.78) m.
- RIGHT at 31.7 s: "wheels 29/-29 RPM (1557/1557 us) v 0.000 m/s, w -103.5 deg/s" (SERVO2: 27.7 RPM); CTR at 37.1 s:
0/0 RPM, SERVO1 "NO PULSES - NOT DRIVEN, STOPPED".
- 0.50 kg.cm on SERVO1 at 40.2 s, UP at 41.1 s: SERVO1 70.8 RPM, SERVO2 114.8 RPM - the ESP32's path stays a straight
line at 62 deg (6.8 m by 60.4 s): without encoders it cannot see the slower wheel.
- The FS90R's curve, measured in an earlier run (114.4 RPM at 300 us, 14.3 RPM at 41 us): RPM = 137.8 x (tanh((us - 5)
/ 150) - 0.13). 16.67 m driven; 61.8 s of simulation in 378 s.
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, JOYSTICKADVTEP or FS90RSERVOTEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Robot-Base.pdsprj". Keep ESP32_Robot_Base.hex and the DLL files beside it.
2. Press Play. The robot starts at (0, 0), heading north (90 degrees).
3. On the joystick's pop-up press UP: both wheels drive forward. Then RIGHT (a spin in place), UP-RIGHT (a turn
about the right wheel) and the centre to stop. On a servo's pop-up, put a load on the horn and drive straight:
the real wheel slows, but the ESP32 does not know (no encoders).
4. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go for the dashboard.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Robot_Base.hex
JS1 JOYSTICKADVTEP SPRING=OFF (the stick stays put; ON = it springs back to the centre)
SV1, SV2 FS90RSERVOTEP STOP_US=1500, LOAD=0; OLED1 OLED12864WHITEADVTEP
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* The wheels never turn: the servos' V+ needs the +5V supply terminal; SIG on D25 / D26.
* A wheel creeps with the stick centred: the sketch detaches the servos at the centre; an attached FS90R at a
pulse a little off 1500 us creeps (its pop-up names it).
* The robot drifts while the stick is centred: the dead zone is 8 %; a stick that does not come back to its
centre (SPRING OFF) still moves the robot - press the centre of the D-pad.
* The OLED stays blank: SDA / SCL on D21 / D22, address 0x3C, VCC on 3.3 V.
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 .hex file is built with the TEP Boards for Proteus, ESP32Servo and the Adafruit SSD1306 / GFX libraries.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems.
This project is not made or endorsed by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Differential Drive Robot with Joystick and ESP32 - 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
Extract the archive
Right-click a12cc0e5668647fe83612c0b4ae8ea8f.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-Robot-Base-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPESP32V1.LIB, TEPFS90R.LIB and TEPJOYSTICK.LIB and 3 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
Add the simulation model
Copy TEPFS90R.DLL, TEPJOYSTICK.DLL and TEPNET.DLL and 1 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 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
Open the sketch in the Arduino IDE
Open ESP32_Robot_Base.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to ESP32_Robot_Base.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Robot-Base.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
Differential Drive Robot with Joystick and ESP32 - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download Differential Drive Robot with Joystick and ESP32 - 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?
Differential Drive Robot with Joystick and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (3.8 MB, 8.5 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 18 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, c8edcca1cd2953aad2de22379cdea06b6087f2b44f331e39bb729e681bc42a8f. In PowerShell run Get-FileHash "a12cc0e5668647fe83612c0b4ae8ea8f.zip"; on macOS or Linux run shasum -a 256 "a12cc0e5668647fe83612c0b4ae8ea8f.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.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ESP32 ProjectsCategory
- 0Comments
- ssyedzainnasirUploaded by
- 25 Nov 2026Uploaded at
c8edcca1cd2953aad2de22379cdea06b6087f2b44f331e39bb729e681bc42a8f

















Comments
0