Use this simple IR receiver for infrared remote control of your next project. With low power consumption and an easy to use package, it mates well with embedded electronics and can be used with common IR remotes.
The TSOP382 is a miniaturized receiver for infrared remote control systems. A PIN diode and a preamplifier are assembled on a lead frame while the epoxy package acts as an IR filter. The demodulated output signal can be directly decoded by a microprocessor. The TSOP382 is compatible with all common IR remote control data formats.
This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.
Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Noob - You don't need to reference a datasheet, but you will need to know basic power requirements.
See all skill levels
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
No reviews yet.
Does anyone know where these are manufactured?
Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.
That being said, I believe the manufacturer is listed in the datasheet, under the documents tab. If you are inquiring the exact location of the manufacturing facility... you will need to reach out to the manufacturer directly.
Can anyone provide comment as to whether the supply voltage influences the sensitivity of the receiver?
It does, but only at the very bottom of it's operational range. Check the 4th page of the data sheet for a chart with the details.
Very simple to use if you just need an easy way to remotely trigger some action. For simple triggering it doesn't require any of the IR-remote libraries that are available. Simply read the output pin, and when it goes low, activate whatever needs activating. I tried using it as a simple trigger with the four remotes I had handy (Panasonic, Samsung, Apple, and a generic) and it worked fine for all of them, working at least 20 feet away for any of them. If more detailed remote readings are required, there are libraries available for that.
Love this IR receiver. Used Ken Shirriffs IR Library and this receiver to control a parallax robot and made a little music. Enjoyed so much that I moved it to a shield http://goo.gl/JNJ9gm
Can you point us to some documentation of the output format when used with the Keychain IR Remote?<br />
<br />
After digging through some forum posts I found this description:<br />
<br />
"The whole set is 13 pulses long. The pulses are only measured while low. The first pulse, the start pulse, lasts about 2.4 ms (2400 microseconds). The following pulses are 1.2 ms (1200 microseconds) for a 1, 0.6 ms (600 microseconds) for a 0. Each data pulse is about 0.3 ms (300 microseconds) apart. Every set of 13 pulses is about 20-30 ms apart from each other, repeating when a button is held down." <br />
<br />
This is helpful, but it'd be nice to see it officially documented somewhere.<br />
<br />
It seems like using one of these with an Arduino would be very difficult if you want to do more than just decode the IR signal. You have to poll pretty quick to reliably catch the 2.4 ms start pulse.<br />
<br />
Using interrupts would work better, but you have to be careful. Libraries like NewSoftSerial will disable interrupts for the entire transmission or reception of a byte. At 9600 baud thats > 1 ms, so good luck catching pin change interrupts that are only .3ms apart. Even at 57600 baud you'll have the same problem.<br />
<br />
Blocking interrupts for the entire reception of an IR key (max 1.5ms*13 + 2.4 ms = 21.9 ms) isn't a good idea either.<br />
<br />
In my case, I'd like to use this IR receiver on an Arduino that also has a Serial LCD attached via NewSoftSerial. It just seems quite difficult to do. I donno, maybe I'm missing something.
Bug report: The post above was formatted exactly as I wanted when I hit "Preview". When I actually posted it it took out all the carriage returns. Also, I couldn't get bulleted lists to work even in preview.
What if, after displaying your message on the LCD, disabled the Serial library, and therefore enable interrupts?
Does this have a lens?
Does anyone know if the diodes LF1838, LF1838A, VF0038 and VS1838A do the same as the TSOP38238?
This IR Remote Control Tool might be useful for working with infrared remote controls: http://www.technoblogy.com/show?KVM
Your check out system is not working
I keep getting different codes as i move away from the receiver. Does anyone know how to fix this?
i want to use this receiver with a pic18f4550 to control volume of an amplifier... what is the frecuency of the output signal so it can be demodulated??
The distance of receiving signals? According to its datasheet, it is about 45 m. Is it right? I'm novice.
Does anyone know of any clean mounting hardware for this diode?
Can you describe more of what you're look for?
The pins are 0.1" so it's easy to use in a breadboard or pef board. If you're doing a custom PCB I've laid out many a board with a regular 0.1" 3-pin connector for the IR sensor. I usually rely on the legs themselves to situate the receiver where it needs to be directed. For more complex installations I use double stick tape to hold the sensor in place. Most consumer products will have the IR receiver sticking out of a PCB with smoke plastic covering up the ugly.
Using this IR Receiver, an Apple remote, Arduino, and a few RGB LED's, I have created a fun remote controlled & portable planetarium of sorts. This receiver and the Apple remote were extremely easy to implement into this fun little project.
I will be using this, along with that apple remote(that I never use with the actual computer) to control household appliances in the near future.
I'm working on a swarm robot project and wanted to try IR as the means of communication. What is the receiving angle for this diode? I need as close to 180 as possible. I could not find this information in the data sheet. Thank you for any advice you may have.
I'm confused by the datasheet. Is this supposed to support 30khz-50khz signals or only 38khs?
A specific frequency, depending on the actual part. SFE's own tutorial, and others, noted that this particular part should be the TSOP38238, tuned for 38kHz signals.
That's probably my problem. I was using a Samsung remote--not sure what freq but I was under the impression that IR remotes all use 38kHz (how else would universal remotes work?). Maybe this isn't the case?
Could be - could also be something else (interference?)
Universal remotes, in terms of sending, work by modulating the signal, typically using the same microcontroller that's generating the signal. Check out the Illumitune project linked to in the article description, it goes over this specifically :)
For receiving - i.e. a learning remote - it depends.
There's quite a few that simply use a 38kHz IR receiver and call it done - since that's what most remotes do use. With a little luck, it just might accept 40kHz as well.
Others simply stick multiple receivers in. Hey, whatever works.
Yet others do away with a specific IR receiver altogether, and instead use a simple IR photodiode/transistor which doesn't care about carrier frequencies, and instead use a microcontroller to either detect and save it as a parameter for modulation, or simply store the entire signal 'raw' in memory for playback. The downside of this is, of course, that these are more prone to interference and you often have to hold the device's remote right up to the learning remote so that it gets as good a signal as possible (and even then the microcontroller has to perform a bunch of filtering).
I wired it up with my Arduino last night--it sorta works--when I point a remote at it I get values, but the values I see are different every time I press a button. Seems like they should be consistent, no?
Maybe someone can help me out. I need to prototype an IR receiver at 14 HZ. I see a lot of 38 kHz but not 14 Hz. This is a very specific application. I need something low power with as long range as I can get (within reason). Any ideas? All I need it to do on the prototype is turn on an LED. Thanks.
[Total noob question]
I'm trying to integrate this with an IRdroid connector ( http://www.irdroid.com/ ), but I don't have 2.5~5.5V available - only the voltage coming in from the mic/control loop of a TRRS connector on a smartphone (the target host device - it's about 2.2V last time I checked)
Would undervolting it by .3V be a bad idea?
This looks a lot like the pieces I "recycle from old vcr's. I'm controlling lights, relays, and ssr's. http://arduinotronics.blogspot.com/2012/11/arduino-ir-receiver-part-2.html
Just received one of these and am currently messing around with it using an Arduino Uno, a cheap blank remote control I found at a dollar store, and Ken Shirriff's IRRemote library - it's working great and it seems like a cool way to provide input for projects!
So here's a question for those of you who know what you're doing (unlike me). I can set this receiver up on an isolated circuit (powered by 2 AA cells), attached to a visible LED, that lights up when the TSOP goes low. Works great, and I can see it light up when I press buttons on a remote.
The weirdness comes in when I start using my arduino uno to generate a signal (38khz + pulsed) that I will eventually drive an IR LED. But before I even attach the signal to a LED, I can get the receiver circuit to light up just by touching an exposed end of the wire hooked up the arduino's output pin. I swear that the receiver is electrically isolated from me and the arduino completely.
The only thing I can think of is RF. Is this TSOP really that sensitive to RF interference?
Follow the schematic on the Datasheet. I blew mine without it; they're VERY sensitive.
I have something nearly EXACTLY like this on several IR control helicopters I own. Is there an easy way to replace this with something that would receive RF? And could I convert the IR remote to RF too?
I don't know if they still do, but the older Dish Network receivers had a RF to TTL board that internally connected to the IR in line.
a Playstation 2 Remote works well with these, so many buttons.
The data sheet seems to imply that 950nm is the wavelength of IR light to use.
Hi,
I need to detect a infrared light that run at 1.2khz.
I just need to know if "there is a ball" or if "there isn't a ball". There will be no data being sent, or received.
Will this sensor works? all 38khz will work? if not, witch one will work?
Ivan
Have one of these, just bought the exact same one at a local vendor. Here's my 2 cents:
You gotta love 'em! It's really a very cheap way to control an arduino! But you have to know these 2 small tips:
1) use the NECIRcv library, or else, you're nowhere
2) if the signal isn't getting trough, use a different remote. Or change the code if you have an universal remote. Some brands just doesn't cut it for some reason...
Has anybody used this over long range with an IR Diode ? I want to make a IR Beam Detector for security puposes , distance 10 - 20 metres ?
Thanks a lot
library:
http://www.arcfn.com/2010/11/irremote-library-now-runs-on-teensy.html
I also posted a simple tutorial to get people started with this receiver. It includes pictures from an oscilloscope so people can see what's happening when the receiver detects an IR light.
Simple Arduino Infrared Receiver
http://allaboutee.com/2011/07/10/arduino-infrared-sensor-code/
Is this in the SFE Eagle Library?
You can use a 3x0.1" header, it'll work just the same.
Does anyone know what this returns in terms of values?
Datasheet says 100mV for low, VCC for high. Keep in mind this is digital... so you can't get a in-between reading.
Is anyone else having a problem getting anywhere near VCC when running this at 5v? I ordered one a while ago but it doesn't break 2v on out when running at 5 volts, with the recommended cap and resistor and without. I scoped it and it gets the signal just fine and does break the logic threshold for a 3v application however I intended to use it on a 5v supply and logic.
Did I get a bad part?
Never mind, apparently my o-scope has a hard time giving accurate voltages at 5mA of current. Those with old cheap o-scopes may wish to keep this in mind.
The product title is slightly misleading - even though it looks like a diode, it's actually an entire IR receiver like the ones in the little metal boxes, but this one is packaged in an epoxy package (like a diode).
The datasheet shows several different part numbers based on their carrier frequency. Can you tell us which frequency this part uses?
38khz, which is the most common in modern remotes
How did you know that? Its not obvious looking at the product description.
Mmm nice. Good timing for me. These will be great for my next project.
Agreed, very good timing!!!