Design of infrared communication circuit based on single chip microcomputer
Source: InternetPublisher:子丑寅卯 Keywords: Microcontroller power communication power supply Updated: 2021/07/10
The circuit introduced in this article was originally an actual circuit used for time correction and meter reading in a time-sharing electric meter. It's simple and practical. Using the asynchronous communication port of the microcontroller, using the infrared light transmitting tube sir-563 and the infrared light receiving ic tube rpm6938 to realize the function of receiving and sending point signals, the half-duplex two-way communication function can be realized. The communication distance is about 10 meters, and the asynchronous communication baud rate is 1200.
Circuit principle: The infrared sending circuit is composed of a 4001mos NOR gate 38khz oscillator, a serial port sending control gate circuit and an infrared light emitting tube sir-563 drive output circuit. When the txd end of the serial port of the microcontroller is '0', the infrared light emitting tube emits 38khz modulated infrared light. When the txd terminal is '1', the emission tube does not emit light. See Figure 1. The infrared receiving circuit is the infrared receiving specialized integrated circuit rpm6938. When receiving 38khz modulated infrared light, the output terminal of rpm6938 is '0', which is usually '1'. It can be connected with the serial port transmitting and receiving terminal rxd of the microcontroller.
- Step-down power supply for driving relays
- Op amp power supply decoupling bypass measures
- Use pulse width modulation to get a precise output voltage
- Dynamic power supply for power amplifier controlled by thyristor
- A small and easy-to-make fast charger
- Converting a lithium battery charging board into a constant voltage and current charger
- Car Audio Power Supply
- Practical constant current charger-----Constant current charger
- Automatic charger made with LM3914
- Current protection circuit composed of relays
- Importance of Voltage Supervisors and Output Topology Selection
- Design of temperature detection circuit implemented by single chip microcomputer
- Single chip multi-microcomputer system sharing RAM circuit
- Design and production of three-way sectional switch based on AT89C2051 microcontroller
- CNC machine tool and computer communication circuit diagram design
- STR5412 power circuit
- Power circuit of STR5412
- Laser power circuit
- Portable device charging power circuit design
- Two types of negative voltage generation circuit diagrams of single-chip microcomputer