
HardwareInterfaceBoard
plb500/AutoBloomer-SensorModules
Code and PCB designs for AutoBloomer MQTT sensor modules

Code and PCB designs for AutoBloomer MQTT sensor modules
SensorPod Board is an open-source printed circuit board by plb500, from the plb500/AutoBloomer-SensorModules repository on GitHub. It is a 2-layer board of 67.9 × 92.1 mm with 21 parts on 43 nets, routed with 86 tracks and 0 vias.
It is built around the SCD30 and LM1117-3.3. Its parts include 5 connectors, 3 capacitors, 3 resistors, 3 ICs and 2 diodes. It belongs with the home automation and IoT and sensors and measurement boards and the RP2040 boards of this library.
Full plans and code for a sensor controller capable of publishing multiple sensor data via MQTT
Raspberry Pico source code is here
PCB schematics (KiCad format), plans plus any 3D prints/CNC files for the different hardware platforms are here
A brief overview is on YouTube
Under the hood the sensor modules use Raspberry Pico Ws to communicate with an MQTT broker and transmit data it collates from the following sensors:
I also intend to add EC and/or pH sensors to this to essentially make this a one-stop hydroponics sensor interface.
The module arranges these sensors into sensor "groups", referred to by their index. Each group effectively publishes a set of data from multiple sensors to a single MQTT topic. This allows the Sensor Pod, for example, to accumulate sensor data from both the SCD30 sensor and the Stemma Soil Sensor into a single topic, and also allows the HIB to publish sensor data to multiple topics (i.e. the RTC battery voltage and each individual connected feed sensor all publish to their own individual topics)
Currently there are two different hardware platforms defined:
The Sensor Pod consists of a single sensor group providing data from the following sensors:
The HIB consists of two distinct pieces of hardware. One section provides power and hardware control to the Raspberry Pi powering the AutoBloomer controller, along with a RTC module and interfacing to relays. The other section is the sensor module which provides data from feed level sensors along with the current RTC battery module voltage. These are grouped as follows:
Configuration of each module is done in two ways:
Basic pod configuration of essential runtime variables (wireless SSID/key, broker address, module location/name etc) is done via serial port connected to the bord's EXT header (3.3v, 57600/8/n/1) and transmitting commands in the format: <COMMAND><SENSOR_GROUP><PARAMETER> (note no space)
SSIDMyNetwork -> Sets the sensor module to connect to the wireless network with the SSID "MyNetwork"PASSthe_key -> Sets the sensor module to connect to the wireless network using the PSK "the_key"NAMESensorModule -> Sets the Pico's host/MQTT client name to be "SensorModule"BRKRthebroker.local -> Tells the sensor module to connect and publish to the MQTT broker with host name "thebroker.local"BRKR192.168.1.50 -> Tells the sensor module to connect and publish to the MQTT broker at address "192.168.1.50"GRPN0Group1Sensor -> Sets the name of the sensor group at index 0 to "Group1Sensor"GRPL0LeftChamber -> Sets the location of the sensor group at index 0 to "LeftChamber"Once these have been set the pod will attempt to connect to the configured broker via the supplied wireless network and begin publishing sensor data to the topic:
AutoBloomer/<< sensor group location >>/<< sensor group name >>Once connected, the pod will also subscribe to a specific MQTT topic to listen for sensor calibration commands. The topic in question is:
AutoBloomer/<< sensor group location >>/<< sensor group name >>/controlThe payload consists of a single line detailing the type of calibration to be performed. Currently the only sensor capable of (and requiring) calibration is the SCD30 on the Sensor Pod. Calibration commands are one of the following:
For example, setting a FRC value of 400 (i.e. recalibrating outside) and using mosquitto_pub the command line would look something like this:
mosquitto_pub -h broker.address -m "FRC 400" -t "AutoBloomer/SensorLocation/SensorName/control"For more details on these parameters, see the SCD30 documentation here
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 10uF | Capacitor_THT:C_Radial_D6.3mm_H5.0mm_P2.50mm | C2, C3 |
| 2 | 4.7k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2 |
| 2 | D_Schottky | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2 |
| 1 | 1000uF | Capacitor_THT:CP_Radial_D12.5mm_P5.00mm | C1 |
| 1 | 10K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3 |
| 1 | DC 5-15v | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J4 |
| 1 | EXT | Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_Vertical | J1 |
| 1 | EXT I2C | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J2 |
| 1 | LM1117-3.3 | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | U3 |
| 1 | Pico W | RPi_Pico:RPi_PicoW_SMD_TH | U1 |
| 1 | Power select | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J5 |
| 1 | Reset | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J3 |
| 1 | SCD30 | SCD30:MODULE_SCD30 | U2 |
| 1 | TP0610L | Package_TO_SOT_THT:TO-92L_Inline | Q1 |
The 17 most common of 21 parts.

plb500/AutoBloomer-SensorModules
Code and PCB designs for AutoBloomer MQTT sensor modules

willem-pennings/Air-Quality-Sensor
Design files for a Home Assistant-compatible air quality sensor/monitor

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.

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


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

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

benmcnelly/walter-hardware
This repository contains all hardware information about Walter and shields

bruvv/ENV-sensor-esp32
Custom ESP32-S3 environmental sensor PCB designed for use with ESPHome and Home Assistant.
It measures 67.9 × 92.1 mm and has 2 copper layers, 1.6 mm thick.
21 parts, built around the SCD30 and LM1117-3.3. 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.
From the plb500/AutoBloomer-SensorModules repository on GitHub, at the commit this page was made from: the board is hardware/SensorPod/PCB/SensorPod-Board.kicad_pcb and its schematic hardware/HIB/PCB/HardwareInterfaceBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask plb500 before reusing the design.