MSP430 News, Projects and Forums
Posted in Projects | 6 comments
[V]ihapuu managed to get not one, but two, servos working with the TI Launchpad. Not much description, but he posted his code on pastebin. Code looks fairly simple with Timer_A_0 providing all the timing.
Link to code: pastebin
No serial interface implemented yet.
Actually the code is for four servos but you can easily use the whole port. It sequentially outputs the pulse for each servo from the timer compare interrupt (the whole port is written, clearing the last servo signal). Repetition rate thus is variable and depends on the number and pulse width of the other servos (that’s OK).
hello, my project is based on this. can i please get the code and schematic diagram of this project… it will be very useful…
You can check it out in the Forum at the below link:
Can i use the above code for msp430g2452, i have tried couple of time but m getting error, could u please help me out, thanks in advance…
Mail (will not be published) (required)
Notify me of followup comments via e-mail