Menu

PPM Added

Phew, pretty major feature implemented! I've added PPM code, I have to admit I have yet to test it, but it's based on code I used earlier, so it should work...

Anyway, it's got some pretty neat features:
-variable amount of channels
-variable servo center point (1500us, 1520us, whatever you want)
-variable servo travel (500us, 600us, whatever)
-variable pulse length (440us, 500us, whatever)
-variable end of frame length (10ms, 5ms, whatever)
-interrupt driven using timer 1, thus extremely low consumption of CPU cycles
-all settings changeable at runtime (even the amount of channels)
-frame synchronization, will always transmit a full frame, even when you change settings
-debug option to slow down PPM output 256 times
-inverted signal option
-work buffer supplied by client code, never uses more memory than needed
-selectable output pin (9 or 10)

That should be all you need to build a PPM transmitter ;-) Check out the SVN repository!

Posted by dvdouden 2012-02-09

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.