I can't claim much originality for the design of the speed controller (neither the hardware nor the software). Here are some of the sites on which I found useful source material - many thanks to their authors.
The Swordfish compiler site runs a wiki that includes user generated code modules, including a PWM module from David Barker. And I learned a lot from Chuck McManis's pages about servo speed controllers.
Before getting into the complexities of programming PWM, I got up to speed with the basics thanks to tutorials and articles at Gooligum Electronics and Pete Griffith's site.
Lastly, I downloaded the 18F1320 reference manual and the PICkit utility (for loading the binary code generated by the Swordfish compiler into the PIC in the Junebug) from Microchip.
If you would like to see the source code I ended up with, here it is.
No comments:
Post a Comment