Skip to the content
2 layers65 × 56.5 mmSangaboard v0.4, the printed circuit board in 3D

The Sangaboard is a motor controller for unipolar stepper motors such as the cheap 28BYJ-48 motors. The custom board (v0.3) can be programmed as an Arduino Leonardo in the Arduino IDE.

Size
65 × 56.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
96
Nets
96
Pads
357
Tracks, vias
1,321, 95
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
11 Oct 2022
Updated
11 Oct 2022

Overview

Sangaboard v0.4 is an open-source printed circuit board by kitspace-test-repos, from the kitspace-test-repos/Sangaboard repository on GitHub. It is a 2-layer board of 65 × 56.5 mm with 96 parts on 96 nets, routed with 1,321 tracks and 95 vias.

It is built around the ATMEGA32U4-MU, ULN2003A and CAT24C32LI-, with the DMG2305UX and DMMT5401 among its other parts. Its parts include 22 resistors, 15 capacitors, 15 connectors, 8 transistors and 5 ICs. It belongs with the robots and motor control boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

5

README

README.md

Sangaboard

The Sangaboard is a motor controller for unipolar stepper motors such as the cheap 28BYJ-48 motors. The custom board (v0.3) can be programmed as an Arduino Leonardo in the Arduino IDE. Versions 0.1 and 0.2 were based on an Arduino Nano and a couple of Darlington pair ICs. It owes quite a bit to Fergus Riche's motor board, the hardware developed by OpenScope and the Arduino-based motor controller used by a number of summer students working with Richard Bowman in Cambridge, particularly James Sharkey. It is currently the motor board used by the OpenFlexure Microscope. It was formerly known as the OpenFlexure Nano Motor Controller, with a repository on github.

Getting started

The first step is to make and populate the PCB. You can get in touch with STICLab to order a v0.3 one if they have stock, eventually this should be possible through Seeed Studio. Alternatively have version 0.2 or version 0.3 made via Kitspace.

Firmware and bootloader

Installing the Sangaboard bootloader

You only need to isntall a bootloader if you solder your own v0.3 or v0.4 Sangaboard! Otherwise you can skip this step.

Installing the Sangaboard firmware

The Sangaboard firmware is an Arduino sketch, we use the same sketch for all versions of the Sangaboard.

Control

The stage can be controlled by serial commands, which can be listed by sending the query help? to the board over the serial port.

Or by the pySangaboard python library.

Credits

  • Firmware (and bootloader modifications) by Richard Bowman and Julian Stirling, University of Bath
  • PCB design by Sanga Valerian, STICLab.
  • Fergus Riche (University of Cambridge, UK) hacked the stepper library to make it work with the stepper motors we are using, and is a major contributor to the v3 PCB design
  • Boyko Vodenicharski and Filip Ayazi (University of Cambridge, UK) contributed to the firmware for v0.3.

Development of this board and software was funded by the EPSRC (EP/P029426/1), the Royal Commission for the Exhibition of 1851, and the University of Bath.

(c) The authors, 2017,2018,2019. Released under CERN Open Hardware License (hardware designs) and GNU GPL v3.0 (firmware). The bootloader is only very slightly modified from the Arduino Leonardo bootloader, licences are listed in the source.

Parts

