Registration stage:
1. Self-introduction: I have many years of experience in the embedded industry. I have worked in a well-known domestic military drone R&D and manufacturing company and a smart home IoT system development company. I have developed more than 100 products of various sizes, and more than 20 products have reached mass production of 10,000 units. The products developed have excellent performance and convenient operation. After being put on the market, they have received very good responses.
2. Project introduction:
1. Function: Monitor the ambient temperature/humidity/formaldehyde concentration value, and set the alarm values of the three environmental indicators for environmental monitoring and alarm.
2. Alarm processing: The alarm uses a high-power buzzer for intermittent buzzing alarm. When the alarm occurs, the button can be used to temporarily turn off the alarm and completely turn off the alarm.
3. The time value of the temporary alarm shutdown can be set through the menu
4. Electronic perpetual calendar function: You can set the time and run the time, 72 hours, with an error of less than 1s.
5. Alarm function: You can set the alarm, the alarm alarm, you can choose to temporarily turn off or completely turn off, and the temporary shutdown time value can be set through the menu.
6. Indicator indication: There are two LEDs in total, one LED is used to indicate that the power is on, and the other LED is used to indicate the alarm status.
7. Power-off memory: All parameters set and saved through the menu will be kept in memory after power-off and power-on again.
Competition stage:
1. Project details:
1. Product hardware composition
1. Display screen, 12864 dot LCD
2. Touch buttons\_4, respectively [switch] [up] [down] [function]\_
_3. Temperature and humidity sensor: DHT11_
_4. Formaldehyde sensor: DART mid-to-high-end sensor_
_5. Clock: internal low-power clock_
_6. Passive buzzer_
\_7. Light-emitting diode\_2, power on/off indication and alarm indication
2. Product function
1. Display formaldehyde detection value
2. Display temperature
3. Display humidity
4. Display system time
5. Alarm
1. Display screen interface shows alarm vibration dynamic picture
2. Buzzer beeps
3. LED flashes
4. Cancel to turn off the alarm for the day, and delay the alarm reminder for [set time].
6. Alarm:
1. Temperature alarm
2. Humidity alarm
3. Formaldehyde alarm
4. The display shows the corresponding dynamics, the buzzer alarms, and the LED flashes
5. After the alarm is canceled, it returns to the main interface and delays the alarm for [set time].
7. Power-off memory
1. Power-off memory for all setting parameters
3. Button operation
1. Power on/
off 1. In the main interface, press the [Switch] button to shut down
2. In the shutdown state, press [Switch] to start up
2. Cancel alarm or delay alarm
3. Setting operation
1. Enter the main menu
1. Press [Function] to enter the main menu
2. Main menu operation
1. Press [Up] [Down] to switch submenu options
2. Press [Switch] to confirm entering the submenu
3. Press [Function] to return to the main interface
3. Submenu setting interface
1. Press [Function] to switch setting options
2. Press [Up] [Down] to adjust
3. Press [Switch] to confirm and return to the main menu
2. Challenges faced by the project and solutions:
1. Design the display interface: The product is intended to be small and convenient. In the case of a 12864 display screen and a small size, it is particularly complex to design a simple and beautiful interface. Finally, we chose to use drawing to draw multiple display interfaces separately and save BMP images to design the UI. We chose to transplant the simple GUI to build the interface. At the same time, due to the frequent interface switching and in order to meet the low cost requirements , the selected MCU clock speed is low and the FLASH program storage space is small, so the program design requires very clever architecture and data structure design.
3. Hardware and software key points:
1. Software key points:
1. RTC clock drive and operation
2. Menu human-computer interaction design
3. Alarm processing human-computer interaction design
4. Material list display
![image.png]

* 5. Project picture upload
![image.png]

![image.png]

![image.png]

< br>![image.png]

![image.png]

< br>
* 6. Demonstrate your project and record it as a video upload
6.1. Video upload competition official website
6.2. B station video title and link
< span class="colour" style="color:rgb(170, 170, 170)">< span class="size" Notes: ①: Video requirements: Please shoot horizontally, with a resolution of no less than 1280×720, in Mp4/Mov format, and a single video size limited to 100M; ②: Video upload: Please upload to the official website of the competition and Bilibili ([www.bilibili.com](www.bilibili.com)) at the same time. The top 10 popular projects on Bilibili will receive a cash reward of 1,000-5,000 yuan, and other uploaded projects will receive a 100 yuan free threshold coupon for the LiChuang Mall; ③: Video title: The Fifth LiChuang Electronic Design Competition: {Project Name}-{Video Module Name}; such as the Fifth LiChuang Electronic Design Competition: "Autonomous Driving" Project-Team Introduction. < /span>< /span>< br> < br>
*
7. First Public Release
* 8. Open Source Documents: None
* 9. References: None
Click the link for more details: [https://www.szlcsc.com/go/dsxq](https://www.szlcsc.com/go/dsxq)