TEP DOWNLOAD CENTER

Project Files of Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal de15acd989aa424caa9cdf638cfb98ad.zip ZIP archiveV1.0Verified0 downloadsFree
Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation: the ESP32, the TB6600 driver, the NEMA 23 motor and the OLED with the speed curve
Proteus library · File 1 of 1

Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation V1.0

Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (3.7 MB, 8.3 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

Stepper-Motion-Profiles-ESP32-TB6600-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, a TB6600 driver, a NEMA 23 stepper motor, a 128x64 OLED, the Laptop and Mobile WiFi Monitors), the Arduino sketch ESP32_Stepper_Profiles.ino with its .hex file, every LIB and DLL and a README.

Read Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation

File Structure

de15acd989aa424caa9cdf638cfb98ad.zip18 files · 5 folders · 8.3 MB unpacked
ESP32-Stepper-Profiles-TEP-v1.0/18 files · 8.3 MB
Arduino Code/1 file · 12 KB
ESP32_Stepper_Profiles/1 file · 12 KB
INO ESP32_Stepper_Profiles.inoArduino sketch 12 KB
Proteus Library Files/6 files · 261.4 KB
LIB TEPESP32V1.LIBProteus library 36.6 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPNEMA23.LIBProteus library 35.3 KB
LIB TEPOLED12864.LIBProteus library 112.4 KB
LIB TEPTB6600.LIBProteus library 24.6 KB
Proteus Model Files/4 files · 3.9 MB
DLL TEPNEMA23.DLLSimulation model 318.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPTB6600.DLLSimulation model 284.5 KB
Proteus Simulation/6 files · 4.1 MB
DSN ESP32-Stepper-Profiles.pdsprjProteus simulation 31.6 KB
HEX ESP32_Stepper_Profiles.hexCompiled HEX file 102.4 KB
DLL TEPNEMA23.DLLSimulation model 318.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPTB6600.DLLSimulation model 284.5 KB
TXT README.txtText file 8.5 KB

README

README.txt 122 lines
===============================================================================================================
  Stepper Motion Profiles with ESP32 and TB6600 - 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/stepper-motion-profiles-esp32-tb6600-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
    TB6600 stepper motor driver:
      https://www.theengineeringprojects.com/2026/11/tb6600-stepper-motor-driver-library-for-proteus-v1-0.html
    NEMA 23 stepper motor:
      https://www.theengineeringprojects.com/2026/11/nema-23-stepper-motor-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-Stepper-Profiles-TEP-v1.0/
|-- Proteus Library Files/
|   |-- TEPESP32V1.LIB                                 36.6 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
|   |-- TEPNEMA23.LIB                                  35.3 KB   a part of the project -> LIBRARY folder
|   |-- TEPOLED12864.LIB                              112.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPTB6600.LIB                                  24.6 KB   a part of the project -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPNEMA23.DLL                                 318.5 KB   a model -> MODELS folder
|   |-- TEPNET.DLL                                     3.01 MB   a model -> MODELS folder
|   |-- TEPOLED.DLL                                   342.5 KB   a model -> MODELS folder
|   |-- TEPTB6600.DLL                                 284.5 KB   a model -> MODELS folder
|-- Proteus Simulation/
|   |-- ESP32_Stepper_Profiles.hex                    102.4 KB   the firmware U1 runs
|   |-- ESP32-Stepper-Profiles.pdsprj                  31.6 KB   the project simulation
|   |-- TEPNEMA23.DLL                                 318.5 KB   copy of the model
|   |-- TEPNET.DLL                                     3.01 MB   copy of the model
|   |-- TEPOLED.DLL                                   342.5 KB   copy of the model
|   |-- TEPTB6600.DLL                                 284.5 KB   copy of the model
|-- Arduino Code/
|   |-- ESP32_Stepper_Profiles/ESP32_Stepper_Profiles.ino   12.0 KB   the sketch (source of the .hex)
|-- README.txt                                         ~9.0 KB   this file
Total: 8.28 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
  A stepper motor moves exactly as far as it is told - unless it is told to move faster than its torque allows.
  Then it loses steps, and nothing tells the controller. This ESP32 drives a NEMA 23 through a TB6600 driver with
  four motion profiles and shows why a stepper needs a ramp, and which ramp.
    * U1 ESP32 DEVKIT V1 runs ESP32_Stepper_Profiles.hex on TEP-WiFi at 192.168.1.101.
    * DRV1 a TB6600 driver (TB6600TEP, MICROSTEP 8 = 1600 pulses a turn, CURRENT 2.8 A): PUL+ on D25, DIR+ on D26, ENA+
      on D27, PUL- / DIR- / ENA- on GND (common cathode); VCC on a +24V supply; B- B+ A+ A- straight to the motor.
    * M1 a NEMA 23 stepper motor (NEMA23STEPPERTEP, LOAD 0): its pop-up shows the speed, the position and the lost
      steps - the truth the ESP32 cannot see.
    * OLED1 an SSD1306 128x64 OLED (OLED12864WHITEADVTEP, 0x3C) on D21 / D22: the last move and its speed curve.
    * Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
  The moves (each 10 turns = 16000 pulses, up to 300 RPM = 8000 pulses a second):
    TRAP     a trapezoid: a constant acceleration of 10 turns/s2 up, the cruise, the same down: v = sqrt(v0^2 + 2 a s)
    JUMP     no ramp: the full speed from the first pulse to the last
    STEEP    the trapezoid at 200 turns/s2 (a 25 ms ramp)
    S-CURVE  v^2 rises along a smooth step (3x^2 - 2x^3) of a 1.5 times longer ramp: the acceleration starts and ends at
             zero (no jerk), its peak the same as TRAP's
    BACK     TRAP the other way
  The pulses are timed with micros() against an ideal schedule; the move's time and the latest pulse are measured.
  Its pages:
    /             the dashboard with the links TRAP, JUMP, STEEP, S-CURVE and BACK
    /profile.bmp  the last move's speed curve from the OLED, twice as big        /data   JSON
  Libraries: WiFi and WebServer (part of the ESP32 core), Wire, Adafruit SSD1306 and Adafruit GFX.

