Skip to the content
2 layers163.5 × 133.5 mmMain pcb, the printed circuit board in 3D

A custom reaction chamber for automation of crop pathogens testing using a NAAT reaction, developed as a capstone project

Size
163.5 × 133.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
81
Pads
284
Tracks, vias
719, 99
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 May 2026
Updated
13 Aug 2026

Overview

Main pcb is an open-source printed circuit board by kylenmorris, from the kylenmorris/reaction-chamber repository on GitHub. It is a 2-layer board of 163.5 × 133.5 mm with 56 parts on 81 nets, routed with 719 tracks and 99 vias.

It is built around the APDS-9006-020, LMC660CM and MCP3208-BI/P, with the B8B-XH-A, B6B-XH-AM and B02P-VL among its other parts. Its parts include 10 capacitors, 10 resistors, 3 connectors and 1 transistor.

Main components

8

README

README.md

Reaction Chamber for Pathogen Detection in Crops

What is it?

Our capstone project was to design a self-contained device that would run Nucleic Acid Amplification Testing (NAAT), a method of in-field crop disease testing that replaces slow lab-based testing. This project was introduced to us by PathoScan who supplied the reaction tubes and supplies.

This device has several features, including maintaining and monitoring of internal chamber temperature, light-emission monitoring, storage of test results, and input/output from the user.

State Diagram

menu-nav

The system moves through seven states — BOOT, IDLE, HEATING, REACTING, RESULTS, HISTORY, and DEBUG.

Results

We had successful heating to 50°C+ within 30 minutes, which was within spec. Our photodiodes and ADCs worked to capture the correct wavelength, and this was shown to the user and stored on the SD card, where it could be retrieved later.

The software allows for compile-time switching between the individual hardware components and a set of fake sensors. This allows us to run tests without all hardware being present, as well as running fully automated software tests.

Block Diagram

system block diagram

Software Diagram

software block diagram

Libraries used:

Hardware Overview

hardware block diagram

  • Display [SPI0]: A 128x64 Transflective LCD (ST7656P) screen was chosen for readability in bright conditions and SPI support.
  • SD Card Reader [SPI1]: The Digilent Pmod MicroSD reader was chosen for its SPI support.
  • Temperature Sensors [I2C]: The Adafruit MCP9808 breakout was chosen for its I2C support (digital reads), and high accuracy (±0.25°C).
  • Phoodiodes: APDS-9006-020
  • ADCs and Shift Registers: 12-bit MCP3208 ADCs, SN74HC165N shift registers

Build and Flash Instructions

Pull the project into your chosen directory

text
git clone https://github.com/kylenmorris/reaction-chamber.git 

Navigate into the /src directory

text
cd ./src

Run the docker compose file to build the .uf2 executable (found in ~/src/out/)

text
docker compose run firmware

Flash the Pico 2 by using the RPi VSCode extension or copying the file over manually (where E: is the Pico 2 on your system)

text
Copy-Item out\main.uf2 E:\ -Force

Running Tests

The tests link the real logic_core against the simulated HAL, using run_system_state_loop_core0().

From the /src directory, configure a build and run it:

text
cmake -S . -B build_tests -DBUILD_TESTS=ON
cmake --build .\build_tests\
.\build_tests\Debug\test_main.exe

The test suite currently covers a few of the highest-value safety and operability checks:

  • the heater shuts off above TEMP_HIGH_HIGH_C, checked from every system state
  • the heater engages when the chamber is lower than desired temp and the system is HEATING
  • the heater never engages while a temperature sensor is reporting a fault -999C as seen in first picture
  • HEATING advances to REACTING once the chamber reaches target

Lessons and Future Work

Software

  • Increase the test suite coverage. The current tests are very limited: more a proof than anything extensive. We would like to include various failure states and further safety testing.
  • Additional informational screens and instructions. We would add more information to the user, more clearly state intentions and device state, and more gracefully recover from errors.

Hardware

  • Double the power resistors from two to four. This would allow for a lower per-resistor temperature and faster heating overall.
  • Add thermally insulative standoffs on the PCBs and heaters themselves. This allow for better heatsinking of the heaters, and ensure the chassis does not get too hot.
  • Add LED indicators for "heater on" and "device hot", and a buzzer for test-finished information. The device is currently too quiet about its state, especially for temperature and test state.

Acknowledgements

Built for an industry partner - PathoScan - as part of a capstone project. The implementation is original work.

Parts

