I am looking at controlling a number of leds and the only way I can see to do this is by using a second microcontroller. I'm looking at about 40 leds which will light in various combinations.
The combination will depend on a keypad selection. This keypad selection will send serial code from the 1st ucontroller to a Vmusic2 module as well as illuminating one of 3 leds to indicate a status.
The other 40 x LEDs are to hightlight the button/keypad key pushed. In reality the keypad will ber a larger matrix of switches wired to simulate the keypad.
Any thoughts/hints on what i can explore
Cheers and Regards
Ian b
requiring multiple outputs
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: requiring multiple outputs
Hello Ian
Ok you can do something similar to this to increase the number of LEDs you can control with a single microcontroller.
http://www.larwe.com/zws/products/picxie2/index.html
There are also several slave I/O expander chips available from Microchip that you can control from your microcontroller via a SPI or I2C bus that will add to the amount of I/O available.
Final option is to use SIPO (serial in parrallel out) buffer chips. This is how the large scrolling LED array signs work and should be failry simple to implement.
http://circuitlake.com/propeller-128-li ... oller.html
Ok you can do something similar to this to increase the number of LEDs you can control with a single microcontroller.
http://www.larwe.com/zws/products/picxie2/index.html
There are also several slave I/O expander chips available from Microchip that you can control from your microcontroller via a SPI or I2C bus that will add to the amount of I/O available.
Final option is to use SIPO (serial in parrallel out) buffer chips. This is how the large scrolling LED array signs work and should be failry simple to implement.
http://circuitlake.com/propeller-128-li ... oller.html
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel