1.芯片解密lcd段码屏显示
2.芯片解密传感器部分:温湿度 SHT31 PM2.5: 四方光电 PM2008 CO2 : CM1106 TVOC传感器
3.芯片解密4路触摸按键: 经典算法 : 长按 短按 持续按键 复合按键
5,芯片解密庆科wifi模块 串口通信
6.芯片解密锂电池 充电 升压 二合一
7.芯片解密设备联控:采用标准的MOSBUS RTU 协议

单片机源程序如下:
- /**************************************************************************//**
- * @file main.c
- * @version V2.00
- * $Revision: 5 $
- * $Date: 15/01/16 11:44a $
- * @brief Implement timer counting in periodic mode.
- * @note
- * Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.
- ******************************************************************************/
- #include "define.H"
- #define PLL_CLOCK 50000000
- /*---------------------------------------------------------------------------------------------------------*/
- /* Global Interface Variables Declarations */
- /*---------------------------------------------------------------------------------------------------------*/
- volatile uint32_t g_au32TMRINTCount[4] = {0};
- uint8_t PwmIO_count;
- uint16_t PM_value;
- uint16_t CO2_value;
- uint16_t HCHO_value;
- #if 0
- /*
- V003 2019-03-02
- 1,Power on and power off button change to touch leave control,
- perviously is short press control.
- 2.WIFI COM temperture,perviously version PCBA send indoor temperture,
- modified to send inlet air temperature.
-
- V009 2019-05-25
- 1.Add DS1302 RTC
- 2.Adjust the GPIO with 20190325 schematic
- V010 2019-05-29
- 1.Set PM2.5 value 999 up limit
- 2.Modify the button sequence except child lock.
- */
- #endif
- /**
- * @brief Timer0 IRQ
- *
- * @param None
- *
- * @return None
- *
- * @details The Timer0 default IRQ, declared in startup_NUC131.s.
- */