The infrared optical communication device in the question requires the use of infrared light-emitting tubes and infrared receiving modules for communication. It also has requirements for signal-to-noise ratio, communication distance, and digital channels. So a relatively simple implementation solution is to use digital infrared transmission protocol. This project uses the IrDA protocol for communication, and the communication rate of IrDA can reach 4M. If you use the speex open source library to compress the audio digital signals collected by the ADC, you can further reduce the IrDA transmission rate. Since the IrDA rate supported by the microcontroller is generally only 115200bps, audio compression is indispensable. At the same time, the IrDA protocol only has high requirements for decoding on the receiving end, and the transmitting end only needs a transistor or a MOS-driven high-speed infrared LED. In addition, the non-return-to-zero coded communication format of IrDA determines that the overall high-level duty cycle of the transmitter is very small. Therefore, even if the operating current of the infrared LED is increased, the average current consumption of the transmitter module is still very small, but the communication distance can be obtained A big improvement, which can well meet the requirements of the topic. For temperature transmission, the LM75 chip is used to insert identification characters into the audio transmission frame, so that the receiving end can distinguish the transmitted temperature information and print it out through the serial port.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet