STM32 is a microcontroller based on CortexTM-M3 core; it plays an important role in the embedded control field. This chapter introduces a low-power humidity and temperature collector with SHT10 humidity and temperature sensors. This chapter introduces and implements the communication time sequence of SHT10. A calibration text proves that the system can measure temperature and humidity correctly. It is demonstrated by experiments that this low-power collector can collect data for 30 days and satisfy the design index; besides, the principle of low power can be used in other embedded control field.Keywords Temperature and humidity collector · Low-power mode · STM32F103
IntroductionSTM32 is widely used in many control applications. It is a microcontroller based on CortexTM-M3 core, which sets new standards in capability and cost as well as low-powered operation and real-time control. The series mainly includes three subseries: "A" means high applications, "R" means real-time applications series, and "M" means cost-sensitive and microcontroller applications. STM32 belongs to the "M" series, which is designed for the coalescence of high capability and low power [1].Most of the humidity and temperature collectors on the market do not have the ability of recording and low power at the same time; in addition, they are expensive. This chapter designs a humidity and temperature collector based on STM-32F103RET6. Its system can work for about 30 days with the ability of recording and a stop mode has been adopted for the purpose of power saving. The sensor is SHT10 humidity and temperature sensor. The collection period takes 5 min, and 18,650 lithium battery works as the power supply. The data can be recorded in the secure digital (SD) card. The collector can support high-speed universal serial bus