Help with IR Sensor LED020 (UPDATED)
Attached are photos of my circuit on a breadboard.
UPDATE IT WORKS!
I posted a video. Ignore the TV in the background. When the universal remote sends a signal it is decoded by the PICAXE (not done manually I found a setting that the sensor can read and decode itself). A LED flashes to show a signal was read. It then shows the number of the code that was sent in the debug window. In a few days I will delete this post and add a turorial. Then its off to making my robot WOOHOO.
As an added bonus the sensor reads signals from 360 degrees and the remote even made it work when it was under the table. Its nice how much infrared light bounces around the room.
SYMBOL IR_PIN = pin0
SYMBOL LED_PIN = 0
symbol infra = b14
LOW LED_PIN
WaitForSignal:
irin 0, infra
debug infra
HIGH LED_PIN
PAUSE 250
LOW LED_PIN
GOTO WaitForSignal
| Attachment | Size |
|---|---|
| 100_0931.JPG | 330.71 KB |
| 100_0933.JPG | 72.05 KB |
| 100_0934.JPG | 2.57 MB |
| 100_0935.JPG | 104.12 KB |



@ Mon, 2008-11-03 05:36
NICE!!
Feels good to get it working, huh? Congrats, I have been keeping an eye on this and was pulling for ya! --You fought this one tooth and nail and won... I got mad respect for that.
Godspeed
@ Mon, 2008-11-03 04:22
Thanks to everyone who
@ Sun, 2008-11-02 01:13
I'm sure this thread is
I'm sure this thread is getting old, but I'm determined to make it work. I have decided to make my own remotes so skip all the previous discussion about getting this to work with a remote. I just want to get it to send OR Receive a signal to prove it is hooked up correctly.
See picture above.
PIN 1: yellow wire from pin 1 to pin 11 of picaxe 28x1 (IN 0) AND 4k7 resistor connecting to 5volts
PIN 2: short yellow wire to ground
PIN 3: 330 ohm resistor from 5 volts to pin 3 and a 4.7uF capacitor connects PIN 3 and ground (I dont know why it was in the disgram)
First off is this set up correctly? If so I have tried to have it send an IR signal and detect it with my digital camera, did not work. I used a universal remote to cycle through every wavelength it can send and the IR sensor on the board did not detect anything.
Also I put my multimeter on the pins and it does in fact get current. I also tried 2 different sensors to make sure I didn't have a faulty one. Has anyone used this sensor before and can they show how it was hooked up to verify this is correct?
I know I may be a pain, but I like to learn all I can about components and will publish 2 or 3 tutorials on this sensor when I am done. I am also going to make at least 1 robot using it.
Thanks for any help!
@ Mon, 2008-10-27 18:16
this may also be of help, it
this may also be of help, it also gives a brief insight on manual decoding.
http://www.world-educational-services.net/PICAXE%20Infra-Red%20Interfacing.htm
@ Mon, 2008-10-27 17:00
I found a $5 universal
I found a $5 universal remote at K-Mart and none of the codes worked on the sensor. In fact none worked for my TV or surround sound system. It did work on my VCR/DVD player though. so I guess it soff to plan B. I ordered 2 keypads off Tech-supplies and an extra 28x1. I'm going to use my 8m for the keypad and the 28x1s for the robots. A homemade IR controller would make this project look better, but I was hoping I coudl get a pre-made remote to work for simpilicity.
http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/SEN040
I'll post more updates/turorials once everything comes in... I should be able to get an IR tutorial or 2 out of this project.
@ Sun, 2008-10-26 23:44
it won't be easy to make it
it won't be easy to make it controllable by any remote...actually it would be quite hard. If you want to control it with a universal remote (which is more expensive than a picaxe with an IR led and a few buttons :-) ) then why not just buy a standard sony remote? as far as i know it should work properly with the IRIN command, and maybe it would be cheaper.
But wait, do you want him to do multiple actions or just do something when you press any button on the mote?
EDIT: you talked about tossing a value onto a variable. But what do you really mean by "reading from an input pin"? Input pin can read the length of a pulse, or if a pulse is received, but...well... i don't really got what you meant. :-)
@ Sun, 2008-10-26 23:58
What I need it to do is,
@ Sun, 2008-10-26 23:35
Sorry for being somewhat
@ Sun, 2008-10-26 23:05
what kind of remote are you
@ Sun, 2008-10-26 23:14
btw, that "input 0 only"