Skip to the content
2 layers80 × 100 mmInternal Chamber, the printed circuit board in 3D

Internal Chamber

VJLeong/co2_project

Automated Compensation of Environmental Changes of CO2 Gas Sensor Response

Size
80 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
9
Pads
23
Tracks, vias
38, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
12 Feb 2025
Updated
13 May 2025

Overview

Internal Chamber is an open-source printed circuit board by VJLeong, from the VJLeong/co2_project repository on GitHub. It is a 2-layer board of 80 × 100 mm with 6 parts on 9 nets, routed with 38 tracks and 0 vias.

It is built around the DS18B20 and SCD30. Its parts include 3 connectors, 2 ICs and 1 resistor. It belongs with the sensors and measurement boards of this library.

Main components

2

README

README.md

Automated Compensation of Environmental Changes on CO2 Gas Sensor Response

Project Supervisor: Dr. Ajay Achath Mohanan
Project Members: Leong Van Jun, Vincent Law Yun Kae
Project Commence Date: November 2024 - Present

Project Description

The main objective of the project is to introduce Artificial Intelligence (AI) and/or machine learning (ML) tools to assist in analysing patterns in obtained carbon dioxide sensor readings and filtering of unwanted noises.
This objective is achieved through proper setting up of the hardware setup and environment of the carbon dioxide sensor. Which is achieved by constructing of appropriate PCB and testing through external microcontroller units.
For this project, the microcontroller unit used is the PSoC 5LP module and PCB design software used is Kicad 8.

Changelog

13/5/2025:

  • Redesigned second version of external chamber PCB -- ready for remanufacturing if needed
  • Updated PID controller for heater controls to P controller (Kp = 120.0f)

18/4/2025:

  • Added external chamber PCB schematic design into the repo
  • Begin testing with external chamber PCB prototype

23/3/2025:

  • Updated capacitance.py to remove KNN cluster and median filtering algorithm to display raw data output in graph
  • Added heater PID bang-bang control and temperature sensor (3/3 tasks)

3/3/2025:

  • Written Python script involving KNN machine learning algorithm to help effeciently filter outlier values in read capacitance values

22/2/2025:

  • Re-updated read_capacitance function
  • Included improved analogue circuitry to measure capacitance, now using an NE556N timer module instead of simple RC circuit (LTSpice file included!)

13/2/2025:

  • Completed two tasks of three: Measure capacitance via PSoC
  • Currently debugging capacitance value, current capacitance value too small!

12/2/2025:

  • Uploaded PSoC Creator and Kicad project files into Github repo for the first time.
  • Completed one task of three: Interface SCD30 on PCB with PSoC 5LP to obtain CO2 concentration, temperature, and relative humidity levels (rh%)

Reference Materials

SCD30 item website: https://sensirion.com/products/catalog/SCD30
SCD30 Datasheet: https://sensirion.com/media/documents/4EAF6AF8/61652C3C/Sensirion_CO2_Sensors_SCD30_Datasheet.pdf
SCD30 Interface Description: https://sensirion.com/media/documents/D7CEEF4A/6165372F/Sensirion_CO2_Sensors_SCD30_Interface_Description.pdf
SCD30 Example Code: https://github.com/Sensirion/embedded-scd/releases/tag/2.1.1

Acknowledgement

Thank you to Dr. Ajay for his supervision and guidance for the project members throughout the project duration.

Parts

6
QtyValueFootprintReferences
2Conn_01x02_PinConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ2, J3
14.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_HorizontalR1
1Conn_01x07_PinConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ1
1DS18B20Package_TO_SOT_THT:TO-92_InlineU3
1SCD30SCD30 Footprint:MODULE_SCD30U1

More from VJLeong/co2_project

1
  • 2 layers112 × 112 mmExternal chamber, the printed circuit board in 3D

    External chamber

    VJLeong/co2_project

    Automated Compensation of Environmental Changes of CO2 Gas Sensor Response

    18 parts

Similar boards

  • 2 layers114.2 × 36.8 mmAirbox, the printed circuit board in 3D

    Airbox

    Alacrity-Education/AirBoxV2

    The AirBox V2 Station is an open source air quality monitoring station based on the Sensirion SEN66 sensor. It measures particulate matter, CO2, VOC and NOx, runs on a solar charged lithium cell, and reports over Wi-Fi.

    68 parts6GPL-3.0
  • 2 layers48 × 49 mmSensors, the printed circuit board in 3D

    Sensors

    Th3Link/homeautomation

    Components for a CAN-bus home-automation system: relay/rollershutter/ light/button/sensor nodes on a shared CAN bus, bridged to MQTT (and from there to openHAB or Home Assistant) by a gateway.

    58 partsGPL-3.0
  • 2 layers100 × 100 mmAir Quality Sensor, the printed circuit board in 3D

    Air Quality Sensor

    willem-pennings/Air-Quality-Sensor

    Design files for a Home Assistant-compatible air quality sensor/monitor

    17 parts12
  • 2 layers59.2 × 39.4 mmScd30 esp, the printed circuit board in 3D

    Scd30 esp

    Duckle29/InKli

    An ESP32-WROOM32 backpack for an SCD30. Uses a high effeciency Buck converter to try and avoid self heating.

    63 parts1
  • 2 layers120 × 100 mmEnvSensor v2, the printed circuit board in 3D

    EnvSensor v2

    jakubprzybytek/Environmental-Sensors

    162 parts1
  • 2 layers60 × 60 mmMinico2, the printed circuit board in 3D

    Minico2

    artemist/minico2

    A simple CO2 monitor based on the Sensirion SCD-30 and an ESP32. This is intended to have Wi-Fi and Ethernet thought that is not yet implemented

    46 parts
  • 2 layers36 × 57 mmFug, the printed circuit board in 3D

    Fug

    bboe/fug

    Carrier PCB joining a WEMOS D1 Mini (ESP8266) to a Sensirion SCD30 CO2/RH/T sensor. Script-generated KiCad.

    13 partsCC-BY-SA-4.0
  • 4 layers94 × 94 mmWalter feels, the printed circuit board in 3D

    Walter feels

    benmcnelly/walter-hardware

    This repository contains all hardware information about Walter and shields

    154 partsGPL-3.0

Questions

How big is the Internal Chamber PCB?

It measures 80 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Internal Chamber use?

6 parts, built around the DS18B20 and SCD30. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Internal Chamber KiCad files?

From the VJLeong/co2_project repository on GitHub, at the commit this page was made from: the board is kicad_files/Internal Chamber.kicad_pcb and its schematic external_chamber/external_chamber.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Internal Chamber design in my own project?

Its repository states no licence, so its author keeps all rights: ask VJLeong before reusing the design.