TEST STATUS
  Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (each move = 10 turns
  forward at 1/8 step, 16000 pulses, peak 300 RPM; TB6600 at 2.8 A, 24 V):
  - TRAP (10 turns/s2, ramp 1.25 turns): 2.469 s (planned 2.469 s), worst pulse 239 us late; M1 holds 360.0 deg,
    0 lost steps.
  - JUMP (300 RPM from the first pulse): 2.000 s, worst pulse 12 us late; M1 lost 8 full steps (14.4 deg behind).
  - STEEP (200 turns/s2, ramp 0.06 turns): 2.020 s (planned 2.021 s), worst pulse 120 us late; no new lost steps.
  - S-CURVE (ramp 1.87 turns): 3.731 s (planned 3.578 s), worst pulse 364 us late; no new lost steps.
  - 80 N.cm on M1's shaft, then TRAP again: 2.469 s, worst pulse 239 us late; no new lost steps (8 in total, all
    from the JUMP). The TB6600 counted -80000 pulses (5 x 16000); 56.5 s of simulation.

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, TB6600TEP or NEMA23STEPPERTEP to check
     that the parts are there.

RUN THE SIMULATION
  1. Open "Proteus Simulation\ESP32-Stepper-Profiles.pdsprj". Keep ESP32_Stepper_Profiles.hex and the DLL files
     beside it.
  2. Press Play. The TB6600 holds the motor.
  3. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1), press Go, then click TRAP, JUMP, STEEP and
     S-CURVE and watch the lost steps on the NEMA 23's pop-up (M1). Put a load on M1's shaft and try TRAP again.

PROPERTIES USED IN THIS PROJECT
  U1 ESP32 DEVKIT V1           PROGRAM=ESP32_Stepper_Profiles.hex
  DRV1 TB6600TEP               MICROSTEP=8, CURRENT=2.8 (VCC on +24V)
  M1 NEMA23STEPPERTEP          LOAD=0;  OLED1 OLED12864WHITEADVTEP
  PC1, MOB1                    HOMEPAGE=http://192.168.1.101/

TROUBLESHOOTING
  * The motor never turns: the TB6600 needs VCC (+24V) and its PUL- / DIR- / ENA- on GND; ENA+ low = enabled.
  * The motor buzzes but stays put (JUMP): it cannot start at full speed - that is the point; use a ramp.
  * The ESP32's position and the motor's differ: steps were lost; the ESP32 counts pulses, not turns.
  * 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 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.
===============================================================================================================
Advertisement

Development1 release

  1. V1.0Stepper Motion Profiles with ESP32 and TB6600 - 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 de15acd989aa424caa9cdf638cfb98ad.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-Stepper-Profiles-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move TEPESP32V1.LIB, TEPLAPTOP.LIB and TEPMOBILE.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. 3

    Add the simulation model

    Copy TEPNEMA23.DLL, TEPNET.DLL and TEPOLED.DLL and 1 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_Stepper_Profiles.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_Stepper_Profiles.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open ESP32-Stepper-Profiles.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

    Stepper Motion Profiles with ESP32 and TB6600 - 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 Stepper Motion Profiles with ESP32 and TB6600 - 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?

Stepper Motion Profiles with ESP32 and TB6600 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (3.7 MB, 8.3 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, 16b8cd0abd406373f38a683f5e252b45afbb1744feb0fe132dd002085594c1ba. In PowerShell run Get-FileHash "de15acd989aa424caa9cdf638cfb98ad.zip"; on macOS or Linux run shasum -a 256 "de15acd989aa424caa9cdf638cfb98ad.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 · de15acd989aa424caa9cdf638cfb98ad.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

Last 14 days0 downloads
SHA-256 16b8cd0abd406373f38a683f5e252b45afbb1744feb0fe132dd002085594c1ba
DocumentationStepper Motion Profiles with ESP32 and TB6600 - 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.