96
QtyValueFootprintReferences
1022Resistor_SMD:R_0805_2012MetricR3, R4, R6, R7, R9, R10, R11, R12, R13, R16
410uFCapacitor_SMD:C_0805_2012MetricC4, C5, C11, C12
41KResistor_SMD:R_0805_2012MetricR14, R15, R17, R18
41uFCapacitor_SMD:C_0805_2012MetricC8, C9, C14, C15
43mm_Mounting_Holeproject_footprints:NPTH_3mm_IDH1, H2, H3, H4
4DMG2305UXPackage_TO_SOT_SMD:SOT-23Q3, Q4, Q6, Q8
4DMMT5401Package_TO_SOT_SMD:SOT-23-6Q1, Q2, Q5, Q7
4Jumper_NCJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1, JP2, JP3, JP4
30A35_0A7_PolyfuseResistor_SMD:R_1206_3216MetricF3, F4, F5
3100nCapacitor_SMD:C_0805_2012MetricC6, C7, C10
310KResistor_SMD:R_0805_2012MetricR5, R8, R20
3TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP1, TP2, TP3
21.5KResistor_SMD:R_0805_2012MetricR1, R2
222pFCapacitor_SMD:C_0805_2012MetricC2, C3
23.9KResistor_SMD:R_0805_2012MetricR21, R22
2Ferrite_BeadResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderL1, L2
2ULN2003APackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU3, U4
2VaristorResistor_SMD:R_0603_1608MetricRV1, RV2
1sangaboard_Logo:sangaboard_L5_FS
1Symbols:OSHW-Logo_5.7x6mm_SilkScreen
1sangaboard_Logo:sangaboard_L3_FS
1Symbols:OSHW-Logo_19x20mm_SilkScreen
10.1uFCapacitor_SMD:C_0805_2012MetricC1
10A5_1A_PolyfuseResistor_SMD:R_1206_3216MetricF1
1100nfCapacitor_SMD:C_0805_2012MetricC13
11A25_3A_PolyfuseResistor_SMD:R_1210_3225MetricF2
18MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1ATmega32U4-MUPackage_QFP:TQFP-44-1EP_10x10mm_P0.8mm_EP4.5x4.5mmU1
1BLUE_MTRLED_SMD:LED_0805_2012MetricD3
1CAT24C32Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1CD1206-SO1575Diode_SMD:D_SOD-123FD1
1CONN_01X02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ13
1DNPResistor_SMD:R_0805_2012MetricR19
1EEPROM-raspberrypi_hatproject_footprints:EEPROM-raspberrypi_hatJ15
1END_STOPSConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ3
1GREENLED_SMD:LED_0805_2012MetricD4
1I/OConnector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_VerticalJ9
1I2C HeaderConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ4
1ISPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ6
1J_AUXConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ7
1MCP1700-3302E_SOT23Package_TO_SOT_SMD:SOT-23U2
1Power&Serial-raspberrypi_hatConnector_PinSocket_2.54mm:PinSocket_2x05_P2.54mm_VerticalJ14
1RED_3V3LED_SMD:LED_0805_2012MetricD2
1ResetConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalRST1
1Serial HeaderConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ5
1ULN_AUXConnector_PinSocket_2.54mm:PinSocket_2x04_P2.54mm_VerticalJ8
1USB_DataConnector_USB:USB_Micro-B_Molex-105017-0001J1
1USB_SupplyConnector_USB:USB_Micro-B_Molex-105017-0001J2
1X_AXISConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ10
1YELLOWLED_SMD:LED_0805_2012MetricD5
1Y_AXISConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ11
1Z_AXISConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ12

More from kitspace-test-repos/Sangaboard

1
  • 2 layers65 × 55 mmSangaboard v0.3, the printed circuit board in 3D

    Sangaboard v0.3

    kitspace-test-repos/Sangaboard

    The Sangaboard is a motor controller for unipolar stepper motors such as the cheap 28BYJ-48 motors. The custom board (v0.3) can be programmed as an Arduino Leonardo in the Arduino IDE.

    63 parts

Similar boards

  • 2 layers65 × 56 mmACYONP SMD LCSC, the printed circuit board in 3D

    ACYONP SMD LCSC

    SkullKill/ACYONP-PCB

    PCB for Access Control Yubikey OTP NFC Pi (ACYONP). For Raspberry Pi. This is a Door Access Control using Electronic Door Strike, with Yubikey OTP via NFC / KeyPad / WebInterface for Authentication.

    93 parts1GPL-3.0
  • 4 layers200 × 100 mmHeteromycin, the printed circuit board in 3D

    Heteromycin

    hasenbanck/heteromycin

    A 3D printer board using a powerfull STM32 MCU, TMC5160/TMC2160 driver and a Raspberry Pi or compatible SBC

    373 parts40
  • 2 layers65 × 56 mmPi hat, the printed circuit board in 3D

    Pi hat

    MaZderMind/jukebox

    Software and Hardware of my RaspberryPi-Jukebox-Project

    98 parts4
  • 2 layers65 × 56 mmRaspberrypi hat, the printed circuit board in 3D

    Raspberrypi hat

    fablabcb/fablock

    fablock is an RFID lock to our fablab

    31 parts2
  • 2 layers182.5 × 65 mmV1Panel, the printed circuit board in 3D

    V1Panel

    pilotniq/MJoulnir

    Hardware and software for the control system of a full size electric boat.

    171 parts2
  • 2 layers65 × 30.5 mmAPMHat-4-powered, the printed circuit board in 3D

    APMHat-4-powered

    stephendade/AP-HAT

    Useful Raspberry Pi HATs for ArduPilot

    61 parts1GPL-3.0

Questions

How big is the Sangaboard v0.4 PCB?

It measures 65 × 56.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sangaboard v0.4 use?

96 parts, built around the ATMEGA32U4-MU, ULN2003A, CAT24C32LI- and DMG2305UX. 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 Sangaboard v0.4 KiCad files?

From the kitspace-test-repos/Sangaboard repository on GitHub, at the commit this page was made from: the board is pcb_design/v0.4/sangaboard_v0.4.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sangaboard v0.4 design in my own project?

Its repository states no licence, so its author keeps all rights: ask kitspace-test-repos before reusing the design.