Buy an Axon, Axon II, or Axon Mote and build a great robot, while helping to support SoR.
0 Members and 1 Guest are viewing this topic.
I'm trying to work out how to make rangefinders from IR LEDs and IR receivers. I'm working on a robot that's too small for the Sharp receivers so I think I'll have to roll my own.
I can get the emitter to send a 38KHz signal, and I can see it with the receiver when they're pointing at each other, but when I point them both in the same direction, I don't get enough of a return from the emitter to do the job. So I starting thinking about just giving it more current, but if I'm reading the data sheet for the emitters correctly I don't think I can give it enough. I'm either doing something wrong, or I got the wrong emitters or something. Should I be looking for a different emitter, or am I missing it somewhere else? What's the normal way to do this?
Many years ago (before the Sharp sensors were available) I made a three level IR distance sensor using a IR LED modulated at three current levels (two PIC pin outputs and two resistors)
This worked rather well. The three current levels would detect at about 3cm, 8cm and 10cm. Not quite what can be done with a Sharp sensor but good enough for a simple Bot to avoid objects and follow a wall.
If you're using a 38kHz IR receiver then the modulated frequency needs to be almost exactly 38kHz. Have you measured the actually frequency that is switching the IR LED?
I would have thought that you've been on this forum for long enough to know we're not mind readers?Post links to datasheets for emitter and receiver please.How do you connect them up?Are they the same wavelength?Are you perhaps using an integrated IR receiver (like in a TV)?eMojo needs info to work.
No, I'm not using an integrated IR receiver, as I said I'm using a separate emitter and receiver.
They are the same wavelength, as I said the receiver can see the emitter when they're pointing at each other.
Right now I've just been trying breadboard setups, and haven't found one that works.
Could you post the schematic(s) you have worked from?It's hard to know what's wrong with a circuit that you cannot see.
I haven't been working from a schematic, I've just been trying things on a breadboard.
I wasn't trying so much to work on the setup I was using, I was actually looking for information about how people normally do it. I found a tutorial here about it a bit ago. I'll understand that first.