56
QtyValueFootprintReferences
10100pCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC0, C1, C2, C3, C4, C5, C6, C7, C8, C9
108.25kul_MFP-25BRD52-10K:YAG_MF25_YAGR0, R1, R2, R3, R4, R5, R6, R7, R8, R9
10APDS-9006-020APDS_9006_020:photodiode_v4Photo0, Photo1, Photo2, Photo3, Photo4, Photo5, Photo7, Photo8, Photo9, UPhoto6
6B8B-XH-AConnector_JST:JST_XH_B8B-XH-A_1x08_P2.50mm_VerticalLCD_Header1, SD_Header1, Temp0_Header1, Temp1_Header1, Temp2_Header1, Temp3_Header1
3B6B-XH-AConnector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalBTN_Header1, SW0_Header1, SW1_Header1
3LMC660CMLMC660CMX_NOPB:SOIC127P600X175-14NOpAmp1, OpAmp2, OpAmp3
2B02P-VLB02P_VL:CONN_B02P-VL_JSTPower_Connector_3V3, Power_Connector_5V1
2B2B-XH-AB2B_XH_A:JST_B2B-XH-AFan_Header1, Heater_Actuation1
2Conn_01x20_SocketConnector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_VerticalJ1, J2
2MCP3208MCP3208_CI_P:DIP254P762X432-16ADC0, ADC1
1Conn_01x09_SocketConnector_PinSocket_2.54mm:PinSocket_1x09_P2.54mm_VerticalJ3
1DMG2305UX-7DMG2305UX_7:SOT91P240X110-3N_DMG2305UX-7Q1

The 52 most common of 56 parts.

More from kylenmorris/reaction-chamber

3
  • 2 layers57.1 × 48.5 mmPower splitter, the printed circuit board in 3D

    Power splitter

    kylenmorris/reaction-chamber

    A custom reaction chamber for automation of crop pathogens testing using a NAAT reaction, developed as a capstone project

    30 parts
  • 2 layers98.8 × 33 mmTube detection pcb, the printed circuit board in 3D

    Tube detection pcb

    kylenmorris/reaction-chamber

    A custom reaction chamber for automation of crop pathogens testing using a NAAT reaction, developed as a capstone project

    16 parts
  • 2 layers120.8 × 69 mmDisplay pcb, the printed circuit board in 3D

    Display pcb

    kylenmorris/reaction-chamber

    A custom reaction chamber for automation of crop pathogens testing using a NAAT reaction, developed as a capstone project

    15 parts

Similar boards

  • 4 layers70 × 70 mmVehiclePowerDistributionSystem, the printed circuit board in 3D

    VehiclePowerDistributionSystem

    RockSat-X/RSXVT2026

    Our experiment aims to evaluate the use of optical navigation with Commercial-off-the-Shelf (COTS) products for use in spaceflight applications.

    70 parts3MIT
  • 4 layers50 × 80 mmARGOS DEMO, the printed circuit board in 3D

    ARGOS DEMO

    CNES/argos-demo-board

    Demo board designed to use the ARRIBADA SMD module via USB to send ARGOS messages to the Kineis constellation.

    91 parts7CERN-OHL-S-2.0
  • 4 layers97 × 105.5 mmSTARDRIVE SHIELD V1 0, the printed circuit board in 3D

    STARDRIVE SHIELD V1 0

    themarcolab/Stardrive-Shield

    With STARDRIVE SHIELD you can implement from 6 step to FOC motor control algorithms.

    193 parts2
  • 4 layers70 × 70 mmIO:Sensor Board, the printed circuit board in 3D

    IO:Sensor Board

    Ethan-Scanlon/dataBoardTransfer

    46 parts1
  • 4 layers107.5 × 56 mmOutput panel, the printed circuit board in 3D

    Output panel

    gustebeast/public-steel-guitar

    A pedal steel guitar you can build yourself, from parts anyone can buy.

    179 partsCERN-OHL-S-2.0
  • 2 layers100 × 50 mm2202 unit display, the printed circuit board in 3D

    2202 unit display

    hamayanShowa-ele/kicad_share

    kicad share data.

    27 parts
  • 2 layers46.7 × 40.9 mmCASIO VX4 YM2413 Soundcard v1.1, the printed circuit board in 3D

    CASIO VX4 YM2413 Soundcard v1.1

    hwreverse/PokeConSound

    Soundcard Designs for Pocket Computers (ポケコン) (Sharp, Casio, TRS80-M100,...)

    22 parts7MIT
  • 6 layers100 × 140 mmMedical Imager, the printed circuit board in 3D

    Medical Imager

    yusufElnady/Medical-Imager

    This repository contains the PCB design for a 16-channel ultrasound imager based on the K26 SOM and the TX7516 pulser.

    514 parts

Questions

How big is the Main pcb PCB?

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

What parts does the Main pcb use?

56 parts, built around the APDS-9006-020, LMC660CM, MCP3208-BI/P and B8B-XH-A. 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 Main pcb KiCad files?

From the kylenmorris/reaction-chamber repository on GitHub, at the commit this page was made from: the board is PCB/main_pcb/main_pcb/main_pcb.kicad_pcb and its schematic PCB/display-pcb/display-pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Main pcb design in my own project?

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