Preface
I searched the Internet but couldn't find anything that meets the requirements and is completely open source, so I can only explore and do it myself.
[Infrared-RF] conversion module - suitable for Xiaoai speaker pro and other speakers with infrared functions to add RF function, so that RF devices can be connected to smart home systems such as Mijia.
1. The entire framework is based on the open source module of [Zheng Miemie].
2. The code has improved the process of processing RF signals, and can automatically store the received RF signals in esp8266, which will not be lost when the power is off. When the infrared is converted to RF, the parameters required by the corresponding RF signal can be read locally.
3. Modified to 433+315 dual-frequency, it can handle most daily RF remote control devices. If only 433 or 315 is needed, you can also only weld a set of receiving and transmitting modules. If other frequencies are needed, you can also weld the corresponding frequency receiving and transmitting modules. The code is universal.
4. It can be used as an external independent power supply of typec, or it can be installed inside the speaker.
6. A mercury switch is added to the pcb, which can be used as an inverted speaker to open the RF to infrared channel to avoid receiving and storing too much useless RF data. After all, this channel is only needed when recording infrared remote control for Xiao Ai. If this function is not needed, you can short-circuit it directly and give it a lump of tin.
7. The capacitors, resistors, and light-emitting diodes on the board do not need to be soldered. The two buttons are used when burning esp8266, but they can also be omitted. Just use tweezers to temporarily short-circuit them.
8. Is there anything else you need to add? . . .
Cost
1. The PCB is a gift from Jiali Chuang, free of charge
2. 433 receiving module, 433 transmitting module (t1), 315 receiving module, 315 transmitting module (t1), the total of 4 modules does not exceed 20, including shipping.
3. esp8266 is about 5 yuan.
4. One infrared transmitting tube and one receiving tube, together no more than 2 yuan.
5. AMS1117-3.3 is no more than 0.5 yuan each.
6. Others: capacitors, resistors, light-emitting diodes, typec female connectors, and buttons can be omitted if not used.
Total: no more than 27.5 yuan (more conservative, the estimated price is relatively high)