(Read 542 times)
Nov 07, 2012, 08:49 pm
I'm trying to learn how to charlieplex and I'm making a simple 3x3 matrix to try and learn how. My question is how do you control the matrix using Arduino? I have the LoL library but for something this small I'm not sure how to adapt it. Any help would be greatly appreciated!! Thanks!
Unlimited Eagle board sizes available.
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
Nov 07, 2012, 10:47 pm
You need to review your design & see what it takes to for highs & lows to make each individual LED turn on.
This may result in Off LEDs having high applied to both sides or low to both sides, or low their anode & high on their cathode ("reverse biased").
Designing & building electrical circuits for over 25 years. Screw Shield for Mega/Due/Uno, Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at my website.
Nov 08, 2012, 12:36 am
Start with 2 LEDs on 2 pins (remember the resistors on each pin),
Then 6 LEDs on 3 pins,
Then for 9 you extend this to 4 pins (normally 12 LEDs, so omit 3 of them...
[ I won't respond to messages, use the forum please ]
Nov 08, 2012, 01:16 am
If you want just 9 LED's you could just use 9 pins no need to get complex. The simplest way to get higher numbers is to use a shift register.