[sdiy] Microchip PIC 5 x 4 matrix

Jean-Pierre Desrochers jpdesroc at oricom.ca
Wed Oct 7 15:52:23 CEST 2015


I'm about to build a MIDI foot controller
using around 20 normally open footswitches
with there respective state LEDs.
I have a bunch of PIC16F88 micros and want
to use one for this project using as less pins as possible.
(9 pins for the matrix)
I figured out a way to read and feed all switches
and LEDs this way:

http://www.arcenson.com/public/PIC16F88_5x4_matrix.JPG

All the switches and LEDs will be processed one after each other
in an endless loop..
RB5 will send the MIDI data.

Does anybody see something I forgot in that drawing ?
I'm not home and will try it tonight.

Thanks. JP


More information about the Synth-diy mailing list