Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Eder Torres Lopez
Published © GPL3+

Servo Controller Board with MSP430 & Timer Interrupts

This board serves as a servo controller, it receives commands through UART. It can be as stand alone project or integrated into a larger one

IntermediateFull instructions provided2 hours243
Servo Controller Board with MSP430 & Timer Interrupts

Things used in this project

Hardware components

MSP-EXP430G2 MSP430 LaunchPad
Texas Instruments MSP-EXP430G2 MSP430 LaunchPad
×1
Texas Instruments MSP-FET
×1
JLCPCB Customized PCB
JLCPCB Customized PCB
×1
Optocoupler, Transistor Output
Optocoupler, Transistor Output
If isolation will be used
×4
Linear Regulator (Low Dropout)
Linear Regulator (Low Dropout)
3.3V linear voltage regulator
×2
Through Hole Resistor, 470 ohm
Through Hole Resistor, 470 ohm
×1
LED (generic)
LED (generic)
×2
Texas Instruments MSP430G2553
×1
Capacitor 1 nF
Capacitor 1 nF
×1
Ceramic Disc Capacitor, 100 pF
Ceramic Disc Capacitor, 100 pF
×2
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
Any analog Servo will do
×4
onsemi BC639
If isolation will be used
×4
Through Hole Resistor, 4.7 kohm
Through Hole Resistor, 4.7 kohm
If isolation will be used. Board requires 0805 Surface mount resistor
×4
3.3K OHM 1/4W 1% METAL FILM RESISTOR
TaydaElectronics 3.3K OHM 1/4W 1% METAL FILM RESISTOR
If isolation will be used. Board requires 0805 Surface mount resistor
×4
Through Hole Resistor, 470 ohm
Through Hole Resistor, 470 ohm
If isolation will be used. Board requires 0805 Surface mount resistor
×1
SparkFun FTDI Basic Breakout - 3.3V
SparkFun FTDI Basic Breakout - 3.3V
To communicate between the Servo Controller board and the computer
×1

Software apps and online services

Code Composer Studio
Texas Instruments Code Composer Studio
Circuit Maker
CircuitMaker by Altium Circuit Maker
Code Composer Studio
Texas Instruments Code Composer Studio

Hand tools and fabrication machines

Solder Flux, Soldering
Solder Flux, Soldering
Solder Wire, 0.032" Diameter
Solder Wire, 0.032" Diameter
Soldering Iron Kit, Weller XNT/THM Tips
Soldering Iron Kit, Weller XNT/THM Tips

Story

Read more

Custom parts and enclosures

Servo Controller Board - With Opto-Couplers - Fabrication Files

This ZIP file contains the DRILL and Gerber files to get the PCB manufactured. it's ready to be uploaded to JLCPCB

Servo Controller Board - Without Opto-Couplers - Fabrication Files

This ZIP file contains the DRILL and Gerber files to get the PCB manufactured. it's ready to be uploaded to JLCPCB

Servo Controller Board - With Opto-Couplers - Bill of Materials

This file contains all the components used to build the PCB. Follow it to place and solder the components correctly.

Servo Controller Board - Without Opto-Couplers - Bill of Materials

This file contains all the components used to build the PCB. Follow it to place and solder the components correctly.

Schematics

Servo Controller Board - With Opto-Couplers

This is the schematic of the the servo controller board with optocouplers.
The optocouplers allow for both servos and microcontroller to be powered from different sources and not having the ground (reference voltage) tied together.

Servo Controller Board - Without Opto-Couplers

This schematic is for the servo controller board that have no optocouplers, both servos and microcontroller will need to have a common ground (reference voltage)

Code

Servo Controller Board

This contains code and theory about Servo controllers. There are two variations of the board, one with optocouplers and one with them

Credits

Eder Torres Lopez
8 projects • 9 followers
I've been working on embedded systems since 2012 to create workshops for our IEEE student branch at the University where I obtained a BSEE.

Comments