-
Notifications
You must be signed in to change notification settings - Fork 1
Calibration
Hagen Fritz edited this page May 27, 2021
·
1 revision
Due to the nature of low-cost sensors, calibration needs to occur in order to improve their accuracy.
The SPEC sensors need an initial calibration to identify the sensitivity factor. Since the SPEC sensors are the only sensors using serial communication, we have to use a program like picocom to communicate with them. The following steps allow you to view the output of the SPEC sensors:
- The SPEC sensors are connected via USB so check to see if they are any USB devices by typing either
$ lsusb
or changing into the/dev/
directory and listing all directories/files. In the first case, you should see two devices that start with the name "Cyngal Integrated Products". In the latter, look for "ttyUSB0" and "ttyUSB1" in the/dev/
directory. - Use picocom to connect to one of the USB devices (0 or 1) with:
$ sudo picocom /dev/ttyUSB0
- You can check which sensor you are communicating with by typing "e"
- These sensors need a continuous source of power to function most effectively. When you initially connect them, you should let them run for at least an hour or until the concentration has settled out. To see the measurement values, you have two options:
- Pressing enter will return one measurement
- Typing "c" will start the continuous measurement, and values will be reported every second.
- The output is the following: serial number, concentration (ppb), temperature (C), relative humidity, raw value 1, raw value 2, raw value 3, number of days, then hours, then minutes, then seconds that the sensor has been on.
- Type "c" and check to see that the concentrations are in relative agreement. If this is the case, you can type "r" to get out of continuous measurement.
- If the concentration is stable, you have two options: zero the sensor or specify the concentration in the room:
- If the concentration of the pollutant is zero, type "Z" to zero the sensor.
- if the concentration of hte pollutant is known, type "S XXX" with the known concentration in ppm.
More questions that can be answered here? Contact the creator, Hagen Fritz, at [email protected]