I am currently doing a little arduino project for a digital representation unit on my Masters of Architecture course. I'm really enjoying learning about this style of representation but I need some guidance!
My original concept was to wire 100 LEDs to my arduino and have them go off one by one when you go near them, but these LEDs were to be spread across a tree, so the idea would be that you would never be able to capture the light from the tree because it would go out before you got there. This idea was conceived when I knew VERY little about arduino and the complexities this would involve!!
I have scaled it waaaay down and have just managed to charlieplex 20 LEDs to 5 pins with the idea of making them responsive to an LDR.
I am about 1/2 way through trying to edit my charlieplexing code to make this happen, but upon introducing Serial.begin to the code for it to read the analog input from the LDR, all of my LEDs go haywire and start cycling through random sequences.
My question is, is it even possible to make charlieplexed LEDs respond to an analog input?
Or, should I give up now and only use as many LEDs as I can wire to individual pins? This would be a pretty huge scale back from my original proposition and I would be super disappointed to have to give up all the hard work I have put in to understanding charlieplexing.
What do you guys think?
P.s. this project is due in in a couple of days so I don't have time to buy any new components or anything to make this happen, I have my arduino, a bunch of LEDs, 3 LDRs and a bunch of jump leads!