Coin cell-powered OpenThread sensor board can send data every 20 seconds for three years

Monkey Store’s Thread Sensor Tag is a pressure, humidity, temperature, and light sensor that connects to the OpenThread network, and is capable of transmitting MQTT/UDP data every 20 seconds over a period of around three years from a single coin cell battery.

As a reminder, OpenThread is an implementation of the Thread IoT network protocol that was unveiled in 2016 by Nest Labs (now Google/Alphabet). This has not been widely used so far, but we did write about MKR SharkyPro development board with OpenThread support via STMicro STM32WB5MMG wireless module earlier this year, and Monkey Store is telling us both Google and Apple are working on devices with support for the IoT protocol.

Thread Sensor Tag Openthread board

Thread Sensor Tag specifications:

  • Wireless module – Minew MS88SF2 based on Nordic Semi nRF52840 multi-protocol 2.4GHz wireless Cortex-M4 microcontroller
  • Sensor
    • VEMLS6030 I2C light sensor
    • MS8607 pressure, humidity, and temperature sensor
  • I/Os – 7x through holes with Tx/Rx, 1x GPIO, 3.3V, GND, and CLK signals
  • Misc – RGB LED, user and reset buttons
  • Power – Coin cell battery
  • Power Consumption
    • Deep sleep – 3.19µA
    • Sensors acquisition – 54 µA
    • Wakeup cycle 1.7 sec including RF – 125 µA
  • Dimensions – 36×33 cm

coin cell battery on nrf52840 board

We’ve said the board transmits sensors’ data over MQTT/UDP in the introduction. But more exactly, the sensors and battery data is sent over UDP to save power, and a Border Router running a Python script packages them into an MQTT message sent to a platform like Node-RED or an IoT cloud service for visualization and processing.

Data path
OpenThread sensor datavisualization Node-RED dashboard
Data visualization in Node-RED

The Thread Sensor Tag is open-source hardware with the KiCAD design files and Zephyr-based firmware available on Github, and detailed documentation, including how to set up a Raspberry Pi as a Border Router, can be found on the Home Smart Mesh website.

The Thread Sensor Tag used to be sold for $49.95 just two weeks ago, but it can now be purchased for $29.95 on Tindie.

Via Hackster.io

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
35 Comments
oldest
newest
DurandA
1 month ago

For those wondering, MQTT/UDP is like a simplified version of MQTT-SN without broker according to https://mqtt-udp.readthedocs.io/en/latest/#faq.

1 month ago

The udp mqtt we used in the sensorTag software stack is even simpler than the mentioned mqtt/udp reference. I simply send a text payload that consist of “topic{json_payload}” that’s all, it is only intended for sensors broadcast on a broquer configured on server side. The python script running on the gateway is only few lines of code, see the script from the repo link.
https://github.com/HomeSmartMesh/raspi/blob/master/py/thread_tags/thread_tags.py

Jon Smirl
1 month ago

Ten years on coin cell using BLE….

Low-Power PIR Motion Detector With Bluetooth Smart & 10-Year Coin Cell Battery Life Reference Design
https://www.ti.com/tool/TIDA-00759

Monkey Store could likely use some of the techniques from this TI design to extend the battery life of their device. This design uses some very low power chips.

Jon Smirl
1 month ago

TI sends 168 messages a day. So once every 9 minutes. This timing is variable and driven by events the PIR sees.
https://www.ti.com/lit/ug/tidubl2b/tidubl2b.pdf

There is some trick in the power supply where they disconnect the battery for long periods and run off from capacitors during sleep. I think that is the key to getting 10 years of life.

This reference design will work as advertised. TI is an extremely good engineering company.

Assumptions on Page 9
https://www.ti.com/lit/an/swra562c/swra562c.pdf

willy
willy
1 month ago

At such low currents I think it becomes envisionable to partially recharge your capacitors by harvesting current from nearby RF emissions, by using a tiny solar panel, or even by leaving a wire hanging to collect static electricity 🙂

Jacques
Jacques
1 month ago

Solar panels indoors yield very little power, you quickly need to get pretty large panels to get anything worthwhile, and the size, cost and complexity will far outweigh the simplicity of simply picking the right battery. But I would love someone to tell me otherwise 🙂

Willy
Willy
1 month ago

We used to have desk calculators running off 3cm² panels. It’s possible to yield a few microwatts out of them indoors (especially the brown ones, I think they are the monocrystaline ones).

Jacques
Jacques
1 month ago

