Close
0%
0%

Bino Pi and Gimble

A 2-axis gimbal (yaw, pitch) that holds two Raspberry Pi HQ cameras side-by-side with focusing motors controlled by an STM32 MCU and Pi 5.

Similar projects worth following
The Raspberry Pi 5 has two camera inputs, so why not connect HQ cameras with zoom lenses and use them for binocular vision? This project aims to maximize the abilities of the Pi 5 and explore hardware development with an STM32F103C8T6.

The mechanical design has been modified from isaac879's DSLR Camera Slider for use with two HQ cameras. The gimble motor driver board is custom designed using KiCAD.

References, Other works

DSLR Camera Slider (Stepper Motor Driven)
https://www.thingiverse.com/thing:4512714
Created by isaac879, July 1st, 2020
Creative Commons - Attribution - Non-Commercial

28BYJ-48 Stepper Motor
https://grabcad.com/library/28byj-48-stepper-motor-7
Created by Automated Neurotic, Jan 7th, 2024
GrabCAD

Raspberry Pi HQ Camera
https://grabcad.com/library/raspberry-pi-hq-camera-1
Created by Yarsh Turkar, May 1st, 2020
GrabCAD

Limit switch SPDT sim roller
https://grabcad.com/library/limit-switch-spdt-sim-roller-1
Created by Damien Sorel, January 7th, 2024
GrabCAD

NEMA 17 Stepper Motor 23mm
https://grabcad.com/library/nema-17-stepper-motor-23mm-1/details?folder_id=14122235
Created by Jorge Omar , Ferreyra Libano, May 10th, 2025
GrabCAD

A4988 Stepper Driver - With Pins & Socketed
https://grabcad.com/library/a4988-stepper-driver-with-pins-socketed-1
Created by Scott Mudge, August 15th, 2023
GrabCAD

Bino_Pi_Reference_Sheet.pdf

Adobe Portable Document Format - 519.44 kB - 01/02/2026 at 17:57

Preview

Bino_Pi_Schematic.pdf

Adobe Portable Document Format - 211.50 kB - 01/02/2026 at 17:57

Preview

View all 7 components

  • Project Status 3

    scott3 hours ago 0 comments

    Updates since 27 AUG 2025

    - replaced J8 and J9 (LEFT_ENABLE and RIGHT_ENABLE) with jumpers
    - changed SW1 symbol and footprint
    - changed USB Micro symbol and footprint
    - added ESD protection to micro USB
    - replaced boot switch to boot button
    - added crystal capacitor calculations
    - added grounded mounting holes
    - changed all 0402 to 0603 for hand-soldering
    - "Do not populate" for J3, J11
    - changed J11 pinout for better trace routing
    - changed J2 and J4 to horizontal connectors
    - finished PCB design
    - changed and added numerous printed parts
    - ordered and assembled board
    - verified built-in LED working
    - verified laser circuit working
    - verified HSE crystal circuit working

    Issues

    - AMS1117-5.0 was initially dead; replaced
    - USB micro B had two pins shorted; lifted GND pad when trying to remove

    Changes to v1.1

    - STEP and DIRECTION Test Points pins are incorrect on A1 and A2
    - BOOT0 had a 100nF capacitor to GND instead of pull-down resistor; this caused floating issues when programming

    To do:

    - test pin functions on bluepill as specified:
    - end stop interrupts
    - UART Tx and Rx from pi 5
    - YAW/PITCH motor function
    - RIGHT/LEFT motor function
    - dual-camera stuff with pi 5

  • Project Status 2

    scott08/27/2025 at 22:46 0 comments

    27 AUG 2025

    Since last update:

    • Added 2 test points: PITCH_STEP, YAW_STEP
    • Added comments about STEP pins in schematic
    • Changed PITCH_END, LEFT_END, RIGHT_END, LASER, SPARE_IN0, SPARE_IN1, SPARE_OUT0, SPARE_OUT1 pins due to external interrupt needs
    • Changed focus motor drive calculations due to Adafruit motors are 1/16 ratio
    • Created UART transmit codes
    • Tested PWM for PA8 (PITCH_STEP) and PB0 (YAW_STEP); calculated prescaler, period counter, and pulse values
    • Calculated estimated max current draw of system
    • Updated Bino Pi Reference Sheet, schematic

    Future Plans:

    Short Term:

    • Get timing interrupt to work
    • Create 6 sequences for focus motor stepping: 1-phase full step CW & CCW, 2-phase full step CW & CCW, half-step CW & CCW
    • Test UART and transmit codes (TX from MCU to Analog Discovery 3 working; need to test RX on MCU)
    • Test endstop interrupts
    • Test laser output circuit using 2N3904; determine experimental current consumption

    Long Term:

    • Submit PCB for fabrication
    • Adjust bottom assembly mounting for PCBA
    • Verify operation of PCBA
    • Conduct dual-camera operations with OpenCV in Python

  • Project Status 1

    scott07/30/2025 at 22:16 0 comments

    30 JUL 2025

    Working on Bino Pi Gimble Control PCB.

    Future Plans:

    • Submit PCB for fabrication
    • Redesign bottom assembly mounting with PCBA
    • Verify operation of PCBA for all peripherals
    • Enable UART communication between Pi 5 and STM32F103C8T6
    • Conduct dual-camera operations with OpenCV in Python

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates