AI

## TSOP364 IR Receiver Module
The **TSOP364** is an infrared (IR) receiver module from Vishay's TSOP36xx series. It detects modulated infrared signals, such as those sent by TV remotes, and outputs a clean digital signal that a microcontroller can read.
---
### Key Specifications
| Parameter | Value |
|---|---|
| Carrier frequency (f₀) | 36 kHz |
| Supply voltage (VS) | 2.5 V to 5.5 V |
| Supply current | ~0.5 mA (typical) |
| Output type | Active low, open-collector |
| Receiving distance | Up to ~20 m (depends on the transmitter) |
| Operating temperature | -25 °C to +85 °C |
| Package | 3-pin plastic package |
---
### Pin Configuration
| Pin | Name | Function |
|---|---|---|
| 1 | OUT | Digital output (active low) |
| 2 | GND | Ground |
| 3 | VS | Supply voltage (2.5 V to 5.5 V) |
---
### Internal Block Diagram (Functional Description)
The TSOP364 contains the following internal stages:
1. **PIN photodiode**: Converts received IR light into a small electrical current.
2. **Preamplifier**: Amplifies the weak photodiode signal.
3. **Band-pass filter**: Passes only signals near 36 kHz and rejects noise and ambient light.
4. **Demodulator**: Extracts the data envelope from the 36 kHz carrier.
5. **Integrator and comparator**: Removes short noise bursts and produces a clean digital pulse.
6. **Output driver**: Drives the OUT pin, which goes LOW when a carrier is detected.
---
### How It Works
- **Idle state:** No IR signal is present, so OUT stays **HIGH** (pulled up by an external resistor).
- **Signal present:** When a 36 kHz modulated IR burst is received, OUT switches to **LOW**.
- The output follows the envelope of the transmitted burst, so the microcontroller receives the original data pulses (for example, the NEC protocol timing).
---
### Typical Application Circuit
```
VS (5V) ──────────┬─────────────
│
[R] 4.7kΩ–10kΩ (pull-up, optional if MCU has internal pull-up)
│
Microcontroller │
IO pin ──────────┴──── OUT (Pin 1)
GND ───────────────── GND (Pin 2)
VS ────────────────── VS (Pin 3)
```
**Recommended supply decoupling:** Place a **100 µF** electrolytic capacitor and a **100 nF** ceramic capacitor close to the VS and GND pins to reduce noise.
---
### Interfacing Example (Arduino)
```cpp
#include
const int RECV_PIN = 11; // Connect TSOP364 OUT to pin 11
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup() {
Serial.begin(9600);
irrecv.enableIRIn(); // Start the IR receiver
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX); // Print received code
irrecv.resume(); // Ready for the next code
}
}
```
---
### Important Notes
- **Use the correct carrier frequency:** The TSOP364 only responds to 36 kHz signals. For other frequencies, use a different variant (for example, TSOP38238 for 38 kHz).
- **Avoid direct sunlight and strong light sources:** These can saturate the receiver.
- **Keep the sensor pointed at the transmitter:** Its reception angle is limited.
- **Check the datasheet:** Always verify pinout and specifications against the official Vishay datasheet before designing your circuit.
---
- ⤷What is the difference between TSOP364 and TSOP38238?
- ⤷ How do I decode NEC IR remote signals with an Arduino?
- ⤷ What value pull-up resistor should I use with the TSOP364?