IR TV Remote Control Circuit with 8051 Microcontroller: Components & Working Principle
Circuit Diagram: (Schematic not renderable in text; typical components listed below.)
Components
- 8051 Microcontroller (e.g., AT89C51, AT89S52)
- IR Transmitter (IR LED) – 940 nm, driven by transistor (BC547/2N2222)
- IR Receiver (TSOP1738 / TSOP4838) – 38 kHz demodulated output
- Crystal Oscillator (11.0592 MHz or 12 MHz) + capacitors
- Resistors (current limiting for IR LED, pull-up for receiver)
- Capacitors (decoupling, oscillator)
- Push Buttons (for channel, volume, power, etc.)
- Power Supply (5V regulated)
Working Principle
- Button Press: User presses a key; 8051 detects via port pins.
- Encoding: Firmware encodes command into a protocol (e.g., NEC, RC-5, Sony SIRC)—start bit, address, command, stop bit.
- Modulation: 8051 toggles IR LED at ~38 kHz (carrier) per protocol timing.
- Transmission: IR LED emits pulsed infrared light.
- Reception (TV): TSOP receiver demodulates 38 kHz carrier, outputs digital pulse train.
- Decoding: TV's MCU matches protocol/address/command → executes function (volume+, ch-, power).
Key Points
- Protocol must match TV's expected format.
- Line-of-sight required (IR doesn't penetrate walls).
- Range: ~5–10 meters typical.
This is a classic embedded systems project for learning IR communication.