Skip to the content
2 layers32.8 × 24.9 mmHeaterControl, the printed circuit board in 3D

Multi node heater control on Nordic BTLE

Size
32.8 × 24.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
58
Pads
132
Tracks, vias
283, 35
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
24 Mar 2019
Updated
31 Jan 2020

Overview

HeaterControl is an open-source printed circuit board by TheTosters, from the TheTosters/HeaterControl repository on GitHub, published under the BSD-3-Clause licence. It is a 2-layer board of 32.8 × 24.9 mm with 17 parts on 58 nets, routed with 283 tracks and 35 vias.

It is built around the DS18B20 and BL654. Its parts include 6 resistors, 4 connectors, 2 capacitors, 2 ICs and 1 diode.

Main components

2

README

README.md

IMPORTANT

Toolchain:

  • gcc-arm-none-eabi-8-2018-q4-major, or
  • gcc-arm-none-eabi-8-2019-q3-update-linux

NRF SDK:

  • nRF5_SDK_15.2.0_9412b96

You also need nrfprog tools and small patch for SDK from CMSIS. But this is handled by preapre_env.sh

To build & run tests...

This is super-glue solution, so your eyes will bleeed... It will use host compiler (not cross-compiler) to build host based tests. It is NOT ment to test all, only most complicated logic. So to have test build and run you have to:

text
cmake .. -DBUILD_TESTS=ON
make all

then you can call for example: ./test/time_schedule_tests

Manual patching SDK

If you set C++ to use C++17 dialect then compilation fails :P You have to manualy patch NordicSDK (15.2) and upgrade CMSIS to have things working go here Arm CMSIS 5 on Github and download following files which should be placed here:

CMSIS fileDestination
libarm_cortexM4lf_math.a, libarm_cortexM4l_math.a>nordic_SDK_15.2/components/toolchain/cmsis/dsp/GCC
arm_cortexM4lf_math.lib arm_cortexM4l_math.lib>nordic_SDK_15.2/components/toolchain/cmsis/dsp/ARM
CMSIS_5-develop/CMSIS/Core/Include>nordic_SDK_15.2/components/toolchain/cmsis/include

clean & build all should work

Variants

This repository contains several firmware variants. It can be used by setting proper defines for CMake, most easy way to do it is to execute ccmake. Below is list of build variants and their descriptions:

VariantEntry pointDescription
Indoor SHT_ADVmain_indoor_1.cppBT: Advertisement
Sensor: SHT30
Buttons: None
LED: None
Display: None
Indoor SHT_GATTmain_indoor_1a.cppBT: GATT
Sensor: SHT30
Buttons: None
LED: None
Display: None
Indoor DS_FULLmain_indoor_1.cppBT: Advertisement
Sensor: DS18B20
Buttons: yes
LED: None
Display: Yes

Origins

first instruction taken from: https://github.com/Polidea/cmake-nRF5x It is constantly changed and improved (or downproved :P)

Parts

17
QtyValueFootprintReferences
34,7kResistor_SMD:R_0402_1005MetricR1, R2, R4
210Resistor_SMD:R_0402_1005MetricR5, R6
1100nFCapacitor_SMD:C_0402_1005MetricC1
110uFCapacitor_Tantalum_SMD:CP_EIA-2012-12_Kemet-RC2
122Resistor_SMD:R_0402_1005MetricR3
1BL654Laird:BL654U2
1BTNResistor_SMD:R_1206_3216MetricSW1
1BatteryCR2032_BatHolder:Cr2032-HolderB1
1DEV_PORTConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1DS18B20Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical_SMD_Pin1LeftJ1
1ExtConnector_PinHeader_1.00mm:PinHeader_2x04_P1.00mm_Vertical_SMDJ4
1OSTB0603C1C-A LED_RGB:LED_PACKAGE_1.6x1.5mmD1
1SHT30-DIS-BSHT30-DIS-B:DFN250X250X100-9NU3
1TC2030-CTXTag-Connect:TC2030-NL_SMALLP1

More from TheTosters/HeaterControl

4
  • 2 layers53.3 × 39.1 mmUniversal v2, the printed circuit board in 3D

    Universal v2

    TheTosters/HeaterControl

    Multi node heater control on Nordic BTLE

    30 partsBSD-3-Clause
  • 2 layers48.5 × 36.8 mmReciever, the printed circuit board in 3D

    Reciever

    TheTosters/HeaterControl

    Multi node heater control on Nordic BTLE

    21 partsBSD-3-Clause
  • 2 layers35.3 × 30.2 mmUniversal v3, the printed circuit board in 3D

    Universal v3

    TheTosters/HeaterControl

    Multi node heater control on Nordic BTLE

    16 partsBSD-3-Clause
  • 2 layers31.5 × 27.2 mmHeaterControl, the printed circuit board in 3D

    HeaterControl

    TheTosters/HeaterControl

    Multi node heater control on Nordic BTLE

    14 partsBSD-3-Clause

Similar boards

  • 2 layers54 × 54 mmPCB C, the printed circuit board in 3D

    PCB C

    dragondgold/CanSat

    Plataforma educativa basada en un satélite CanSat

    58 parts1GPL-3.0
  • 2 layers33.7 × 97.8 mmHAN ESP TSS721, the printed circuit board in 3D

    HAN ESP TSS721

    UtilitechAS/amsreader-firmware

    ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported

    29 parts470
  • 2 layers121 × 68 mmFreeds sanchez, the printed circuit board in 3D

    Freeds sanchez

    pablozg/freeds

    Derivador de energía solar excedente creado por Pablo Zerón, Diseño PCB por Amcalo, Tester original por Aeizoon, Wiki por Zoilo Mora

    42 parts108
  • 2 layers80 × 54.9 mmESP32WifiAisTempVolt2, the printed circuit board in 3D

    ESP32WifiAisTempVolt2

    AK-Homberger/NMEA2000WifiGateway-with-ESP32

    This repository shows how to build a NMEA2000 WiFi Gateway with voltage and temperature alarms.

    18 parts94GPL-3.0
  • 2 layers52 × 61 mmArduino motorfocus, the printed circuit board in 3D

    Arduino motorfocus

    fehlfarbe/arduino-motorfocus

    Arduino motorfocus with moonlite protocol for telescopes

    23 parts58MIT
  • 2 layers69 × 57 mmBuoy4, the printed circuit board in 3D

    Buoy4

    wjpavalko/Maker-Buoy

    Repository of Open Source Maker Buoy Files

    46 parts39
  • 2 layers26 × 34.8 mmWemosD1Mini, the printed circuit board in 3D

    WemosD1Mini

    RuiSantosdotme/ESP8266-Multisensor-Shield

    Complete step-by-step instructions »

    10 parts29
  • 2 layers162 × 60 mmEsp shield, the printed circuit board in 3D

    Esp shield

    felixwittwer/homeassistant_automaic_greenhouse

    A cool Project to make your greenhouse smart. What about automaic irrigation and collecting enviromental data right from your garden.

    20 parts27

Questions

How big is the HeaterControl PCB?

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

What parts does the HeaterControl use?

17 parts, built around the DS18B20 and BL654. 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 HeaterControl KiCad files?

From the TheTosters/HeaterControl repository on GitHub, at the commit this page was made from: the board is hardware/universalSensor/HeaterControl.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the HeaterControl design in my own project?

Its repository publishes it under the BSD-3-Clause licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).