How Can We Help?
< Back
You are here:
Print

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

Hardware Requirements:

  1. An FTDI adapter (we suggest the SparkFun FTDI Basic Breakout – 5V although any 5V FTDI adapter should work)
  2. 4 jumper wires to connect the SG111A to the FTDI adapter
  3. A Sensera SG111A CO2 sensor

Software Requirements

  1. We’ll be using Python 3.x with PySerial for basic connectivity to the sensor
  2. 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:

https://www2.aretas.ca/knowledge-base/sg111a-co2-sensor-and-python/

Part 2 is coming soon!

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Table of Contents