專題的動機來自於: 教室無空氣通風換氣設計,儘管老師很努力教學,可能因為同學人數眾多,CO2濃度過高,造成學習成效打折,因此希望有便宜的偵測裝置,來提醒老師和同學開門窗,解決非智力和意志力的障礙。 The main target is to use Embeded uC to do analog input Voltage conversion to digital value (may include linearization and temperature compensation) and then send out digital CO2 concentration value through Bluetooth/Wifi module (using UART) to Raspberry Pi2 board. Since PM2.5 sensor and LPG sensors are also easy to be integrated into the same CO2 detector, so they were also adopted for extended values of this detector. To save power, PM2.5 detector could be designed to use very small power by using duty cycle control, and this happen to add a little bit more complexity on the practice of programming the Cortex-M.