Skip to the content
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

Size
112 × 112 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
58
Pads
144
Tracks, vias
170, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
12 Feb 2025
Updated
13 May 2025

Overview

External 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 112 × 112 mm with 18 parts on 58 nets, routed with 170 tracks and 0 vias.

It is built around the NE556N. Its parts include 11 connectors, 3 resistors, 2 capacitors and 2 ICs. It belongs with the sensors and measurement boards of this library.

Main components

1

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

18
QtyValueFootprintReferences
2100nCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
2Conn_01x02_SocketConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ5, J9
2Conn_01x03_PinConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ10, J11
2Conn_01x08_SocketConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ3, J6
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
122kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1CY8CKIT-059PSOC Footprint:MODULE_CY8CKIT-059U1
1Conn_01x02_SocketConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1Conn_01x05_SocketConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ4
1Conn_01x06_SocketConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ8
1Conn_01x07_SocketConnector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ2
1Conn_01x08_SocketConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ7
1NE556NNE556N Footprint:DIP794W45P254L1930H508Q14U2

More from VJLeong/co2_project

1
  • 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

    6 parts

Similar boards

  • 2 layers100 × 80 mmApc556fix, the printed circuit board in 3D

    Apc556fix

    djarky/PCBs

    Various PCBs

    12 parts
  • 2 layers27.9 × 16.5 mmPowerSSO-24 breakout, the printed circuit board in 3D

    PowerSSO-24 breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    18 parts1.2k
  • 2 layers42.7 × 13.7 mmStm32-mini12864, the printed circuit board in 3D

    Stm32-mini12864

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    18 parts1.1kGPL-3.0
  • 2 layers41.2 × 46.6 mmThumb cluster left, the printed circuit board in 3D

    Thumb cluster left

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    18 parts993
  • 2 layers44 × 51.3 mm4272MAVcoder R4, the printed circuit board in 3D

    4272MAVcoder R4

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    18 parts915
  • 2 layers28.3 × 14.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    18 parts716GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 stepper driver, the printed circuit board in 3D

    L0 stepper driver

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    18 parts546MIT
  • 2 layersMooltipass, the printed circuit board in 3D

    Mooltipass

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    18 parts531

Questions

How big is the External chamber PCB?

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

What parts does the External chamber use?

18 parts, built around the NE556N. 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 External chamber KiCad files?

From the VJLeong/co2_project repository on GitHub, at the commit this page was made from: the board is external_chamber/external_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 External chamber design in my own project?

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