Show Posts
Pages: 1 ... 5 6 [7] 8 9
91  Forum 2005-2010 (read only) / Interfacing / Re: Trying a multi-protocol interrupt based IR rcv lib on: July 03, 2010, 07:50:38 pm
Just an FYI, it's much easier to read a description of the protocol than it is to reverse engineer it.

If you do reverse engineer, it is helpful to graph it. I used Maple to graph it. I had a sketch output the points that could be pasted right in the plotting software.

Lastly, if you can find a library it is worth it. This stuff is trickier than it seems.
92  Forum 2005-2010 (read only) / Interfacing / Re: Can anyone recommend a piezo from mouser? on: July 10, 2010, 03:58:04 pm
Thanks a lot.

There are only 2 5-volt, pcb piezos in that section. I guess I'll try both of these as they would be the easiest to power. I'll start with the 1k resistor too, though 500 ohms would give 10 mA.
93  Forum 2005-2010 (read only) / Interfacing / Re: Can anyone recommend a piezo from mouser? on: July 08, 2010, 08:20:12 pm
I was hoping for mouser cause I was going to order from them anyway. I already entered a bunch of stuff. I like buying parts as opposed to scavenging because it's usually easier to get another of the same.

Thanks for the link.
94  Forum 2005-2010 (read only) / Interfacing / Can anyone recommend a piezo from mouser? on: July 03, 2010, 10:42:46 pm
It would be helpful if it worked with some of the examples like Melody. It's for laser tag sound effects like shots and being shot.

Here's a link to mouser:
95  Forum 2005-2010 (read only) / Interfacing / Re: TSOP4838 Infrared Receiver Not Working on: July 01, 2010, 09:15:13 pm
I fixed the capacitor issue. The circuit uses 2  10 uF electrolytic caps in series to create a 5 uF cap.  Should 5 uF ceramic caps work the same? They would be a lot neater.

I didn't get all the receivers to work, but probably won't bother debugging as the tsop 1138 worked pretty well from a wide range of angles.
96  Forum 2005-2010 (read only) / Interfacing / TSOP4838 Infrared Receiver Not Working on: June 10, 2010, 10:14:09 pm
I tried 5 IR receivers in the same circuit to see which worked best. Using a circuit like in the application notes except it uses a .1 microfared capacitor, the tsop2438 and tsop1138 receivers work fine. But the tsop34838, tsop38238 and tsop4838 don't seem to work at all.

The recommended cap is 4.7 microfareds. Could the smaller cap be the problem? Should all receivers work with the same circuit?

I also noticed that the tsop1138 gets inserted backwards to how i would expect. Could inserting the receiver backwards fry it?

The receivers that don't work have a larger operating voltage: 2.5-5.5V. The working receivers operating voltage is 4.5-5.5, They are being powered by a USB powered Ardweeny's gnd and + pins. Could the different range be an issue? I assumed the wider range was an advantage.

97  Forum 2005-2010 (read only) / Interfacing / Re: Bot Chasing Bot on: June 10, 2010, 09:42:51 pm
I was thinking of modulated IR as they are the easiest to work with. The IR receivers cost about $1. IR LEDs are like $.20.

Pololu has a beacon that uses 4 receivers and 4 LEDs. This makes sense as the $5 in parts is cheaper then a motor to rotate them.

I guess as the bot changes direction slightly the receivers indicate if the chaser is still in pursuit. I don't see how the IR alone can give distance, but maybe distance is not necessary to chase. Could also make the bot kind of pan back and forth when it is hunting for a signal.

I was also reading about the Rhomba IR invisible wall. It acts as an invisible wall to prevent the vacuum from falling down stairs. This could be just an LED in an opaque tube (or snout) to keep the light beam narrow.

This solution does not seem very satisfying, but I guess it could work.
98  Forum 2005-2010 (read only) / Interfacing / Bot Chasing Bot on: June 09, 2010, 09:14:37 pm
Anyone try to make a bot that can chase another bot?

