Skip to the content
2 layersTriac driver, the printed circuit board in 3D

Bramble: Precision Agriculture Mesh

Copper layers
2
Thickness
1.6 mm
Parts
46
Nets
45
Pads
153
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 9.0 (file 20241229)
Created
18 Jun 2025
Updated
2 Aug 2026

Overview

Triac driver is an open-source printed circuit board by erikbeerepoot, from the erikbeerepoot/bramble repository on GitHub. It is a 2-layer board with 46 parts on 45 nets.

It is built around the BTA16-600SW3G, IRM-02-3.3S and ADUM1201AR, with the H11AA1 and MOC3021 among its other parts. Its parts include 16 resistors, 8 capacitors, 6 ICs, 5 connectors and 2 transistors. It belongs with the STM32 boards of this library.

Main components

5

README

README.md

Bramble

LoRa sensor and actuator network for farm monitoring, built on RP2040.

Hub-and-spoke architecture: a central hub manages the network while nodes collect sensor data (temperature, humidity) and control actuators (irrigation valves). LoRa provides long-range wireless with reliable delivery guarantees.

Hardware

  • Adafruit Feather RP2040 LoRa (SX1276, 915 MHz)
  • MT25QL01GBBB 128MB external flash for sensor data storage
  • STM32L010 PMU for power management and sleep

Building

Requires the Pico SDK. CMake is bundled at ~/.pico-sdk/cmake/v3.31.5/bin/cmake.

bash
# Build a specific variant
cmake -B build -DHARDWARE_VARIANT=SENSOR
cmake --build build -j8

# Variants: SENSOR, IRRIGATION, CONTROLLER, HUB, GENERIC, ALL

Each variant produces a named executable (e.g. bramble_sensor.uf2).

bash
# Run tests
cmake -B build -DBUILD_TESTS=ON
cmake --build build -j8

Flashing

Hold BOOTSEL and connect via USB, then copy the .uf2 file. Or use OpenOCD with a debug probe:

bash
~/.pico-sdk/openocd/0.12.0+dev/openocd \
  -s ~/.pico-sdk/openocd/0.12.0+dev/scripts \
  -f interface/cmsis-dap.cfg -f target/rp2040.cfg \
  -c "adapter speed 5000" \
  -c "program build/bramble_sensor.elf verify reset exit"

Architecture

text
[Sensor Nodes] --LoRa--> [Hub/Pico] --Serial--> [Raspberry Pi] --REST--> [Dashboard]
                               |                       |
                          128MB Flash              DuckDB
                        (local buffer)          (long-term storage)

Firmware (src/)

  • modes/ - Application modes per hardware variant (sensor, irrigation, hub, etc.)
  • lora/ - SX1276 driver, message protocol, reliable delivery, routing
  • hal/ - Hardware abstraction (flash, NeoPixel, valves, SPI)
  • storage/ - 128MB circular flash buffer for sensor records
  • config/ - Persistent node/hub configuration

API (api/)

Flask REST API on the Raspberry Pi. Receives sensor data from the hub over serial, stores in DuckDB.

bash
cd api && uv sync && uv run app.py

Dashboard (dashboard/)

React SPA for viewing sensor data, managing nodes, and organizing zones.

bash
cd dashboard && npm install && npm run dev

Setup

After cloning:

bash
./setup.sh  # configures git hooks

See CLAUDE.md for development guidelines and PLAN.md for the roadmap.

Parts

