Skip to the content
2 layers44.4 × 22 mmNRF52840-FART V3, the printed circuit board in 3D

A zigbee based, dual probe temperature sensor designed to operate on battery.

Size
44.4 × 22 mm
Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
18
Pads
30
Tracks, vias
27, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
20 Jan 2025
Updated
25 Jul 2025

Overview

NRF52840-FART V3 is an open-source printed circuit board by tomasmcguinness, from the tomasmcguinness/zigbee-nrf-flow-and-return-temperature-sensor repository on GitHub. It is a 2-layer board of 44.4 × 22 mm with 9 parts on 18 nets, routed with 27 tracks and 0 vias.

It is built around the TS02-66-55-BK-100-LCR-D. Its parts include 2 resistors, 2 connectors, 1 IC and 1 switch. It belongs with the radio and wireless and sensors and measurement boards and the nRF52 and nRF5x boards of this library.

Main components

1

README

README.md

Zigbee Flow and Return Temperature Sensor on nRF52840

A Zigbee Sensor designed to monitor flow and return temperatures. The sensor provides two temperature sensor probes in a single unit. It can be used to monitor a boiler's flow and return temperatures or the difference between the tails of a radiator.

It uses two NTC Thermistors, which can be attached to the flow and return pipes on whatever you wish to measure; radiator tails, boiler flow and return, hot water cylinder.

Battery powered, this sensor should run for over about a year and a half on a coin battery or around ten years on a 2000mAh battery.

[!IMPORTANT] This is still a work in progress. I have included a short list of items at the end of this README

Parts

  • 1 x Seeed XIAO nRF52840
  • 2 x 10kΩ 0.1% resistors
  • 2 x NTC Thermistors (I use these TT0P-10KC3-T105-1500)
  • 1 x push button

Wiring

In the diagram below, you would replace the two 10kΩ thermistor that are not on the breadboard with the actual probes

image

Compiling

This code has been developed using NCS (nRF Connect Software), with pin outs and battery reading chosen for the Seeed XIAO nrf52840. It should run on any nRF52840 with some tweaking. There is an overlay included for the nRF52840DK, which I use for development.

To compile, run the following command in an nRF Connect terminal. The pristine build (-p) flag isn't always necessary.

text
west build -b xiao_ble -p

Flashing

The XIAO board can be flashed using two methods. The first is done using the factory installed bootloader. The second is done using a J-Link programmer. I have a J-Link programmer, so that's the method I've been using.

UF2

[!CAUTION] Whilst this method should work, I haven't have any success! I want to make this project accessible to those without a J-Link, so I will dedicate time to it.

First, connect the board via USB to your computer. Next, double click the Reset button. A new USB drive should appear.

The compilation process will generate a UF2 firmware file and it will be be located here:

text
zigbee-nrf-flow-and-return-temperature-sensor\build\zigbee-nrf-flow-and-return-temperature-sensor\zephyr\zephyr.uf2

Just copy and paste this file onto the USB drive and the application should start.

J-Link

If you have a J-Link programmer, connect the board and run this command.

text
west flash

Pairing

Once you have flashed the nRF52840 and powered it up, it will enter pairing mode. You can then add it to your Zigbee network using your usual method.

NTC Thermistors

My Zigbee sensor was build with the TT0P-10KC3-T105-1500 probes, as I have already mentioned. These have a nominal resistance of 10kΩ @ 25°C and have a beta value of 3977. The relevant definitions in the code are here.

text
#define THERMISTORNOMINAL 10000
#define TEMPERATURENOMINAL 25
#define BCOEFFICIENT 3977
#define SERIESRESISTOR 10000

[!NOTE] If you want to use a different thermistor, you can change these values. I plan on making these configurable via the project, but for now you will need to change them directly in code.

GPIOs

There several GPIOs configured by this project. These have been picked for the Seeed XIAO nRF52840 board.

image

GPIOUsage
P0.03ADC (AIN1) pin for Probe 1
P0.29ADC (AIN5) pin for Probe 2
P0.28Power for the voltage dividers connected to the NTC temperature probes
P1.13Reset pin. Apply high for 10 seconds to reset the Zigbee configuration

Zigbee ZCL

In order to maintain compatability, this sensor uses standard ZCL clusters rather.

There are three Endpoints 1, 5 & 7

Endpoint 1 contains the Basic cluster, the Identify Cluster and the Power Configuration Cluster. Endpoint 5 contains a Temperature Measurement Cluster Endpoint 7 contains a Temperature Measurement Cluster

Home Assistant

I have tested my sensor on HomeAssistant using the ZHA integration and it displays pretty well.

image

Unfortunately, the probe names are terrible.

text
sensor.coldbear_fart_sensor_temperature
sensor.coldbear_fart_sensor_temperature_2

I have tried to make a ZHA "Quirk" to display the probes like this:

text
sensor.coldbear_fart_sensor_flow_temperature
sensor.coldbear_fart_sensor_return_temperature

but I haven't had any success yet making it work how I want. I have included my work in progress in the project.

Battery Life

I've invested a lot of time to try and ensure long battery life and I think I've gotten it to over a year on a coin battery! Average consumption is around 16µA

image

I've written quite a few blog posts detailing the journey, which are up on my blog. You can start here:

https://tomasmcguinness.com/2024/12/19/reducing-power-consumption-in-my-nrf52840-zigbee-sensor-with-the-help-of-a-nordic-semiconductors-power-profiler-ii-kit/

Setup

Once powered up, you can add the device to your Zigbee network as you would any other Zigbee device.

PCB

Using KiCAD, I have designed a PCB for this code.

V2

A mix of SMD and throughhole mountings, this revision fixes the traces for the reset button (issue in V1) and uses updated footprints for the JST connectors.

image

[!CAUTION] The battery connections on this PCB are just very difficult to make. I've tried on three different boards, but I've not managed to power the XIAO using the battery terminal. If you had a finer soldering iron, you might have better luck.

V3

To work around the battery terminal issue and make it easier to for amateurs like myself to solder, V3 has switched to a socket mount for the XIAO board. I also hope to use pogo pins to make the battery connections.

image

[!NOTE] As of the 15th Feb 2025, I am waiting on the first fabricated versions of this board to verify the socket and pogo pin design will work.

V4

This is incomplete. The goal is to move to SMD mounting compleletely and introduce a CR2032 battery holder to make the unit complete. It's present in the PCB-V4 branch.

[!CAUTION] V4 is a work in progress and not ready for use!

All the external connections for NTC probes and battery are via JST connectors.

If you are interested in buying a PCB, do let me know. If there is enough interest, I can place a bulk order.

Support

If you want to support this project, please consider buying me a coffee!

Buy Me a Coffee at ko-fi.com

Next Steps

  • Fix reset button PCB traces
  • Use reset button to reverse probes i.e. swap readings
  • Indicate when probes are swapped
  • Confirm long-term reliability
  • Ensure battery life

Parts

9
QtyValueFootprintReferences
3Conn_01x02_PinConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalBATT1, Probe1, Probe2
20914-3-15-20-77-14-11-0Samac:0914315207714110J1, J2
210KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
1TS02-66-55-BK-100-LCR-DTS02-66-55-BK-100-LCR-D:SW_TS02-66-55-BK-100-LCR-DS1
1xiao-bleKleeb:xiao-ble-thtU1

More from tomasmcguinness/zigbee-nrf-flow-and-return-temperature-sensor

1
  • 2 layers44.4 × 22 mmNRF52840-FART, the printed circuit board in 3D

    NRF52840-FART

    tomasmcguinness/zigbee-nrf-flow-and-return-temperature-sensor

    A zigbee based, dual probe temperature sensor designed to operate on battery.

    7 parts20

Similar boards

  • 4 layers95 × 67 mmLoRaDongle iCE40, the printed circuit board in 3D

    LoRaDongle iCE40

    marrrk/LoRaDongle

    A Risc-V Based LoRa custom PCB

    145 parts4
  • 2 layers62.7 × 67.2 mmController board, the printed circuit board in 3D

    Controller board

    Raghav67816/NID-24

    An EMG based human device interface, integrating edge device continuous feature extraction for better identification of signals during muscle fatigue.

    16 parts1
  • 2 layers103 × 30.5 mmTS Back Endcap, the printed circuit board in 3D

    TS Back Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    9 parts1.3kMIT
  • 2 layers31.8 × 47.6 mmNGC 38 connector, the printed circuit board in 3D

    NGC 38 connector

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    9 parts1.2k
  • 2 layers24 × 27.3 mmExpansion Card Retrofit, the printed circuit board in 3D

    Expansion Card Retrofit

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    9 parts1.1kCC-BY-4.0
  • 2 layers15.6 × 17.3 mmSKR Mini TFT Thermistor Board, the printed circuit board in 3D

    SKR Mini TFT Thermistor Board

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    9 parts1.1kGPL-3.0
  • 2 layers39.1 × 49.5 mmLearnoliver, the printed circuit board in 3D

    Learnoliver

    hackclub/OnBoard

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

    9 parts915
  • 2 layers17.4 × 16.9 mmToolhead, the printed circuit board in 3D

    Toolhead

    tanaes/whopping_Voron_mods

    9 parts787GPL-3.0

Questions

How big is the NRF52840-FART V3 PCB?

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

What parts does the NRF52840-FART V3 use?

9 parts, built around the TS02-66-55-BK-100-LCR-D. 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 NRF52840-FART V3 KiCad files?

From the tomasmcguinness/zigbee-nrf-flow-and-return-temperature-sensor repository on GitHub, at the commit this page was made from: the board is PCB/nRF52840-FART-V3/nRF52840-FART-V3.kicad_pcb and its schematic PCB/nRF52840-FART-V3/nRF52840-FART-V3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the NRF52840-FART V3 design in my own project?

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