hello,
I’m working on a project where I would like to use two photodetectors to read two light signals, namely a red led and an infrared led. Then the first photodetector must read the infrared light and the second photodetector must read the red light. The two photodiodes are both connected to the current voltage converter circuit on bredbord. I was told to use arduino’s GPIO ports to handle the two photodiodes with high-frequency logic with the sad buffer. Honestly I did not understand, how do you, someone could explain it to me. Thank you
[EDITIED - I misunderstood what you were asking...]
You can "tri-state" an I/O pin by programming it as in input. That (almost) disconnects it. Then you can write a low (as an output pin) to "ground" the connection.
Do you mean high impedance? When configured as an input (without the optional pull-up enabled) they are high impedance. (It's very high, around 100 megohms but I don't know if it's high enough for a photodiode.)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.