IR Sensor Notes

Viewed 17 times

So, recently I went to an electronics store to buy an IR Sensor, so they gave me the next one: IR Phototransistor NPN

Then I went online to check how to build this, and to my surprise, I’ve found that a lot of tutorials are of the three leads, when I’ve got only two leads. I’m new in the electronics world, and I need help to use this IR Sensor as a receiver for Raspberry Pi. Does anyone know how to use it? (ex: Which leads do correspond to the three lead version, or which GPIO pins…)

 New contributor
  • Nothing to do with the Raspberry Pi. You need to read up about IR protocols. – joan 15 hours ago
  • But will it work as an IR receiver for LIRC? – TutoInfo Shexph 15 hours ago
  • Hi TutoInfo Shexph, Welcome and nice to meet you. You might like to read my answer to the following LIRC question to study how to use LIRC for Rpi. Your two leg guy should be TSAL6200, an IR emitting diode. And three leg guy are receivers. I would recommend to get kit with both UART based emitter and receivers. Most linux and raspbian guys use LIRC, but I would recommend Rpi newbies use UART. – tlfong01 14 hours ago
  • But the vendor said its an IR receiver – TutoInfo Shexph 14 hours ago
  • 1
    Yes it is a receiver. No it will not work with lirc. You need a IR demodulator (3 lead) which strips the IR 38kHz carrier. Read up on IR. – joan 14 hours ago
  • it is unclear what you purchased …. do you have a part number? … please add it to your question above – jsotola 9 hours ago
  • Reference 19 and Long Answer Update (5) 2019sep12 of my answer to the following LIRC question show pictures of both IR transmitter and receiver LEDs. This is also the UART based IR transceiver learning kit I am recommending to the IR newbies: raspberrypi.stackexchange.com/questions/103452/…. – tlfong01 47 mins ago

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: