Skip to the content
2 layers41.9 × 38.3 mmGimbal, the printed circuit board in 3D

The connection from 5v to vin is optional since the power to arduino is also delivered via cable that sends the commands to arduino

Size
41.9 × 38.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
53
Pads
129
Tracks, vias
243, 20
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
23 May 2025
Updated
20 Jul 2025

Overview

Gimbal is an open-source printed circuit board by firiusz123, from the firiusz123/Gimbal_3DOF repository on GitHub. It is a 2-layer board of 41.9 × 38.3 mm with 30 parts on 53 nets, routed with 243 tracks and 20 vias.

It is built around the SN74LV1T34DBV. Its parts include 14 capacitors, 4 ICs, 3 connectors, 2 resistors and 2 switches. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

Gimbal_3DOF


📖 Project Description

Gimbal 3DOF is a three-axis camera stabilization system (pitch, roll, yaw) designed for integration with drones and small aerial platforms. The goal of the project was to create a modular, lightweight, energy-efficient gimball, for the Project classes of AGH university of science and technology course , Mechatronic Design . The system uses an IMU and servos, controlled by an STM32 microcontroller in the custom PCB , and by Arduino Mega within the prototype , both running with FreeRTOS. A Python-based graphical user interface (GUI) is also provided for testing and interaction. The working model present on the provided photos is a prototype that doesnt have the custom PCB that has been designed


⚙️ Features

  • 3-axis stabilization: Pitch, Roll, and Yaw
  • Supports cameras up to 200 g
  • Compact size: 30 × 10 × 15 cm
  • Lightweight design: ~200 g
  • Power consumption: ~900 mA estimated for worst case scenario
  • UART-based communication
  • Rubber-based vibration damping system
  • Python GUI for testing and position control
  • FreeRTOS-based multithreaded control system
  • Optimized weight distribution and center of mass

🧾 Requirements

Hardware with custom PCB

ComponentModel / Notes
MicrocontrollerSTM32G431CBT6
IMU SensorIMU 9DOF v2.0
ServosFeetech FS510R ×3
Oscillator8 MHz WE-XTAL
PCBCustom PCB or Arduino prototype
Logic level shifters2× SN74LV1T34
Vibration dampersSilicone-based, hand-cut

Hardware of Prototype

ComponentModel / Notes
BoardArduino Mega
IMU SensorIMU 9DOF v2.0
ServosFeetech FS510R ×3
LM78055v Linear Stabilizator
7.4 v lipoa small lipo battery 2s

Connection scheme for the prototype

🧭 Servo Motor Pinout
Servo AxisSignal Pin (Arduino)VCC (5 V from LM7805)GND (Common Ground)
RollD9LM7805 OUTLM7805 GND
PitchD10LM7805 OUTLM7805 GND
YawD2LM7805 OUTLM7805 GND

⚡ Power Supply Setup (LM7805)

LM7805 PinConnects To
IN7.4 V battery (+)
OUT- 5 V to all Servo VCC pins
- 5 V to Arduino VIN (optional)
GND- Battery (–)
- All Servo GND pins
- Arduino GND

The connection from 5v to vin is optional since the power to arduino is also delivered via cable that sends the commands to arduino

Software

  • FreeRTOS (embedded)
  • Python GUI for control and testing
  • Source code (C / Arduino)

💻 Usage

  1. Connect all components using the provided PCB or wire manually according to the schematic.
  2. Upload the firmware from the Arduino_example\GimbalControl1 directory to the Arduino.
  3. Launch the GUI from the python_gui directory for testing and IMU visualization.
  4. The gimbal continuously reads IMU data and stabilizes the camera accordingly.
  5. You can also send specific positions for the gimbal to hold using the GUI.

🧩 Hardware & Software

Hardware:

  • FS510R servos provide accurate positioning with low power consumption.
  • IMU 9DOF v2.0 offers compact size, low power, and acceptable precision.
  • Custom PCB integrates all components for clean wiring and scalability.
  • Silicone dampers mitigate mechanical vibrations from drone operation.

Software:

  • Based on FreeRTOS – enables independent control of each axis.
  • Python GUI allows sending positions, reading IMU data, and system testing.
  • All code is available in the Arduino_example and python_gui directories.

📈 Simulations

The project included modal simulations (FEM) using Siemens NX. These simulations helped with:

  • Identifying modal frequencies (especially around 700 Hz) and ensuring the control loop (100 Hz) avoids them.
  • Optimizing the gimbal’s mass distribution and weight balancing.
  • Evaluating dynamic response under two critical configurations (extreme pitch/yaw).

