A remote circuit parameter monitoring system was designed based on the STM32 development board and the MQTT protocol over TCP.The system uses the STM32F103 series development board as the main control unit,u-tilizes the ADC acquisition principle,calculates the voltage,current,and power of the circuit through the parallel cir-cuit voltage sharing principle and the ACS712 current sensor chip,set the threshold for these three sets of data,and if the data exceeds the threshold,an automatic alarm will be triggered.At the same time,these three sets of data will be uploaded to the cloud server in real-time through the ESP8266-01S module.Designed a WeChat mini pro-gram as the upper computer,which can receive real-time data by subscribing to the path of devices uploading data in the cloud server.It can remotely monitor circuit parameters and control the switch of the sound and light alarm and the entire circuit through this WeChat mini program.
关键词
STM32/物联网/电路参数监测/微信小程序
Key words
STM32/Internet of Things/circuit parameter monitoring/WeChat mini program