Page 1 of 1
Pi Rebooting when attaching IR receiver to gpio
Posted: Thu Aug 01, 2013 11:25 pm
by afurlong
Using my model b, revision 1 pi, I decided to attach an infrared receiver. I'm using a Tsop38238 receiver, with lead one connected to gpio18 (pin 12), lead two connected to 3.3 V coming in from pin 1, and the ground on pin 6, as per the instructions I've found online. However, any time I connect this, the pi crashes. If I connect before powering on, it will not boot. Is there something I'm missing in here?
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Thu Aug 01, 2013 11:56 pm
by Dilligaf
Sounds like you've got the pinout wrong, check this out
http://html.alldatasheet.com/html-pdf/2 ... 38238.html
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Fri Aug 02, 2013 1:09 am
by afurlong
I've tried switching the input power with the ground, but it still crashes. I've tested the connectivity from the ground to the supply, and it seems to be connected properly in that sense. Should I try using a battery to power it?
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Fri Aug 02, 2013 2:24 am
by joan
Normally pin 1 (left) out, pin 2 ground, pin 3 +ve.
http://abyz.co.uk/rpi/pigpio/ex_ir_remote.html
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Fri Aug 02, 2013 2:32 am
by afurlong
That's the setup I have, and I even tried connecting it without the signal cable. As soon as the second lead was connected, it crashed.
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Fri Aug 02, 2013 2:42 am
by joan
Perhaps a damaged IR IC. Mind you I've switched the power and ground connectors by mistake. Apart from generating a lot of heat it did the IC no permanent damage.
Re: Pi Rebooting when attaching IR receiver to gpio
Posted: Fri Aug 02, 2013 6:08 pm
by afurlong
I'd like to thank everyone for their help in my issue. I had purchased two receivers, one of which is in a perma proto board, the other I used with jumper wires. When I went back to testing today, the issue seems to have resolved itself. It must just be one of those odd things that happen with any computer that you grow to love in time.