Your second link (with the assumptions on page 9) is for a different use case with a sub-1 GHz link and a different chip (and ACKs and retransmits and keepalives). The assumptions for the BLE case are on pages 2 and 32 of your first link. Note that there are no ACKs or retransmits here, no periodic BLE advertisements either, and a very minimalist (and short) advertisement on events, only an ON event (start detecting movement) and an OFF event (no longer detecting movement). Not a real-life use case, by far.

Jon Smirl
1 month ago

There are pro and cons here. Do sensors really need to continuously advertise? I don’t think they do, who is listening? And do sensors really need to get ACKs to their events? I don’t think that they do. There are even technical problems with that, what if multiple devices listening to the sensor? Note that as someone moves around the PIR is going to trigger multiple times sending multiple events. A big pro — 10 year battery life. For real-life your would proxy the sensors in a nearby mains powered device. Those proxies make the sensors look like permanently connected… Read more »

Jacques
Jacques
1 month ago

If you have a BLE sensor, you probably want it to advertise (even infrequently) so you can connect to it to manage it (either from a phone or from a gateway). For a sensor sending data where it’s not important if you miss some (e.g. an electricity, gas, or water meter, which is anyway always increasing) having unacknowledged packets is not an issue. Probably the same for environmental data (temperature, humidity, etc. like in the post’s sensor). This is why those are the ideal scenario for LoRaWAN where ACKs are often an issue. For a PIR detector, getting the data… Read more »

Jon Smirl
1 month ago

The PIR triggers multiple times as the motion occurs, so it will send multiple packets.

David Zhang
1 month ago

Jon,

I am not sure if TI included the power consumption of the PIR sensor. From the specs of the parts that TI used, they are about 1.6 uA not including the PIR sensor. The PIR sensor has to be on to generate the wakeup signal.
A general PIR sensor power consumption could be 1-3 w. There are low power PIR sensors with current down to 1uA, which becomes expensive in this level.

David

Willy
Willy
1 month ago

Some of the cheap ones use very low power. I used to have one in a cheap AA battery-powered outdoor lamp close to my door. It worked for 3 years before something died in the lamp, turning the LED always on and depleting the battery in a few days.

Jacques
Jacques
1 month ago

1-3W? Even ultra cheap sensors are 4 orders of magnitude below that. A cheap PIR sensor uses about 50 µA, which amounts to about 165 µW at 3.3V. Granted, 50 µA is a lot more than the 1.6 µA quoted, but far from 1-3W. Also remember that the PIR sensor itself (the part that receives the IR and emits a signal) does not need any power, it’s by definition passive. It’s what little circuitry beyond that to make it into a usable signal (amplifier and comparator) which needs current, and in their case they reduced that to about 0.5 µA,… Read more »

David Zhang
1 month ago

Willy, Jacques, Jon, Thanks for the information. I got the PIR number from the quick search. If the module is passive, then it is possible. The PIR module that TI used does not mention power consumption or leakage current. The two power Amps consume 346-471nA each; two comparators consume 150nA. When we add these four parts up, the total is 1uA minimum not counting other current loss such as leak current. A quick search gives the lowest power consumption of 1uA of the PIR sensor. If the 1uA is the current consumption when it is on, and some leakage current… Read more »

Jon Smirl
1 month ago

I believe this is the PIR they used, but it has been discontinued due to a packaging change. There are similar PIRs available in the new package.

https://www.murata.com/en-us/products/productdetail?partno=IRS-B210ST01-R1

Jon Smirl
1 month ago

The PIR power is included in the TI numbers. Note that TI did not use a PIR module they directly interfaced to the PIR chip.

Philipp Blum
Philipp Blum
1 month ago

3 years on a coin cell. Open Thread, every 20 seconds? I highly doubt.

Jon Smirl
1 month ago

Projecting from the TI numbers this Monkey Store device is only going to make it three months, not three years.

Mirko
Mirko
1 month ago

Mine already runs longer then that – but the device does not route! Its a sleepy device of course. It wakes up every 3s in the currently running setup and sends its data for already longer then 3 month. If we make that 30s instead of 3s (which was just for testing) it will last even longer. Thread is actually quite low power and fast as well, the connection is done in no time. The range is debatable tho – its bluetooth range, which is not much.

David Zhang
1 month ago

