Project Files of 433 MHz Rolling-Code Garage Door Opener on ESP32 (Proteus Simulation)
aa7ffe0086474c1f9e3b7ebaf3e3b37e.zip

433 MHz Rolling-Code Garage Door Opener on ESP32 - Proteus Simulation V1.0
433 MHz Rolling-Code Garage Door Opener on ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 32 files (5.0 MB, 11.1 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
ESP32-Garage-Door-Opener-433MHz-Rolling-Code-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (two ESP32 DevKit V1 boards, a 433 MHz FS1000A transmitter and XY-MK-5V receiver, a BTS7960 driver, a 12 V linear actuator, an FC-51 beam, the Laptop and Mobile WiFi Monitors), both Arduino sketches and their HEX files, every LIB and DLL and a README.
File Structure
9.4 KB3.3 KB74.8 KB20.7 KB36.6 KB229.3 KB39.5 KB17 KB13.1 KB191.1 KB17.7 KB171.9 KB291 KB274 KB377 KB287.5 KB3.0 MB313 KB290.5 KB305.5 KB44.8 KB73.8 KB29.5 KB291 KB274 KB377 KB287.5 KB3.0 MB313 KB290.5 KB305.5 KB12.8 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in 433 MHz Rolling-Code Garage Door Opener on ESP32 (Proteus Simulation). Open an image for its full size.












README
===============================================================================================================
433 MHz Rolling-Code Garage Door Opener on 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/esp32-garage-door-opener-433mhz-rolling-code-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
433 MHz RF modules (FS1000A transmitter, XY-MK-5V receiver):
https://www.theengineeringprojects.com/2026/10/433mhz-rf-module-library-for-proteus-v1-0.html
BTS7960 motor driver:
https://www.theengineeringprojects.com/2026/10/bts7960-motor-driver-library-for-proteus-v1-0.html
12V linear actuator:
https://www.theengineeringprojects.com/2026/10/12v-linear-actuator-library-for-proteus-v1-0.html
FC-51 IR obstacle sensor:
https://www.theengineeringprojects.com/2026/10/infrared-sensor-library-for-proteus-v2-0.html
SMD LED:
https://www.theengineeringprojects.com/2026/11/smd-led-library-for-proteus.html
SMD resistor:
https://www.theengineeringprojects.com/2026/11/smd-resistor-library-for-proteus.html
Push button:
https://www.theengineeringprojects.com/2026/11/push-button-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-Garage-Door-Opener-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBTS7960.LIB 74.8 KB a part of the project -> LIBRARY folder
| |-- TEPBUTTON.LIB 20.7 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPFC51.LIB 229.3 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLINACT.LIB 17.0 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPRF433.LIB 191.1 KB a part of the project -> LIBRARY folder
| |-- TEPSMDLED.LIB 17.7 KB a part of the project -> LIBRARY folder
| |-- TEPSMDRES.LIB 171.9 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPBTS7960.DLL 291.0 KB a model -> MODELS folder
| |-- TEPBUTTON.DLL 274.0 KB a model -> MODELS folder
| |-- TEPFC51.DLL 377.0 KB a model -> MODELS folder
| |-- TEPLINACT.DLL 287.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.98 MB a model -> MODELS folder
| |-- TEPRF433.DLL 313.0 KB a model -> MODELS folder
| |-- TEPSMDLED.DLL 290.5 KB a model -> MODELS folder
| |-- TEPSMDRES.DLL 305.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Garage_Opener.hex 73.8 KB the firmware
| |-- ESP32_Garage_Remote.hex 29.5 KB the firmware
| |-- ESP32-Garage-Door-Opener.pdsprj 44.8 KB the project simulation
| |-- TEPBTS7960.DLL 291.0 KB copy of the model
| |-- TEPBUTTON.DLL 274.0 KB copy of the model
| |-- TEPFC51.DLL 377.0 KB copy of the model
| |-- TEPLINACT.DLL 287.5 KB copy of the model
| |-- TEPNET.DLL 2.98 MB copy of the model
| |-- TEPRF433.DLL 313.0 KB copy of the model
| |-- TEPSMDLED.DLL 290.5 KB copy of the model
| |-- TEPSMDRES.DLL 305.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Garage_Opener/ESP32_Garage_Opener.ino 9.4 KB the sketch (source of the .hex)
| |-- ESP32_Garage_Remote/ESP32_Garage_Remote.ino 3.3 KB the sketch (source of the .hex)
|-- README.txt ~12.0 KB this file
Total: 11.10 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A garage door opener and its key fob, two ESP32 boards talking over 433 MHz with a ROLLING CODE: every press
sends a new code, so a code someone records and plays back opens nothing. The opener drives the door, finds its
ends and any obstacle from the motor current, watches a safety beam, and has a dashboard on a laptop or a phone.
THE OPENER
* U1 ESP32 DEVKIT V1 runs ESP32_Garage_Opener.hex on TEP-WiFi at 192.168.1.101 (port 80).
* U2 an XY-MK-5V 433 MHz receiver (XYMK5VADVTEP, the pop-up panel): DATA to D27.
* DRV1 a BTS7960 (IBT-2) H-bridge (BTS7960ADVTEP, the pop-up panel) on +12V: RPWM D25 (close), LPWM D26 (open),
R_EN + L_EN D33; the current sense L_IS (opening) to D34 and R_IS (closing) to D35, each with 680 ohm to GND
(R1 / R2): I = V(IS) / 680 x 8500.
* M1 the door, a 12 V linear actuator (LINACT12VTEP, 50 mm, built-in limit switches; START 50, LOAD 250 N): a
scale model of the door's drive - the rod out = the door down (CLOSED), the rod in = the door up (OPEN).
* U3 an FC-51 IR sensor across the doorway (FC51ADVTEP): OUT to D14, LOW when something is in the beam.
* D1 the warning lamp, an amber SMD LED (LEDSMDAMBERTEP) on D4 through R3, 220 ohm (RESISTORSMD1206TEP).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
THE REMOTE
* U4 ESP32 DEVKIT V1 runs ESP32_Garage_Remote.hex (no Wi-Fi).
* U5 an FS1000A 433 MHz transmitter (FS1000AADVTEP, the pop-up panel): DATA from D27.
* SW1 BUTTON (D25) and SW2 REPLAY (D26), push buttons (BUTTONGREENTEP) from the remote's 3.3 V with 10 kohm
pull-downs (R4 / R5). REPLAY sends the last code again, word for word - what a "code grabber" would do.
In Proteus the 433 MHz modules' VCC and the BTS7960's VCC are on the default power rail: their models read the
supply as a logic level. On real boards: the XY-MK-5V and the BTS7960's logic on 5 V, the FS1000A on 3.3 - 12 V.
The rules (at the top of the sketches):
* a code is 32 bits: a 12-bit counter, one up for every press, and a 20-bit check made from the counter and a
secret key shared by the remote and the opener; sent with rc-switch, protocol 1, 6 times per press;
* the opener accepts a code only with the right check AND a counter 1 - 16 ahead of the last accepted one (presses
made out of range are allowed for); the same counter again = a replay, refused; the same code again within
1.5 s = the next frame of the same press;
* one button: CLOSED -> opens, OPEN -> closes, moving -> stops, stopped -> goes the other way;
* the motor current from the IS pin: under 0.1 A for 200 ms = the actuator's limit switch cut the motor (the door
reached its end); over 2 A for 150 ms = an obstacle - a closing door opens again, an opening door stops; the
first 300 ms of each move are ignored (the start-up inrush); a move longer than 8 s = a fault;
* something in the beam while the door closes: it opens again; the warning lamp flashes while the door moves.
The opener's pages:
/ the dashboard: the door, the motor current, the codes accepted / refused, the reversals, the events
/button the same as the remote's button /open /close /stop /data JSON
Library: rc-switch (sui77, Library Manager); WiFi and WebServer are part of the ESP32 core.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketches' times):
- The door CLOSED: the rod out at 50.0 mm holding 250 N with no drive (the screw locks); 2.3 s "ready".
- BUTTON, counter 1: 13.4 s "code 0x001CFFD5 accepted: counter 1", OPENING; 0.77 A (L_IS 0.062 V), a 9.6 A start
peak ignored; 17.8 s "OPEN - the limit switch cut the motor (4.4 s, up to 0.78 A)". The receiver heard all six
frames (32 bits, protocol 1, 353 us); the transmitter sent them in 331 ms.
- REPLAY of counter 1: 20.0 s "code 0x001CFFD5 refused: counter 1 was used before (a replay)".
- BUTTON, counter 2: closing; an object at 10 cm in the beam: 23.0 s "something in the beam - the door opens again".
- CLOSE from the laptop, 1000 N on the rod: 27.7 s "obstacle: 3.00 A - the door opens again".
- The receiver 150 m away: counters 3 and 4 never arrived; back at 10 m, 39.0 s "code 0x0053150A accepted:
counter 5 (2 presses missed)"; 43.7 s "CLOSED - the limit switch cut the motor (4.7 s, up to 1.31 A)".
- 3 codes accepted, 1 refused, 2 reversals. 46 s of simulation in about 10 minutes.
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, 433 or BTS7960 to check that the parts
are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Garage-Door-Opener.pdsprj". Keep both HEX files and the DLL files beside it.
2. Press Play. The door is CLOSED. Press the remote's BUTTON (SW1, its pop-up: Press): the door opens.
3. Press REPLAY (SW2): the opener refuses the old code.
4. Press BUTTON again and, while the door closes, move the FC-51's object close (U3's pop-up): it opens again.
5. On the actuator's pop-up (M1) choose 1000 N while the door closes: an obstacle - it opens again.
6. On the receiver's pop-up (U2) press DIST + three times (80 m): the remote's presses get lost; DIST - three times
and press BUTTON: accepted, with the missed presses allowed for.
7. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: BUTTON, OPEN, CLOSE.
Your own sketches: compile them, export the compiled binaries and set U1's / U4's PROGRAM to the new files.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Garage_Opener.hex, AUTOOPEN=YES (TEP-WiFi, 192.168.1.101)
U4 ESP32 DEVKIT V1 PROGRAM=ESP32_Garage_Remote.hex, AUTOOPEN=YES
M1 LINACT12VTEP START=50 (the rod out: CLOSED), LOAD=250 (the door's weight, N)
U2 / U5 the receiver 10 m from the transmitter (its pop-up: DIST - / +)
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* Nothing is received: DATA must be on D27 at both ends; check the receiver's distance (its pop-up).
* Every code is refused "the check does not match": SECRET must be the same in both sketches.
* Every code is refused "too far ahead": the remote was pressed more than 16 times out of range - reset the
opener (it starts again from counter 0) or raise WINDOW.
* The door never stops at its ends: the IS pins must be on D34 / D35 with 680 ohm to GND.
* Obstacles are not found: raise the load (M1's pop-up) above about 800 N, or lower JAM_A.
LICENCES
* The project, the sketches, 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.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems, the
BTS7960 a driver of Infineon. The rolling code here is a teaching scheme, not KeeLoq or any product's code.
This project is not made or endorsed by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0433 MHz Rolling-Code Garage Door Opener on 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 aa7ffe0086474c1f9e3b7ebaf3e3b37e.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-Garage-Door-Opener-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBTS7960.LIB, TEPBUTTON.LIB and TEPESP32V1.LIB and 7 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 TEPBTS7960.DLL, TEPBUTTON.DLL and TEPFC51.DLL and 5 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_Garage_Opener.ino and ESP32_Garage_Remote.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_Garage_Opener.hex and ESP32_Garage_Remote.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Garage-Door-Opener.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
433 MHz Rolling-Code Garage Door Opener on 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 433 MHz Rolling-Code Garage Door Opener on 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?
433 MHz Rolling-Code Garage Door Opener on ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 32 files (5.0 MB, 11.1 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 32 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, ab83753fa53157852f7831aefdeb70742723a628507b645021ebbc476bef46da. In PowerShell run Get-FileHash "aa7ffe0086474c1f9e3b7ebaf3e3b37e.zip"; on macOS or Linux run shasum -a 256 "aa7ffe0086474c1f9e3b7ebaf3e3b37e.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
- 22 Nov 2026Uploaded at
ab83753fa53157852f7831aefdeb70742723a628507b645021ebbc476bef46da






















Comments
0