blitz, controller test platform
The Blitz controller project is the integrator platform between scooty's original electronics and second generation features for zapglider. It features dual pic32 microprocessors for division of labor between high-speed balancing routines and other less time critical elements.
The prototype utilizes the UBW32 development board. Below is a quick list of steps/links to get started using this board.
Quick-start guide to the UBW32
- Install dotNet framework on PC (works with 3.5)
- Install driver (win only)
- Install Microchip’s MPLAB IDE
- Install Microchip’s C Compiler (Academic use version free)
- Install HID Bootloader (documentation and links to download here)
- Code project in MPLAB IDE, “build all” when complete
- Attach UBW32 to PC via usb (reboot if required). Should show up in Device Mgr as a HID-compliant device (under Human Interface Devices) when installed correctly
- Press “prg” + “reset” buttons on UBW32 to put it in bootloader mode
- Open the HID Bootloader, click “open HEX file”, browse to compiled HEX file, click “program/verify”
- Once the HID Bootloader is done programming, press “reset” on the UBW32
- Test your new code!
- Steps 6-11 to rinse and repeat
Since the pic32 is fairly new on the market, there’s not a ton of info out there. Lucio Di Jasio’s “Programming 32-bit…” has been an invaluable resource for this project, can recommend it to anyone thinking of using the pic32 mcu with their project.