It might be feasible but very challenging. As a comparison, the new ultra-low power wireless vibration sensor SVT200-V can acquire samples, analyze data, encrypt data and send result every 2s up to five years: https://www.broadsens.com/sensors/wireless-low-power-sensors/
SVT200-V’s battery capacity is 1200mAh (use 1100mAh for battery life estimate). Idle current is 2.1uA.
If SVT200-V sends result every 20s, then the battery capacity can be reduced to 200mAh and lasts five years (2 years extra). But SVT200-V is not using thread. Thread consumes higher power, so it is challenging.

Mirko
Mirko
1 month ago

Hey – I am the creator of that Sensor Tag. I actually was not expecting an article about my hardware tbh. 3 years on a coin-cell isn’t that impossible, the Tag is running already multiple month now at home and I am still at 2.8V and this Firmware version actually sends the packets every 3s!! Thread was actually made to be energy efficient.

1 month ago

3 years is a rather conservative prediction I made, we used a power profiler kit device PPK2, to measure current consumption at 100ksps, the tools shows the consumption at different stages, sleep, wake up, rf,… the rest is pure mathematical extrapolation. A current stress test with broadcast every 3 seconds shows consistent measures with those predictions. We also created a forum to discuss with the community and get feedback from different people. Feel free to have a look at the details there. It is even the same hw that can achieve 10 years of battery life, but I did not… Read more »

Jon Smirl
1 month ago

Even though I am the person who added 802.15.4 (which became Thread) to the Linux kernel, I am no longer a major fan of it. My current preferred design is BLE back to a nearby, mains powered proxy device. I am definitely not a fan of battery devices as routing nodes in a mesh. Meshes are fine with mains power and they have their places — a common mesh is BLE between light bulbs. The main reason I prefer BLE is that you can configure the initial security for the devices using your phone without needing a 802.15.4 gateway. Another… Read more »

1 month ago

Hi John, thank you for the hint and the feedback, I developped the sw for the SensorTag, and as you noticed, the hw is BLE and 802.15.4 capable, we would highly appreciate if you’d like to join the open source project and contribute to a BLE version or at least its architecture and concept. Before I use openthread, I developed my own custom mesh protocol in the past, which I still use in a UWB application where a controlled rf scheduling is very important. 802.15.4 did not became thread by the way it is only a PHY that’s used by… Read more »

itchy n scratchy
itchy n scratchy
1 month ago

Looks more like 5 swiss francs in size, unfortunately one would have to open the board in kicad or gerbview to get the dimensions.

Quite funny still people are playing this x years on a xyz-cell.

We did our thesis about a zigbee gadget on 4AA cells I guess we calculated 3 years too.

The project never materialised after the thesis…

willy
willy
1 month ago

> Looks more like 5 swiss francs in size, unfortunately one would have to open the board in kicad or gerbview to get the dimensions.

Based on the 2.54mm holes at the bottom, that looks like 34.3mm or 1.35 inches wide for me.

Mirko
Mirko
1 month ago

The dimensions are actually 36x33mm 🙂

We are not testing the device for 3 years already, thats is true – we simply calculated the consumption which we measured with the PPK II from nordic (I highly recommend it, nice device). for one cycle (sleeping + collecting data + open thread connect + sending udp packet) the device draws 125uA and it takes around 1.7s.

You can read more about it here: https://homesmartmesh.discourse.group/t/thread-sensortag-voltage-and-battery-life/66

Jon Smirl
1 month ago

Nordics are definitely very nice devices and in general use should be equivalent to the TI devices. But if you are going to for a record on battery life, then the TI designs are better. I have many boards with chips from both vendors.

Mirko
Mirko
1 month ago

Which one in particular? Its also a question of price at the end but I will/want to check them out.

Jon Smirl
1 month ago

TI has a lot of low power WAN chips. In general what is most interesting about the TI stuff is their app notes and reference designs. They tend to do extreme reference designs. Dig though all of the ones saying 10-year battery life, there are multiple designs. TI has a multi-protocol version of chip than can run Thread or BLE too. You can buy the reference boards straight from TI if they have made them available. They are usually less than $100. Look for the SensorTag too. That is one of their BLE/Thread chips with about a dozen different demo… Read more »

Mirko
Mirko
1 month ago

The sleep current of the nRF is 3uA which is really great. Does TI also offer ready made modules which already contain an pcb antenna etc.?

Jon Smirl
1 month ago

I do not believe TI makes the modules. But.. there are dozens of vendors selling modules based on TI chips. The quality of those modules varies all over the map so you will have to evaluate them individually to make sure they used low power peripheral components.

Advertisement