Project Files of Brushless Gimbal Stabilizer with ESP32 and BNO055 - Proteus Simulation
33485c2975314cd394bf7667bc862cdb.zip

Brushless Gimbal Stabilizer with ESP32 and BNO055 - Proteus Simulation V1.0
Brushless Gimbal Stabilizer with ESP32 and BNO055 - Proteus Simulation V1.0 comes as a ZIP archive of 21 files (4.1 MB, 8.9 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
Brushless-Gimbal-Stabilizer-ESP32-BNO055-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, two SimpleFOC Mini drivers, two 2204 gimbal motors, a BNO055, an SSD1306 OLED, the Laptop and Mobile WiFi Monitors), the Arduino sketch ESP32_Brushless_Gimbal.ino and its HEX, every LIB and DLL and a README.
File Structure
13.3 KB19 KB36.6 KB11.4 KB39.5 KB13.1 KB112.4 KB18.1 KB332 KB303.5 KB3.0 MB342.5 KB294 KB30.8 KB112.7 KB332 KB303.5 KB3.0 MB342.5 KB294 KB10.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Brushless Gimbal Stabilizer with ESP32 and BNO055 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Brushless Gimbal Stabilizer with ESP32 and BNO055 - 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/brushless-gimbal-stabilizer-esp32-bno055-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
SimpleFOC Mini driver:
https://www.theengineeringprojects.com/2026/11/simplefoc-mini-driver-library-for-proteus.html
2204 gimbal motor:
https://www.theengineeringprojects.com/2026/11/2204-gimbal-motor-library-for-proteus.html
BNO055 orientation sensor:
https://www.theengineeringprojects.com/2026/11/bno055-orientation-sensor-library-for-proteus.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-Brushless-Gimbal-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBNO055.LIB 19.0 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPGIMBAL2204.LIB 11.4 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
| |-- TEPSFOCMINI.LIB 18.1 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPBNO055.DLL 332.0 KB a model -> MODELS folder
| |-- TEPGIMBAL2204.DLL 303.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 3.01 MB a model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB a model -> MODELS folder
| |-- TEPSFOCMINI.DLL 294.0 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Brushless_Gimbal.hex 112.7 KB the firmware U1 runs
| |-- ESP32-Brushless-Gimbal.pdsprj 30.8 KB the project simulation
| |-- TEPBNO055.DLL 332.0 KB copy of the model
| |-- TEPGIMBAL2204.DLL 303.5 KB copy of the model
| |-- TEPNET.DLL 3.01 MB copy of the model
| |-- TEPOLED.DLL 342.5 KB copy of the model
| |-- TEPSFOCMINI.DLL 294.0 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Brushless_Gimbal/ESP32_Brushless_Gimbal.ino 13.3 KB the sketch (source of the .hex)
|-- README.txt ~10.7 KB this file
Total: 8.92 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A two-axis camera gimbal: the camera stays level while the hand that holds it tilts and shakes. An ESP32 reads a
BNO055 on the handle and turns two brushless gimbal motors (roll and pitch) the other way by the same angle, each
through a SimpleFOC Mini driver with open-loop field-oriented drive.
* U1 ESP32 DEVKIT V1 runs ESP32_Brushless_Gimbal.hex on TEP-WiFi at 192.168.1.101.
* U2 / U3 SimpleFOC Mini drivers (SIMPLEFOCMINITEP, DRV8313) for roll / pitch: IN1 / IN2 / IN3 = D25 / D26 / D27
(roll) and D32 / D33 / D14 (pitch), EN of both = D13; V+ on +12V; M1 / M2 / M3 to the motor's A / B / C.
* M1 / M2 2204 260KV gimbal motors (GIMBAL2204TEP, 7 pole pairs, LOAD 0.002 N.m, INERTIA 30 g.cm2): roll / pitch.
* U4 the BNO055 on the handle (ORIENTBNO055TEP, 0x28, PROFILE DEMO - a turn to 90 from 2 s, rolled 30 at 6.5 s,
pitched 20 at 8.5 s, level at 11 s, a shake at 13 s, a turn to 45 at 15.5 s; the pop-up's chips: Level, Turn 90,
Roll 30, Pitch 20, Shake): VIN on VCC, SDA D21, SCL D22.
* OLED1 an SSD1306 128x64 OLED (OLED12864WHITEADVTEP, 0x3C) on the same I2C bus, VCC +3.3V.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
What the sketch does:
the BNO055 CHIP_ID 0xA0, OPR_MODE (0x3D) = 0x0C: NDOF, the chip's own fusion of its accelerometer, gyroscope
and magnetometer; the Euler angles from 0x1A (heading, roll, pitch; 16 LSB a degree) every 10 ms
open loop the field's electrical angle = 7 x the wanted shaft angle; each phase gets 6 V + Vq sin(angle - 0 /
120 / 240 deg) from a 256-step sine table as a 10-bit duty at 20 kHz; Vq = 2 V: about 0.5 A
stabilizing motor = camera target - handle angle, for roll and pitch, 500 times a second; at most 400 deg/s (a
faster field would leave the magnets behind: a pole slip); the camera error = what the slew limit
has not caught up with yet
the limits open loop has no sensor on the motor: a load larger than the torque at 90 deg of load angle makes
the magnets slip a pole pair (51.4 deg) and the ESP32 does not know - closed-loop FOC adds an encoder
the events STEADY (the handle still at a new attitude: the handle, the motors, the camera) and, each second the
handle moved, its swing and the largest camera error
the OLED redrawn twice a second, only while the handle moves slowly (a frame stalls the loop 25 ms)
Its pages:
/ the dashboard with the links Refresh, LEVEL, DOWN 30, UP 15, OFF and ON
/data JSON: the handle, the motors, the camera, the tilt, the error, the calibration
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:
- 0.81 s "BNO055 found: CHIP_ID 0xA0 - NDOF fusion"; 1.22 s the motors aligned (0.47 A in each, up to 15.0 mN.m).
- The turn to heading 90: roll and pitch stayed level, the motors at 0 (no yaw motor: the camera turns with it).
- Rolled 30 and pitched 20: during the moves the camera stayed within 0.7 - 1.6 deg; 10.73 s STEADY: handle roll
29.9, pitch 20.1 - motors roll -30.1, pitch -20.1: the camera at roll -0.1, pitch 0.1.
- The shake (mostly vibration): the angles swung 1.6 deg, the camera within 0.6 deg.
- DOWN 30 on the dashboard, then the handle rolled 30: 24.62 s motors roll -30.1, pitch -30.1: the camera at roll
0.1, pitch -30.2.
- A 25 mN.m brake on the pitch motor (more than the field's 15 mN.m), then LEVEL: one pole slip; with the brake gone
the shaft held at 295.6 deg, a pole pair (51.4 deg) from where it started - the ESP32 still showed the camera level.
- OFF: EN low, both drivers DISABLED, no current. 35.5 s of simulation in 456 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 or GIMBAL2204TEP to check that the parts
are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Brushless-Gimbal.pdsprj". Keep ESP32_Brushless_Gimbal.hex and the DLL files
beside it.
2. Press Play. The handle turns, rolls 30, pitches 20, levels and shakes by itself (the BNO055's DEMO); watch the
motors turn against it on the OLED and on the motors' pop-ups.
3. Open the Laptop or the Mobile WiFi Monitor (Go): DOWN 30 / UP 15 / LEVEL aim the camera, OFF / ON switch the
motors. Click U4 for the BNO055's pop-up and tilt the handle with its chips.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Brushless_Gimbal.hex
U2, U3 SIMPLEFOCMINITEP (defaults)
M1, M2 GIMBAL2204TEP LOAD=0.002, INERTIA=30
U4 ORIENTBNO055TEP PROFILE=DEMO, ADDRESS=0x28
OLED1 OLED12864WHITEADVTEP; PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* "BNO055 not found at 0x28": SDA / SCL on D21 / D22, VIN on VCC; the chip needs 650 ms after power-up.
* A motor buzzes but does not hold: EN (D13) low, or V+ missing; Vq too small for the load.
* The camera turns the wrong way: the handle's axes and the motors' directions differ - swap two of the motor's
wires (or change the sign of the target in stepAxis).
* The camera ends up 51 deg off after a knock: a pole slip - the load needed more torque than the field gives; raise
Vq (more current, more heat) or balance the camera.
* The OLED stays dark: SDA / SCL on D21 / D22, VCC on +3.3V. It is redrawn only while the handle moves slowly.
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; BNO055
of Bosch Sensortec; the SimpleFOC Mini is an open-source board of the SimpleFOC project.
This project is not made or endorsed by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Brushless Gimbal Stabilizer with ESP32 and BNO055 - 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 33485c2975314cd394bf7667bc862cdb.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-Brushless-Gimbal-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBNO055.LIB, TEPESP32V1.LIB and TEPGIMBAL2204.LIB and 4 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 TEPBNO055.DLL, TEPGIMBAL2204.DLL and TEPNET.DLL and 2 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_Brushless_Gimbal.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_Brushless_Gimbal.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Brushless-Gimbal.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
Brushless Gimbal Stabilizer with ESP32 and BNO055 - 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 Brushless Gimbal Stabilizer with ESP32 and BNO055 - 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?
Brushless Gimbal Stabilizer with ESP32 and BNO055 - Proteus Simulation V1.0 comes as a ZIP archive of 21 files (4.1 MB, 8.9 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 21 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, 918a5ac11e95d5a8d759126056b3448f2f54cf88ce77aa530c1eaf0d09945429. In PowerShell run Get-FileHash "33485c2975314cd394bf7667bc862cdb.zip"; on macOS or Linux run shasum -a 256 "33485c2975314cd394bf7667bc862cdb.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
- 30 Nov 2026Uploaded at
918a5ac11e95d5a8d759126056b3448f2f54cf88ce77aa530c1eaf0d09945429






















Comments
0