Using the domestic Hangshun MCU chip HK32F030MF4P6, with the support of the domestic Lichuang EDA development software, components, proofing rolls, etc., the following functions are completed:
1. Indoor temperature and humidity detection: The MCU reads the temperature and humidity sensor DHT11 data and transmits it through SPI or I²C ( Control the OLED to display the current temperature and humidity through short-circuit cap switching) communication method;
2. Human body infrared sensor, light and dark sensor: sensing the proximity of the human body triggers the OLED to display the current temperature and humidity, detecting the darkening of the room and the approach of the human body, triggering the light and OLED display Front temperature and humidity;
3. Sound and light alarm: If the data collected by the MCU exceeds the high and low limits of temperature and humidity, it will control the buzzer alarm and light flashing;
4. SWD mode download and debugging, 232 serial port communication.
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