(Putting the important ones first, and finally recording the bugs in the production process) Function introduction: STM32+ESP-01 collects temperature, humidity and illumination, and sends them to APP and web pages through the MQTT protocol. The APP can control the issuance of instructions and control the STM32 relays. , also controls the ESP-12E to send out the decoded air conditioner infrared signal to control the air conditioner. This is the APP interface web page.
Project features: In addition to the above functions, the board has led out all the pins of SMT32 and ESP-12E, which is very convenient for secondary development (a document introducing the pins is attached). The codes of STM32 and ESP-12 have implemented JSON. Receive parsing and upload data (the code has been commented in detail). The APP is developed using App Inventor 2 and has already written JSON parsing to make it easy to get started. The related components of Node-RED will also be exported for everyone to use.
Bugs in the production process Learning experience 1. The relay circuit part was abnormal. At first, the relay part did not refer to Song Gong’s design and used the optocoupler + relay from the Jixin Classroom, and then it changed. . . A fault occurred. I won’t tell you what the fault is. If you’re interested, you can read this . However, due to time constraints, I haven’t tested the new board yet (August 23). I will test and explain it later. 2. ESP-12E cannot operate normally. Finally, after checking the manual and testing, I found that io15 did not pull down, so my board was connected first (it has been changed in the project)
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