I was thinking one bot would transmit infrared (a beacon) and the other would receive it. IR remotes work well for 10-20'. While I've only got that too work from 6' using a receiver like a tsop2438, that is for another thread.

The question here is how to find the direction of the transmitter. IR receivers either respond or don't respond. I was hoping a photodiode or IR detector like could provide an analog value that would indicate signal strength. The sender would broadcast regularly. But when I tried it with a photodiode, it's maximum range was about 6 inches. Another thread on Arduino Forum indicates the Sparkfun IR detector also has a short range.

Any ideas for a beacon-detector pair that would work from 6-20'? Again, the  detector needs an analog signal that indicates 'hotter' or 'colder' as the receiver changes direction or gets closer.
99  Forum 2005-2010 (read only) / Interfacing / Re: distance between two specified objects on: June 09, 2010, 08:55:25 pm
I came across this old thread, but I had been thinking about same thing.

I don't think you can do it with just RF. In an open room, you can use a combination RF and ultrasound beacon. Send RF and ultrasound signals at the same time. The detector could figure the time lag and hence its distance from the beacon.

There is an MIT system called Cricket that takes this approach: It's a good read. Cricket does more and the paper has background.
100  Forum 2005-2010 (read only) / Interfacing / Re: Increasing Infrared Reception Angle on: June 06, 2010, 10:31:52 pm
I played around with this and it seems better at night w/o sunlight coming in through the window and most lights off.

Overall there was about a 90 degree range that worked from 6 feet. This suggests the issue is with the receivers noise suppression.

I was thinking of trying a few receivers with different noise reduction. The retrievers have the same 3 connections, so they are easy to try. (The biggest hurdle is the cost of the shipping.) These are the receivers, I was thinking of trying: TSOP4838, TSOP34838, TSOP8238 and TSOP1138.

Also would like to try tsal7200. It is supposed to have greater range.

Any suggestions on receivers and emitters is appreciated.
101  Forum 2005-2010 (read only) / Interfacing / Re: Increasing Infrared Reception Angle on: June 04, 2010, 03:41:00 pm
"To make it omni directional take a piece of perspex and drill a hole half way through it. Mount the received pointing into this hole and mount the whole thing at horizontally. "

I assume perspex is English for acrylic or plexiglass. Does it matter the shape of the perspex, like would a 1" circle with the led mounted in the center work? I guess this is like a poor man's lense.
102  Forum 2005-2010 (read only) / Interfacing / Increasing Infrared Reception Angle on: June 03, 2010, 09:32:10 pm
I made an Infrared transmitter and receiver, but it seems to only work when shooting directly on. It uses TSAL7600 Infrared Led and a TSOP2438 38 MHz Infrared Receiver.

Any ideas to allow it to work better from multiple angles? Anyone add a lens?
103  Forum 2005-2010 (read only) / Interfacing / Re: Making LED Cubes on: June 04, 2010, 04:10:13 pm
LadyAda has kit you might like:

Now I haven't bought the kit, but it sounds like lots of fun. And even if you don't want to buy it, you can read the instructions.

I believe it uses a shift register or latch for the same purpose you want: to conrol leds. She also has some kind of program for creating the image.
104  Forum 2005-2010 (read only) / Interfacing / Re: Help with C++ interfacing on: June 04, 2010, 04:00:20 pm
If you are looking for a simple example, try

You can run the send examples without any hardware. It just sets a pin high. It doesn't matter that nothing is connected to the pin.

The first couple of paragraphs of his blog contain the link to the library and explain how to install it. It looks real simple.
105  Forum 2005-2010 (read only) / Interfacing / Re: Power Supply and limit resistor for Infrared LED on: June 04, 2010, 03:20:49 pm
It uses a 38 KHz carrier.  

The 20 Ohm resistor does seem like a lack of power, but it's not clear that the 47 Ohm resistor causes a power problem.

I'll try the webcam.
Pages: 1 ... 5 6 [7] 8 9