Loading files…
BEng in Electronics Engineering thesis project, focused on low-power design and RF performance.
A compact, coin-cell-powered Bluetooth Low Energy sensor node that measures temperature and humidity and broadcasts the data as BTHome advertisements, without needing a persistent connection.
Rev B, BSN-C23-B: the top with the printed antenna along the upper edge (left) and the back with the coin-cell
holder (right). 34 × 34 mm.
Keep the average current low enough for multi-year operation on a single CR2032 cell, in a compact size. Main areas of work: low-power firmware and advertising strategy, antenna/RF performance (chip vs. trace antenna), and power budgeting around the coin cell's current limits.
BSN-N54) and TI CC2340R5
(BSN-C23), with the same sensors, antenna and board outline. The CC2340R5 was chosen for rev B, mainly on sleep
current and with RF performance as a second factor (MCU_DECISION.md).4-layer, 34 × 34 mm board with an HDC2010 temperature/humidity sensor, the CR2032 holder on the back and test points for SWD, UART, I2C and the sensor interrupt.
Rev A of both variants was compared (thesis test T0). Rev B uses the TI CC2340R5 (BSN-C23-B) with a PCB trace
antenna, and the N54 variant stops at rev A. Rev B was ordered on 2026-11-04 (tag hw/BSN-C23-B) and assembled
from 2026-11-13. A rev C will only be made if the rev B tests show it is needed and there is time.
Why the CC2340R5:
Together that made the C23 the simpler and lower-risk base for the next revision.
The antenna match is measured through an MM8130 switch connector between the chip and the antenna. Plugging in the probe (right) disconnects the chip side, so the VNA sees only the antenna and its two matching parts, with no parts moved.
Rev B antenna S11: without matching parts simulated against measured, and with the matching parts measured on its battery holder
S11 of the rev B antenna at the MM8130 connector. Left: the antenna without matching parts, openEMS simulation against measurement. Right: with L2 1.6 nH and L3 6.8 nH from the simulation, measured with the board standing on its battery holder with the cell, the typical placement. Worst S11 in the BLE band (grey) −18.8 dB.
The antenna is sensitive to what is around it. Lying flat on a table it is detuned by about 330 MHz. A plastic enclosure close to the antenna would also lower the resonance, so the match would need retuning in the final housing. The enclosure is out of scope, as this project covers the electronics and not the mechanical design.
BSN-C23-B | Notes | |
|---|---|---|
| Bring-up | 9 boards, all 13/13 in the hardware self-test | Hand-assembled |
| Antenna match, worst S11 in 2.40–2.48 GHz | −12.1 dB in the air, −18.8 dB standing on the battery holder | Simulated −14.9 dB. Lying flat on a table detunes it by about 330 MHz |
| Carrier frequency | Within ±0.7 ppm of the analyser reference | 2402, 2440 and 2480 MHz, no crystal retrim needed |
| Conducted power at the antenna connector | +3.2 dBm at the +8 dBm setting, −3.9 dBm at the 0 dBm setting | Read +2.4 and −4.7 dBm, corrected for the 0.84 dB probe loss measured on the VNA |
| Harmonics at +8 dBm, conducted | H2 to H4 below −54 dBm. H5 −40.9 dBm: 10.9 dB under ETSI, 0.3 dB under FCC | Probe loss not corrected, the true level is higher. H5 is about 10 dB worse than rev A with the same filter parts, cause not investigated |
| Supply current, continuous carrier at 3.0 V | 6.14 mA at 0 dBm, 14.20 mA at +8 dBm | Sets the coin-cell budget for a radiated test |
Details: hardware/C23/README.md, hardware/C23/testing/rev_B.
Rev A: BSN-N54-A (left), BSN-C23-A (middle) and the back of BSN-C23-A with the coin-cell holder.
BSN-C23-A | BSN-N54-A | |
|---|---|---|
| Average current, 5 s advertising, measured (model) | 4.83 µA (4.9 µA). One advert per sensor reading, reading written into the running advert | 6.1 µA (6.01 µA). Sensor every 10 s |
| Sleep floor | About 0.7 µA (0.70 µA on the no-filter board, the datasheet typical is 0.71 µA. An early 0.37 µA on board #1 did not repeat) | 4.20 µA (System OFF 2.05 µA, both about 1.4 µA above the datasheet, cause not found) |
| Charge per advert, 0 dBm | 12.6 µC | 7.6 µC |
| Charge per sensor reading, timer / DRDY wake | 9.56 / 3.72 µC | 2.01 / 1.78 µC |
| Charge per payload reload | About 20 µC in the TI stack (6.5 µA at 5 s with a reload every 10 s). Later skipped by writing the reading into the running advert | No such cost |
| Conducted power at the 0 dBm setting, no filter (same spectrum analyser setup, cable loss not corrected) | −1.7 dBm (−3.2 dBm with the pi network) | −0.7 dBm (PA network bypassed) |
| Harmonics with no filter, 0 dBm (conducted, worst is H3) | H3 −40.6 dBm: 10.6 dB under ETSI (−30 dBm), 0.6 dB over FCC (−41.2 dBm) | H3 −24.3 dBm: 5.7 dB over ETSI, 17 dB over FCC |
| Harmonic filter | Pi network from TI's reference design. At +8 dBm (2440 and 2480 MHz) at least 9.5 dB under FCC (H5) | Nordic's reference design uses 0201 parts, this board uses 0402, so the PA network layout was adapted. It lost 10–11 dB of output power, likely because of the adapted layout, and was bypassed. No working filter on this layout |
| Notes | hardware/C23/testing | hardware/N54/testing |
Rev A boards:
| Board | MCU | Status |
|---|---|---|
BSN-N54-A | nRF54L05 | Ordered and assembled (2 boards). Board #1 advertising BTHome. Board #2 (U.FL): HFXO trimmed to 11.75 pF, PA network bypassed (the rev A layout of it loses 10 dB), 0.0 dBm at the 0 dBm setting. Floor 4.20 µA, 7.6 µC per advert |
BSN-C23-A | CC2340R5 | Ordered and assembled. Board #1 flashed and advertising BTHome, antenna matched with the board lifted off the bench (L2 4.3 nH, L3 2.1 pF). Floor about 0.7 µA, 12.6 µC per advert, about 20 µC per payload reload in the TI stack, 4.83 µA at 5 s with the reading written into the running advert. CW boards with and without the PA pi network |
Open questions:
hardware/
MCU_DECISION.md Why rev B uses the CC2340R5
C23/ BSN-C23 - TI CC2340R5 variant: KiCad project, schematic/PCB PDFs, testing/
N54/ BSN-N54 - Nordic nRF54L variant (concluded at rev A)
N52/ BSN-N52 - Nordic nRF52805 side variant: smaller, CR1632 (rev A)
firmware/
C23/ Firmware for BSN-C23 boards (TI SimpleLink SDK)
N54/ Firmware for BSN-N54 boards (nRF Connect SDK)
N52/ Firmware for BSN-N52 boards (nRF Connect SDK, and a bare-metal beacon)
docs/
datasheets/ Links to the datasheets and application notes used
images/ Photos
The two MCU candidates are different chips (different pinout, power tree and BOM) rather than build options of one
board, so each has its own KiCad project under hardware/<variant>/ and its own firmware/<variant>/. The N54
folders stay as the record of the rev A comparison. Only the C23 variant continues.
BSN-N52 is a later side variant outside the original requirements: a smaller, cheaper node on a CR1632
with the same sensor and a printed antenna, see hardware/N52/README.md.
Test results live next to the board they were measured on, in hardware/<variant>/testing/, with the bring-up
procedures in firmware/<variant>/BRINGUP.md. The C23 rev A measurements are in hardware/C23/testing/rev_A/, the
rev B antenna simulations in hardware/C23/testing/RF/. The schematic and PCB PDFs always show the latest revision of each
board. Older revisions are in the KiCad files at their hw/BSN-<variant>-<rev> tags.
Each board is identified as BSN-<variant>-<revision>, e.g. BSN-C23-A.
BSN-C23-A
│ │ └─ PCB revision (A, B, C …)
│ └──── MCU variant (C23 = TI CC2340R5, N54 = Nordic nRF54L, N52 = Nordic nRF52805)
└──────── Board name (BSN = BLE Sensor Node)
hw/BSN-<variant>-<rev>.-UFL: a population option on the same bare PCB. Does not change the
revision.A*, with the rework noted in the variant README.BSN_C23 / BSN_N54 / bsn_n52.