Evaluating the SG111A CO2 Sensor on PC
The SG111A is a new low cost, low power NDIR CO2 sensor. The sensor has 400-5000PPM range (10,000 PPM optional). The sensor can communicate with a host device via UART or PWM output.
For full specifications, download the full datasheet here: http://sensera.com/2018/wp-content/uploads/2019/04/SG111A-Datasheet-SG-1001-RevA-19-04-12.pdf
Evaluating the output from the sensor is easy. The UART interface makes querying the sensor status very simple and accurate (does not require any analog interpretation).
In this tutorial, we’ll show you how to connect the sensor to your PC and view the sensor output with Python.
Part 1 of the Tutorial will show you how to hook up the sensor via UART-USB and view the output from the sensor. Part 2 will show you how to visualize the data in Python and/or the Aretas IoT Cloud UI
- An FTDI adapter (we suggest the SparkFun FTDI Basic Breakout – 5V although any 5V FTDI adapter should work)
- 4 jumper wires to connect the SG111A to the FTDI adapter
- A Sensera SG111A CO2 sensor
- We’ll be using Python 3.x with PySerial for basic connectivity to the sensor
- If you want to follow along with the data visualization portion, you will need to install several modules (pandas, numpy, chart_studio, plotly)
Part 1 of the Tutorial is available here:
Part 2 is coming soon!