3438Views6Replies

Author Options:

Multiple Photocell Problem (Arduino)? Answered

Hello, I have a problem with using more than 1 photocell. I am using the AnalogReadSerial example to test each one and they are giving me junk. I have tried just one wired to the board and it works fine, but when i wire 4 into a breadboard it gets messy.

                                                                                            Here are some pictures

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
jenniferm8
jenniferm8

6 years ago

I'm doing a university project slightly similar to this, is there any chance you could upload your code so I could get a little help with reading the multiple light sensors? Ive got my hand in very soon and my whole set up seems to have stopped working all of a sudden. Hope you can help or you can direct me somewhere to look as I can't seem to find anything similar to mine except yours!

0
D5quar3
D5quar3

Answer 7 years ago

1K ohm. I have tried multiple resistor values, and I still get the same problem

0
steveastrouk
steveastrouk

Answer 7 years ago

Try putting a good 100nf cap across each cds cell, to try to reduce noise. What are you actually seeing coming out?

0
D5quar3
D5quar3

Answer 7 years ago

I figured it was the 5v and ground rails on my breadboard needed some jumpers, after that I was getting steady numbers.