46
QtyValueFootprintReferences
1010kResistor_SMD:R_0805_2012MetricR5, R6, R7, R8, R9, R10, R13, R14, R15, R16
6100nFCapacitor_SMD:C_0805_2012MetricC2, C3, C4, C6, C7, C8
4MountingHole_PadMountingHole:MountingHole_2.5mm_PadH1, H2, H3, H4
2150Resistor_SMD:R_0805_2012MetricR11, R12
2180Resistor_SMD:R_0805_2012MetricR1, R2
2330Resistor_SMD:R_0805_2012MetricR3, R4
2BTA16-600SW3GPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q2
2H11AA1Package_DIP:DIP-6_W7.62mmU3, U4
2MOC3021Package_DIP:DIP-6_W7.62mmU1, U2
110uFCapacitor_SMD:C_0805_2012MetricC1
14.7uFCapacitor_SMD:C_0805_2012MetricC5
1ADuM1201ARPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1Conn_01x03_PinTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_HorizontalJ1
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1Conn_01x05_PinConnector_JST:JST_EH_B5B-EH-A_1x05_P2.50mm_VerticalJ5
1FAN_1TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2
1FAN_2TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ3
1IRM-02-3.3SConverter_ACDC:Converter_ACDC_MeanWell_IRM-02-xx_SMDPS1
1LED_Dual_AKALED_THT:LED_D3.0mm-3D1
1R_Potentiometer_USConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalRV1
1STM32L031F6P6TRPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU6
1STM_RESETButton_Switch_SMD:SW_SPST_EVQP2_MiddlePushTravel_H2.5mmSW2
1SW_Rotary_1x3_MPConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalSW1

More from erikbeerepoot/bramble

4
  • 2 layers72.1 × 70.7 mmBramble, the printed circuit board in 3D

    Bramble

    erikbeerepoot/bramble

    Bramble: Precision Agriculture Mesh

    121 parts
  • 2 layersBramble, the printed circuit board in 3D

    Bramble

    erikbeerepoot/bramble

    Bramble: Precision Agriculture Mesh

    74 parts
  • 4 layers68 × 64.3 mmHub carrier board, the printed circuit board in 3D

    Hub carrier board

    erikbeerepoot/bramble

    Bramble: Precision Agriculture Mesh

    73 parts
  • 2 layers37.3 × 42.3 mmBramble valve indexer, the printed circuit board in 3D

    Bramble valve indexer

    erikbeerepoot/bramble

    Bramble: Precision Agriculture Mesh

    35 parts

Similar boards

  • 2 layers29.5 × 38.3 mmBack pcb, the printed circuit board in 3D

    Back pcb

    slimcdk/lkf-smart-switch

    LK FUGA compatible ESP32 [ESPHome] smart switch

    8 parts2
  • 2 layers217 × 116 mmBoard nhiet, the printed circuit board in 3D

    Board nhiet

    NguyenThanhHuy-debug/PCB-Liquid-Dispensing-Cabinet

    PCB-Liquid-Dispensing-Cabinet — a software project built with modern tooling.

    191 parts4
  • 2 layers100 × 80 mmSmart Home Controller, the printed circuit board in 3D

    Smart Home Controller

    Ajith-Anand-R/Smart-Home-Controller

    Full-stack IoT home automation system with ESP32 firmware, Google Apps Script backend, web dashboard, and Flutter mobile app.

    11 parts1MIT
  • 2 layers95 × 60 mmPulseFlow - PCB, the printed circuit board in 3D

    PulseFlow - PCB

    HuibSmeets/PulseFlow

    Control a fan speed by heart rate

    28 parts1GPL-3.0
  • 2 layers150 × 100 mmAc dimmer, the printed circuit board in 3D

    Ac dimmer

    arunsaispk12/esp32-ac-dimmer-fan-controller

    Professional ESP32-based AC phase-control dimmer for fan speed control with optical isolation and safety features

    3 parts
  • 2 layers100 × 73.5 mmSmart Socket Final Version, the printed circuit board in 3D

    Smart Socket Final Version

    KevinAR-18/EcoLab-Dashboard

    EcoLab Dashboard is a smart laboratory EcoLab desktop application for real-time monitoring and control of laboratory devices within the UGM network.

    45 parts
  • 4 layers230 × 196.7 mmSteel form Dish washer, the printed circuit board in 3D

    Steel form Dish washer

    R-Mutura/DISHWASHER

    Contains hardware and Software implementation of a dishwasher product

    156 parts

Questions

What parts does the Triac driver use?

46 parts, built around the BTA16-600SW3G, IRM-02-3.3S, ADUM1201AR and H11AA1. 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 Triac driver KiCad files?

From the erikbeerepoot/bramble repository on GitHub, at the commit this page was made from: the board is schematics/bramble-fan-control/triac_driver.kicad_pcb and its schematic schematics/bramble-fan-control/driver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Triac driver design in my own project?

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