A while ago I posted about Sparkfun's UBW32 board. After a lot of reading up on the processor and reading some code samples, I finally have a (sort of) working rudder controller.In keeping with the spirit of this site, I'm attaching the project files for what I have so far. But just to warn everyone, this code is not flight close to being done. So far it's just getting the servos and GPS all talking together happily.While this code isn't currently anything usable, anyone looking for some fairly heavily commented code on interfacing GPS and servos with the UBW32 or a PIC32 processor might find it useful.Any questions or comments are appreciated!(Since it's hard to tell from the picture, the UBW32 board is powered from a 5v regulator, which powers the servo too at the moment. The GPS is powered through the 3.3v pins on the UBW32 board. Pin F2 is the serial into the board, and D0 is PWM out.)
Thanks Tyler. I have just got a UBW32 yesterday for the purpose of using it to replace a couple of PIC18's in my Tutor 40 so its always great when someone uploads some sample code to get you going. Does this hex load with the UBW32 bootloader or should it be loaded through an ICSP ?
Replies