MotorSpeedController
sdsmt-robotics·MotorSpeedController·Hardware/MotorSpeedController.kicad_pcb
About the MotorSpeedController PCB
MotorSpeedController is an open source AVR/Arduino PCB design by sdsmt-robotics, published on GitHub. It is a 2-layer board measuring 42 × 42 mm, with 21 components from 13 distinct parts.
Its main chip is the ATmega328P-AU, from the AVR/Arduino family. Other key parts include the AS5134 and MC7805. By type, the board carries 9 capacitors, 3 ICs, 3 diodes, 3 resistors, 2 connectors and 1 crystal.
From the project
The SS pin must be used for at least one* of the connections. Additional speed controllers may use other digital IO pins.
The SS pin must be used for at least one* of the connections. Additional speed controllers may use other digital IO pins.
SPI - the SPI singleton object from the SPI.h library. ssPin - pin to use as chip select. Should simply be SS for first controller.
Initialize: Create an instance of the class.
setup() { ... // Init SPI SPI.begin (); SPI.setClockDivider(SPICLOCKDIV4);
Main components on the MotorSpeedController
MotorSpeedController bill of materials (BOM)
21 components, 13 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATmega328P-AU | TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | AS5134 | SOIC-20 | U2 |
| 1 | MC7805 | TO-252-2 | U3 |
| 1 | 16MHz | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | Conn_01x08_Female | PinHeader_1x08_P2.54mm_Vertical | J1 |
| 1 | Conn_01x05_Female | PinHeader_1x05_P2.54mm_Vertical | J2 |
| 2 | LED_Small_ALT | D_0603_1608Metric_Castellated | D1, D2 |
| 1 | D_Small | D_2010_5025Metric_Castellated | D3 |
| 2 | 1uF | C_0603_1608Metric | C1, C9 |
| 2 | 22pF | C_0603_1608Metric | C2, C4 |
| 5 | 0.1uF | C_0603_1608Metric | C3, C5, C6, C7, C8 |
| 1 | 1k | R_0603_1608Metric | R1 |
| 2 | 10k | R_0603_1608Metric | R2, R3 |
MotorSpeedController design files
The KiCad project lives in the sdsmt-robotics/MotorSpeedController repository on GitHub; these links point at the commit this page was built from.
MotorSpeedController: common questions
What microcontroller does the MotorSpeedController use?
The MotorSpeedController is built around the ATmega328P-AU, from the AVR/Arduino family.
How big is the MotorSpeedController PCB?
The MotorSpeedController measures 42 × 42 mm, has 2 copper layers and is 0.8 mm thick.
How many components are on the MotorSpeedController?
21 components, from 13 distinct parts. The full bill of materials is listed on this page.
Where can I download the MotorSpeedController design files?
From the sdsmt-robotics/MotorSpeedController repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the MotorSpeedController design in my own project?
The repository has no license, so all rights stay with sdsmt-robotics. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the MotorSpeedController without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746