1
\$\begingroup\$

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up.

Unfortunately I don't have a part number for the photodiode, I got them as "generic wide band photodiode".

It will be placed at just some millimeters from the IR led and the signal data is at 4800bps, I'm pretty sure the signal will be good and strong.

After some googling I tried connecting +3.3V to the cathode, a 100kΩ resistor from the anode to ground, and the GPIO to the anode too, but it didn't work so I guess I'm doing something wrong.

I'd like to keep the thing as simple as possible, but it's ok if I have to throw a transistor in there (I have a couple of generic NPN and maybe also PNP lying around somewhere).

\$\endgroup\$
  • \$\begingroup\$ what's the part number of your diode? please provide it in the question, and provide a link to the datasheet too. \$\endgroup\$ – Vladimir Cravero Feb 21 '15 at 18:05
  • \$\begingroup\$ @VladimirCravero sorry I don't have that \$\endgroup\$ – Luke404 Feb 22 '15 at 11:20
  • \$\begingroup\$ Here is a little article about home build digital IR sensor, may it will be helpful. \$\endgroup\$ – Bence Kaulics Mar 27 '15 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.