By Koenraad Verheyden - @koenaad
This project is meant to simplify designing USB MIDI controllers with the Microchip PIC16F1454 and PIC16F1455.
I chose the PIC16F145x because it is the smallest MCU I found capable of USB communication that doesn't need an external oscillator. The TSSOP-14 version is really small indeed...
Additionally, Microchip sells a PDIP version which is easy to prototype with.
I made a small break-out board to experiment with this chip [images]. If there is interest, I am willing to post the KiCad files online or ship some of my spare PCBs.
I'm planning to use this project as base for other MIDI controllers I design.
This project has to be opened in MPLab X IDE.
The system
-functions handle device initialization, configuring the USB MIDI stack and LED updates. User code can be added in main.c
. Usually no other files should be edited for simple applications.
Keep in mind that no code inside the main loop may block.
To program the PIC you will probably need a PICkit. Bootloaders could offer an alternative but I haven't investigated these yet.
This project uses the USB stack from Microchip Libraries for Applications.
MLA is licensed under the Apache License version 2.0. (See: microchip.com/mla_license)