Simulation results guided mechanical redesigns and ensured robustness in real-world operation.


🖼️ Prototype Images

✅ Final prototype mounted on a drone:

Gimbal mounted on drone Gimbal mounted on drone Gimbal mounted on drone

🛠️ Assembled components:

Gimbal parts

🖥️ GUI for testing and visualization:

GUI


Parts

30
QtyValueFootprintReferences
3100nFCapacitor_SMD:C_0805_2012MetricC4, C5, C6
3CCapacitor_SMD:C_0805_2012MetricC1, C2, C3
3Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalM1, M2, M3
210 pFCapacitor_SMD:C_0805_2012MetricC12, C13
2SN74LV1T34DBVPackage_TO_SOT_SMD:SOT-23-5U3, U4
1+1 μFCapacitor_SMD:C_0805_2012MetricC11
11 μFCapacitor_SMD:C_0805_2012MetricC9
11.25 KΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
110 nFCapacitor_SMD:C_0805_2012MetricC8
1100 nFCapacitor_SMD:C_0805_2012MetricC10
14.7 μFCapacitor_SMD:C_0805_2012MetricC7
145ΩResistor_SMD:R_0805_2012MetricR1
18 MHzCrystal:Crystal_SMD_0603-2Pin_6.0x3.5mmY1
1CCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC14
1Conn_01x04_Pin_IMUConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1Conn_01x04_Pin_input_cableConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1DDiode_SMD:D_0805_2012MetricD1
1LT1761-3.3Package_TO_SOT_SMD:TSOT-23-5U2
1STM32G431CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SWDConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1SW_PushButton_Switch_SMD:SW_SPST_B3U-1000PSW3
1SW_Slide_DPDTButton_Switch_THT:SW_CK_JS202011CQN_DPDT_StraightSW1

Similar boards

  • 2 layers96.1 × 45.2 mmPicoFightingBoard, the printed circuit board in 3D

    PicoFightingBoard

    FeralAI/PicoFightingBoard

    Open source PCB for arcade sticks using Raspberry Pi Pico.

    25 parts283
  • 2 layers51.4 × 61 mmWifi gb cart, the printed circuit board in 3D

    Wifi gb cart

    Staacks/wifi-game-boy-cartridge

    A WiFi cartridge for the original Game Boy.

    38 parts242
  • 4 layers56.5 × 65 mmTv070hat, the printed circuit board in 3D

    Tv070hat

    ScandentLLC/tv070wxm-hat

    Raspberry Pi 5 HAT for Steam Deck LCD

    54 parts108CC0-1.0
  • 4 layers106 × 63.5 mmBrineomatic, the printed circuit board in 3D

    Brineomatic

    hoeken/brineomatic

    Open Source Watermaker Controller.

    323 parts47LGPL-2.1
  • 4 layers81.2 × 81.2 mmView base, the printed circuit board in 3D

    View base

    SeedLabs-it/smartknob-hardware

    PCB and CAD files for smartknob devkit

    259 parts47
  • 2 layers100.8 × 40 mmKM217-WiFi, the printed circuit board in 3D

    KM217-WiFi

    the78mole/km271-wifi

    A piece of hardware to be installed in a Buderus Logamatic 2107 to provide control and status over WiFi

    120 parts44
  • 4 layers277.2 × 107.5 mmKatia, the printed circuit board in 3D

    Katia

    ikajdan/katia

    A split keyboard with 6 by 3 column staggered keys and 3 thumb keys, based on the Crkbrd design

    230 parts33CERN-OHL-P-2.0
  • 4 layers132 × 84.5 mmHamodule, the printed circuit board in 3D

    Hamodule

    crgarcia12/electronics-homeassistant-lightscontroll

    A smart lighting controller PCB that integrates seamlessly with ESPHome and Home Assistant while maintaining full compatibility with traditional mechanical switches.

    207 parts28

Questions

How big is the Gimbal PCB?

It measures 41.9 × 38.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gimbal use?

30 parts, built around the SN74LV1T34DBV. 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.

Where can I download the Gimbal KiCad files?

From the firiusz123/Gimbal_3DOF repository on GitHub, at the commit this page was made from: the board is kicad_gimbal_schematics/gimbal/gimbal.kicad_pcb and its schematic kicad_gimbal_schematics/gimbal/gimbal.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gimbal design in my own project?

Its repository states no licence, so its author keeps all rights: ask firiusz123 before reusing the design.