Problem with IR detector

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
dragonuv
 
Posts: 235
Joined: Tue Dec 04, 2007 1:22 pm

Problem with IR detector

Post by dragonuv »

Hi, I bought an IR detector (brm 1020) to follow the IR detector tutorial.
I have followed the Testing your IR detector section successfully and I can genuinely see the red LED blinking when pointing and clicking a remote control.
the problem is, when I uploaded to the arduino the code mentioned in the section Reading out IR codes from an Arduino I could not see any high \ lows coming to the digital 2 pin.
when testing the program and eliminating almost all the code, I saw that it is getting stuck in waiting for the digital 2 pin to become HIGH, which means digital pin 2 is always low.
Is there anything wrong with my schematics? (attached pictures)

Thanks in advance !
http://imageshack.us/photo/my-images/22 ... 27gwvh.jpg
http://imageshack.us/photo/my-images/688/img0329qq.jpg

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Problem with IR detector

Post by adafruit_support_bill »

The tutorial is written for a PNA4602 or GP1UX311QS. Yours may or may not be compatible.

Try feeding the 5v closer to where it is used. Some breadboards have split power rails.

dragonuv
 
Posts: 235
Joined: Tue Dec 04, 2007 1:22 pm

Re: Problem with IR detector

Post by dragonuv »

well I switched to a small breadboard and it seemd to have done the trick !
Thank you ! :)

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”