
ESP32-Gimbal
Visaging/ESP32-Gimbal
A high-performance, open-source 3-axis smartphone gimbal built from scratch using a custom PCB and the SimpleFOC library. It features real-time stabilization, native USB-C programming, and custom motion modes.

Two-axis motorised GoPro mount with physical buttons, BLE camera control, and a built-in HTTPS web UI for live HDMI preview and gallery access. ESP32-S3 / SimpleFOC.
Gimbal driver board is an open-source printed circuit board by PA-33, from the PA-33/gopro-control-station repository on GitHub, published under the MIT licence. It is a 2-layer board of 52 × 56 mm with 71 parts on 83 nets, routed with 719 tracks and 131 vias.
It is built around the ESP32-S3-WROOM-1-N8, DRV8313PWP and LM2596S-3.3, with the PCF8574T, USBLC6-2SC6 and 1N5819HW-7-F-01 among its other parts. Its parts include 21 capacitors, 21 resistors, 10 connectors, 8 ICs and 4 diodes. It belongs with the ESP32 boards of this library.
A complete remote control station for a GoPro Hero camera.

The system combines a two-axis motorised mount (so the camera can be aimed without touching it) with full remote control of the camera itself (shutter, mode, gallery, live HDMI preview). Everything is driven by a single ESP32-S3 board running closed-loop FOC for the motors, BLE for the camera commands, and an HTTPS web server for the user interface.
The user interacts with the system through two parallel channels:
gopro-control-station/
├── platformio.ini PlatformIO build configuration
├── README.md
├── LICENSE
│
├── src/ Firmware sources (Arduino + ESP-IDF)
│ ├── bridge_main.cpp setup() / loop() / status LEDs
│ ├── bridge_foc.cpp/.h motor control, buttons, calibration
│ ├── bridge_current.cpp/.h current sensing + stall detection
│ ├── bridge_ble.cpp/.h NimBLE client (OpenGoPro)
│ ├── bridge_wifi.cpp/.h Wi-Fi AP + STA + watchdog
│ ├── bridge_https.cpp/.h TLS web server + REST proxy
│ ├── bridge_server.cpp/.h plain HTTP (cert download only)
│ ├── bridge_config.cpp/.h persistent configuration (NVS)
│ ├── bridge_led.h LED constants
│ └── ssl_cert.h embedded TLS certificate (auto-generated)
│
├── data/
│ └── index.html single-page web UI (served from LittleFS)
│
├── certs/ TLS certificate + regeneration toolchain
│ ├── bridge_cert.pem
│ ├── bridge_key.pem
│ ├── openssl.cnf# Firmware
pio run -e esp32-s3-bridge -t upload
# Web UI (LittleFS image)
pio run -e esp32-s3-bridge -t uploadfs
# Watch the boot log
pio device monitor -e esp32-s3-bridgeA clean first boot prints, in order: PCF8574 ready, FOC init OK x2,
Wi-Fi AP up, BLE connected to the camera, HTTPS server started, Wi-Fi
STA connected to the GoPro. See docs/repport.tex §5.5 for the
reference serial log.
GoPro-Bridge (default password gopro1234).https://192.168.4.1 in a browser.No source edit is required. After the first boot, go to the Config tab in the web UI, replace the GoPro Wi-Fi SSID and password with the ones printed on your camera (Connections / Connect Device / GoPro App), Save, and reboot.
docs/mode_emploi.tex — end-user manual (French). Buttons, LEDs,
web interface, calibration procedure.hardware/cad/ — CAD sources and exports for the mechanical
parts. Print settings and assembly order are documented in §3 of the
report.hardware/kicad/ — full electrical schematic and PCB project. The pin
assignments are also reproduced in §4 of the report and are
hard-coded in the firmware (see src/bridge_foc.cpp).The repository ships with a self-signed development certificate that works out of the box. For any deployment where the local network is not trusted, regenerate it:
cd certs
generate.bat # Windows
# POSIX equivalent: see docs/repport.tex Appendix DThen re-flash the firmware. Every client that already trusted the previous certificate has to install the new one (web UI, Config tab).
esp32-s3-devkitc-1), 8 MB flash, no PSRAM.This project is released under the MIT License. You can use, modify and redistribute it freely, including for commercial purposes, provided that the copyright notice and the license text are kept.
Built on top of SimpleFOC,
NimBLE-Arduino,
ESPAsyncWebServer,
and the pioarduino fork
of platform-espressif32. Camera control follows the
OpenGoPro specification.
This project was developed by Pierre Adamini and Florian Klein as part of the Assistive Technology Challenge at EPFL (2026).
| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3, R4, R5, R6, R7, R8, R9, R11, R13, R17, R18, R19, R21 |
| 12 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C4, C5, C8, C9, C11, C12, C13, C18, C19, C21, C22 |
| 2 | 0.05 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R10, R20 |
| 2 | 10nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C6, C16 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3 |
| 2 | 470nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C7, C17 |
| 2 | 470uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C14, C15 |
| 2 | 5k1 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2 |
| 2 | DRV8313PWP | DRV8313PWP:SOP65P640X120-29N | U3, U7 |
| 2 | INA180A1 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U4, U8 |
| 2 | Motor | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J2, J10 |
| 2 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2 |
| 2 | R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R14, R15 |
| 2 | SW_MEC_5G | bouton_smd:bouton_smd_kit_botanique | SW1, SW2 |
| 1 | 100 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R12 |
| 1 | 100uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C10 |
| 1 | 1N5819HW-7-F | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1 |
| 1 | 1N5819WS | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D2 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R16 |
| 1 | 33uH | Inductor_SMD:L_1008_2520Metric_Pad1.43x2.20mm_HandSolder | L1 |
| 1 | 3v3 out | Connector_Wire:SolderWire-0.5sqmm_1x02_P4.8mm_D0.9mm_OD2.3mm | J9 |
| 1 | AO3400A | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q1 |
| 1 | Bat in | Connector_Wire:SolderWire-1sqmm_1x02_P7.8mm_D1.4mm_OD3.9mm | J8 |
| 1 | Conn_01x09_Socket | Connector_JST:JST_GH_BM09B-GHS-TBT_1x09-1MP_P1.25mm_Vertical | J4 |
| 1 | ESP32-S3-WROOM-1 | PCM_Espressif:ESP32-S3-WROOM-1_homemade | U2 |
| 1 | Encoder1 | Connector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_Vertical | J3 |
| 1 | Encoder2 | Connector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_Vertical | J5 |
| 1 | I2C | Connector_JST:JST_SH_BM04B-SRSS-TB_1x04-1MP_P1.00mm_Vertical | J6 |
| 1 | LED | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J7 |
| 1 | LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4 |
| 1 | LM2596S-3.3 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U6 |
| 1 | PCF8574T | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U5 |
| 1 | PS1240P02BT | PS1240P02BT:XDCR_PS1240P02BT | LS1 |
| 1 | SS34 | Diode_SMD:D_SMA_Handsoldering | D3 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U1 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |

Visaging/ESP32-Gimbal
A high-performance, open-source 3-axis smartphone gimbal built from scratch using a custom PCB and the SimpleFOC library. It features real-time stabilization, native USB-C programming, and custom motion modes.


maximus64/opendiag-hardware
OpenDIAG - Open Source OBD2 Interface (Hardware)



JohnanLuca02/BYTE_Electronics
Repository for everything concerning the electronics (PCB, Electrical schemes, BOM, ...) of the robot dog project of the AiTeam called BYTE.


tmb5932/fixed-wing-drone
The basics needed to allow a RC plane to be turned autonomous on signal.
It measures 52 × 56 mm and has 2 copper layers, 1.6 mm thick.
71 parts, built around the ESP32-S3-WROOM-1-N8, DRV8313PWP, LM2596S-3.3 and PCF8574T. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the PA-33/gopro-control-station repository on GitHub, at the commit this page was made from: the board is hardware/kicad/gimbal_driver_board/gimbal_driver_board.kicad_pcb and its schematic hardware/kicad/gimbal_driver_board/driver1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).