I'm pretty new to the Arduino and so I'm not that great with it yet, but I have had some practice with it and I've been trying to do this color sensor project that I found on instructables, here's the link: http://www.instructables.com/id/Introduction-29/?ALLSTEPS. The only thing is that the person who created the project used a custom circuit board and I'm using a breadboard, so I have having difficulty reading the pictures posted and translating the circuitry to my breadboard, so I could use some help with that. I thought I wired everything properly but when I ran the code, nothing happened. Can anybody help me with wiring my breadboard?
I'm a newbie too, so i am not advanced.
But a few days ago i asked a question much like your goal; i wanted to read analog data 2 LDR's
you want it from 3 so it must be easy to extend it too 3
here was my forum post http://arduino.cc/forum/index.php/topic,111496.0.html
I had much problems to get stable analog reads when using more then one LDR, i solved it in the end (but i'm not exactly sure why it got solved).
BTW you might use 1 LDR instead of 3, and use 3 digital out pins to turn on a led pointing to the surface.
Place the leds around the LDR with some distance, so you get the mirrored light instead of direct light on your sensor.
Then your program should turn on each led one by one, and then compare which surface color gave the least or most reflection to determine the color. This can go pretty fast dough, depending on the brightnes of your leds
Thanks for your help. I just got to reading everything, but I still don't think I understand. I want to use three of the IR phototransistors and none of them are working and I'm not getting any readings. I feel like my circuitry is just tangled up or messed up somewhere. Maybe I'm not connecting the 5V where it's supposed to go? Or the resistors aren't connected to the LEDs properly, but something isn't connected right, because nothing is running.