I am not able to figure out the best way to connect 3 QRD1114 on my mini breadboard, along with the push button and required resistors.
The most important aspect for this project is that I need to get independent readings from each QRD1114 unit. I'm guessing that each should be on a different analogue pin, no? Also, the push button should not interrupt any activity or readings from the 3 QRD1114 units. The button should simply be recognized when pushed.
I'm concerned with the proper resistors to use. I'm still a noob with electronics and did not find a way to properly evaluate the resistance needed, taking into consideration the QRD1114 specs https://www.sparkfun.com/datasheets/BOT/QRD1114.pdf
In short, HELP!
Thank you for your time and I really look forward to your input!
Heff
PS: Yes, I did search the web, the Arduino and bildr forums before posting this, but did not find the information that I needed.
Each QRD1114 has two terminals connected to Ground, one connected through a 200 Ohm resistor to +5, one connected through a 5.7K resistor to +5 and also to an analog input. The only difference between your four units would be which analog input they connect to.
johnwasser:
"The only difference between your four units would be which analog input they connect to"
Can I use the resistor setup used for one QRD1114 for all three units and simply connect each unit on a different analogue pin? So, only one 200 Ohm + one 5.7K resistor for all three QRD1114 units? A serial connection?
2 resitors: 200 Ohm + 5.7K
3 QRD1114 units on 3 analogue pins
Or
Each single QRD1114 unit needs to have the resistor combination of one 200 Ohm + one 5.7K and each unit connected to a unique analogue pin? A parallel connection?
6 resistors: three 200 Ohm + three 5.7K
3 QRD1114 units on 3 analogue pins
Thank you again
Heff
PS: I just edited my reply to correct a few silly typos! Sorry
Heff:
Each single QRD1114 unit needs to have the resistor combination of one 200 Ohm + one 5.7K and each unit connected to a unique analogue pin? A parallel connection?
6 resistors: three 200 Ohm + three 5.7K
3 QRD1114 units on 3 analogue pins
Yes, that second one. Each unit uses two resistors. One (200 Ohm) provides current limiting for the LED. The other (5.7K) is a pull-up for the phototransistor. As the amount of detected light changes so does the current running through the phototransistor. The voltage at the terminal will depend on the current. The analog input is used to measure that voltage.