Sensor internal function chart:
The sensor has two ways of output signal, serial port output and analog voltage value output, so we can use Ginkgo's UART function and ADC function to achieve dust concentration detection.
Sensor voltage output and dust concentration correspondence table:
With the above table, we can get the dust concentration in the current environment by measuring the analog voltage output value or according to the serial port output data.
The following figure shows the upper computer interface based on Ginkgo adapter design:
The program simultaneously measures the analog voltage and serial port output data and displays them in two curves.
In practical use, note that in order to reduce the measurement error, the analog voltage output is recommended to add a low-pass filter to filter the signal, otherwise the measured value error is large, if you use the serial port data, there is no such problem.
Physical connection:
PC software source code and installation package download address: http://?mod=viewthread&tid=5138&highlight=%C0%FB%D3%C3Ginkgo%CA%CA%C5%E4%C6%F7%CA%B5%CF%D6% D2%BB%B8%F6PM2.5%2F%B7%DB%B3%BE%CE%EF%2F%BF%C5%C1%A3%CE%EF%BC%EC%B2%E2%D2%C7
Air Glow Xxl Vape Pen,Electronic Cigarette Xxl,Air Glow Xxl,Electronic Cigarettes
Shenzhen Aierbaita Technology Co., Ltd. , https://www.aierbaitavape.com