# New project: External Ruuvi sensor boards

**URL:** https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355
**Category:** 🇬🇧 Announcements from the core team
**Created:** [18 March 2019 06:01 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355 "2019-03-18T06:01:05Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [13 October 2021 16:01 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/41 "2021-10-13T16:01:55Z")

</div>

I found a supplier for ruggedized TMP117 sensors, and 10 samples are underway in my direction.

Here are some images:

 ![image_69975938041634118858649](https://f.ruuvi.com/uploads/default/original/2X/d/deee8e7f544e087b98d585a58dcdd6e235e416cb.png)

 ![image_1967243531634118672080](https://f.ruuvi.com/uploads/default/original/2X/5/5beea088e72f741a08f785438553f09a351ab5ac.jpeg)

Connector wiring:

![image_45786807051634119046648](https://f.ruuvi.com/uploads/default/original/2X/7/7fb3a170e76b96e9272047411c91eb14c937c59b.png)

They are prepared to manufacture sensors with custom connectors - for instance, one that fits in the Ruuvi Pro.

@lauri @otso what about giving these a spin, have these produced with a matching connector, and added to your shop?

Those look really industrial-strength.

The manufacturer is:

Focus Sensing and Control Technology Co.,LTD  
Add: No.1 XiSan Road, Electromechanical Industry Park ,  
High&New Tech.Zone. Hefei,Anhui,China .PC. 230088  
HP: +86-133-39106612  
Whatsapp/Wechat: +86-133-39106612  
Tel: +86-551-69109668  
[www.focusens.com](http://www.focusens.com/)  
Email:[info@focusens.com](mailto:info@focusens.com)  
Skype: melodyliu520

I suggest to talk to [Melody Liu](https://info@focusens.com) who was very forthcoming and quick to respond to my request.

Michael

---

<div class="post-metadata">

### Author: ![lauri](https://f.ruuvi.com/user_avatar/f.ruuvi.com/lauri/32/18_2.png) [@lauri](https://f.ruuvi.com/u/lauri)
#### Post date: [14 October 2021 08:13 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/42 "2021-10-14T08:13:51Z")

</div>

> [@Michael\_Haberler](#):
>
> what about giving these a spin, have these produced with a matching connector, and added to your shop?

This is an interesting product, we’ll take a look for sure. Thanks for the tip!

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [14 October 2021 10:26 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/43 "2021-10-14T10:26:15Z")

</div>

I will post my experience once I have the sensors

- Michael

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [8 November 2021 16:21 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/44 "2021-11-08T16:21:34Z")

</div>

Ok, all parts arrived

I butchered the sensor cable and determined the wire colors as the relate to the signals on the connector in the image above:

 ![focusense-tmp117-pinout](https://f.ruuvi.com/uploads/default/original/2X/1/1e6083c876fabc33529cfed17195b99ea8bc2eba.png)

now onto connecting the sensor to the Ruuvi board:

 ![ruuvi+tmp117](https://f.ruuvi.com/uploads/default/original/2X/b/b1c2b9a65f297d5128b5fe436591b196e7c024ef.jpeg)

have you given any thought on how to bring out any sensor connector cable?

since the flat cable connector isnt of much use for this sensor, I’d solder the cable to pads at the PCB bottom

unfortunately that sits flush on the bottom part of the case - not sure how to do this

@otso which firmware should I use?

does the stock firmware support the TMP117?

btw I understand the sensor responds on the alternate I2C address

---

<div class="post-metadata">

### Author: ![lauri](https://f.ruuvi.com/user_avatar/f.ruuvi.com/lauri/32/18_2.png) [@lauri](https://f.ruuvi.com/u/lauri)
#### Post date: [8 November 2021 20:54 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/45 "2021-11-08T20:54:15Z")

</div>

> [@Michael\_Haberler](#):
>
> have you given any thought on how to bring out any sensor connector cable?

Thin flat cables come out from the enclosure without any issues. The cable you have is a way thicker and same idea cannot be used in this case.

Sorry about the bad photos but I think you’ll get the idea:

 ![photo_2021-11-08 20.46.34](https://f.ruuvi.com/uploads/default/original/2X/9/9a8199cf1b72035e034be3cf4bc4d00ed3b38d16.jpeg)

 ![photo_2021-11-08 20.44.53](https://f.ruuvi.com/uploads/default/original/2X/8/81c5c2e5c99e833c9e97759809fea2b4651f4973.jpeg)

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [8 November 2021 21:42 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/46 "2021-11-08T21:42:05Z")

</div>

I see

my sensor will have a harsh life in [this whale of a hot air balloon](https://www.icloud.com/sharedalbum/#B0lGIcgc2Pp5PR;973AEEDA-7576-418B-871C-5700A922EDDD) - temperatures up to 125°C and quite humid (ruuvi tag sits outside in a cooler environment) and when packing up the envelope there are quite some forces on the setup

so I thought the flat cable is not a realistic option and went for the Focusense sensor

just to convey the idea - mounting looks similar to this:

 ![TT34_mounting_EN](https://f.ruuvi.com/uploads/default/original/2X/2/299eea92b40b568b8314bd1ec7a3875cd38dfa6d.png)

I guess I need to come in through the top of the case by drilling a hole and fastening the cable rigidly so it cant tear off that easily

one option would be a very short flat cable with some kind of breakout board to solder the TMP117 wires onto, all _within_ the case above the PCB

btw the Focusense sensors are well built but the cable jacket material looks like it’s designed more for indoor applications - not particularly heat resistant. To use the TMP117 over its full temperature range a silicone or teflon cable would make sense.

I’ll cover the cable with a teflon hose just in case.

It turns out the humidity sensor in the breathable Ruuvi Pro in fact is very useful for balloon envelopes: if one packs up the envelope on wet ground and lets the bag sit during warm season for a few days there’s a good chance of mold developing which destroys the envelope for good. I think a humidity alarm from the tag will be super useful!

---

<div class="post-metadata">

### Author: ![dgerman](https://f.ruuvi.com/user_avatar/f.ruuvi.com/dgerman/32/154_2.png) [@dgerman](https://f.ruuvi.com/u/dgerman)
#### Post date: [9 November 2021 13:12 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/47 "2021-11-09T13:12:04Z")

</div>

You might try  
[https://www.amazon.com/uxcell-Converter-Couple-Extend-Adapter/dp/B07RT6YS96/ref=pd\_lpo\_2?pd\_rd\_i=B07RT6YS96&psc=1](https://www.amazon.com/uxcell-Converter-Couple-Extend-Adapter/dp/B07RT6YS96/ref=pd_lpo_2?pd_rd_i=B07RT6YS96&psc=1)  
$7+

I got 2 and they seem to work mechanically ( for me I had to try a couple of times to line it up) Note that the ZIF receiver flips up as apposed to the ruuvi which slides out.  
I haven’t connected anything to the board yet.

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [12 November 2021 15:57 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/48 "2021-11-12T15:57:27Z")

</div>

interesting idea, thanks!

we’re doing our own cases now, less hassle:

 ![image](https://f.ruuvi.com/uploads/default/original/2X/c/c21db884a865fb5937be102070e0200d2232d76d.jpeg)

 ![image](https://f.ruuvi.com/uploads/default/original/2X/0/088f06f94c9a593b6c6380fef08a9bb7ecd79611.jpeg)

 ![image](https://f.ruuvi.com/uploads/default/original/2X/1/1ae6a26fd9041f0f153bebd61c25ba2559316f00.jpeg)

“we” is a bit of pluralis majestatis - it’s a talented chap named Vincent Amon and he’ll post here shortly

we might do another iteration with the adapter board as you suggested - I like the idea!

---

<div class="post-metadata">

### Author: ![vincentamon](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/v/cdc98d/32.png) [@vincentamon](https://f.ruuvi.com/u/vincentamon)
#### Post date: [12 November 2021 18:03 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/49 "2021-11-12T18:03:37Z")

</div>

Here the first CAD tries of our Ruuvi Housing for the external Temperatur Sensor posted from @Michael_Haberler:

 ![WhatsApp Image 2021-11-12 at 10.43.30](https://f.ruuvi.com/uploads/default/original/2X/e/e4566cd902d3e7482681c93ca4877be52f327a17.jpeg)  
 ![WhatsApp Image 2021-11-10 at 20.39.39](https://f.ruuvi.com/uploads/default/original/2X/d/d3df88a4c4cb71ccd87f4c7465fb7873740c5384.jpeg)  
 ![WhatsApp Image 2021-11-10 at 20.39.04](https://f.ruuvi.com/uploads/default/original/2X/1/1e2084469f84e0760b79b38c74ac0e475807219c.jpeg)  
 ![WhatsApp Image 2021-11-12 at 10.45.28](https://f.ruuvi.com/uploads/default/original/2X/2/24d8cf0a40eb33b89fbc0f5995e6bd99ed270dac.jpeg)

Project still ongoing.

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [15 November 2021 12:26 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/50 "2021-11-15T12:26:47Z")

</div>

we did pack up a ruuvi with an external TMP117 connected and are ready to run - but we need a hint: @otso @lauri 🙂

- **which firmware should we load onto this thing**?
- is the internal temp sensor still working and being reported as well?

 ![image](https://f.ruuvi.com/uploads/default/original/2X/9/9c456c294325f677133082108e76945c38bc34ac.jpeg)

see also: [New project: External Ruuvi sensor boards - #48 by Michael\_Haberler](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/48)

we’re using both a ruuvi pro PCB, and the latest standard ruuvi boards in case that makes a difference

thanks in advance!

Michael & Vincent

---

<div class="post-metadata">

### Author: ![otso](https://f.ruuvi.com/user_avatar/f.ruuvi.com/otso/32/1651_2.png) [@otso](https://f.ruuvi.com/u/otso)
#### Post date: [15 November 2021 12:34 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/51 "2021-11-15T12:34:06Z")

</div>

Hello,

Based on picture, I think your board does not have TMP117 onboard. Latest production firmware 3.30.4 should work as-is on it.

Temperature sensor priority list is: TMP117, SHTC3, DPS310, BME280, nRF52, LIS2DH12. Other sensors will keep running to provide other sensor data. The broadcasted value comes from TMP117.

We made a special sensor comparison firmware which read every sensor separately and broadcasted the sensor values under unique MAC addresses, but it’s meant only for verifying sensor accuracy and does not suit any production use-case.

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [15 November 2021 13:07 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/52 "2021-11-15T13:07:26Z")

</div>

thanks - so that one should work out-of-the box if it detects the TMP117 - easy!

before I dig into the repo… is the PCB board temperature also reported from one of the other sensors? that’d be interesting given our peculiar mounting position

sure the humidity and pressure sensors report temperature as well, just a question if one of those makes it into the manufacturer data vector

yes, that particular image shows a non-Pro board.

What happens if we connect a TMP117 externally to a pro board? the external TMP117 sensor answers on I2C 0x49

hope this works, I’d love to get by with stock firmware

thanks!  
Michael

ps: can I tack on a suggestion re the manufacturer data format:

instead of going through X versions of tagged C structs, why dont you switch to the self-describing protobuf format? it’s already in the SDK (nanopb) and great Finnish software btw!

that opens the route to arbitrary sensor data being tacked on and it would be backwards compatible, which your current method is not

---

<div class="post-metadata">

### Author: ![otso](https://f.ruuvi.com/user_avatar/f.ruuvi.com/otso/32/1651_2.png) [@otso](https://f.ruuvi.com/u/otso)
#### Post date: [15 November 2021 14:04 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/53 "2021-11-15T14:04:16Z")

</div>

> [@Michael\_Haberler](#):
>
> before I dig into the repo… is the PCB board temperature also reported from one of the other sensors? that’d be interesting given our peculiar mounting position

Regrettably no, although creating a custom data format is relatively easy.

> [@Michael\_Haberler](#):
>
> What happens if we connect a TMP117 externally to a pro board? the external TMP117 sensor answers on I2C 0x49

As of current firmware, external TMP117 will drain energy while not getting read by the firmware. We have detecting different I2C addresses on our roadmap, but I cannot make promises about the schedule. Line to be changed is [here](https://github.com/ruuvi/ruuvi.boards.c/blob/aa4356600ed04c619974a54eb9ab0228204ccdb9/ruuvi_board_ruuvitag_b.h#L161).

> [@Michael\_Haberler](#):
>
> instead of going through X versions of tagged C structs, why dont you switch to the self-describing protobuf format? it’s already in the SDK (nanopb) and great Finnish software btw!

I’d love to, but BLE advertisements limit what we can do quite a lot. The communication is broadcast, many-to-one with no guarantees about data delivery and payload is at maximum 24 bytes. It’s not possible to pack as much information as we do into a more flexible format.

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [26 November 2021 08:45 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/54 "2021-11-26T08:45:00Z")

</div>

mission accomplished!

@vincentamon has successfully integrated the Focusense TMP117 sensor with a ruuvi tag:

[![](https://f.ruuvi.com/uploads/default/original/2X/0/0a52073420e13d1695a00cf871f808da699a34eb.jpeg "Ruuvi Tag with Focusense TMP117 sensor") ](https://www.youtube.com/watch?v=Bt4ya5BtLZ8)

some detail shots:

 ![F48DC2C9-0A32-447A-8155-F60CF9E01F4A_1_105_c](https://f.ruuvi.com/uploads/default/original/2X/1/10dcc8ab4b0635c1efacc30211e297cb71031ac3.jpeg)

 ![B3AA92C3-9701-4BF8-91A9-F97C1BE4920B_1_105_c](https://f.ruuvi.com/uploads/default/original/2X/8/89aae3a32ce14ea40bb1c7d095e2ab4b24feba34.jpeg)

 ![4B50A32C-B000-44E4-87A1-8043A94DF582_1_105_c](https://f.ruuvi.com/uploads/default/original/2X/c/ce608afa8900a8147b7b552acacbde63428d74e4.jpeg)

pinout:

![9D0D53C1-84E2-4528-9705-31C6227445BB_4_5005_c](https://f.ruuvi.com/uploads/default/original/2X/1/14a38cd1e95608b2dc978f19f6a33e37b67f4c81.jpeg)

Software: the only changed required was the I2C address change suggested by @otso above

Michael

---

<div class="post-metadata">

### Author: ![dgerman](https://f.ruuvi.com/user_avatar/f.ruuvi.com/dgerman/32/154_2.png) [@dgerman](https://f.ruuvi.com/u/dgerman)
#### Post date: [28 November 2021 16:43 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/55 "2021-11-28T16:43:54Z")

</div>

Wonderful and well illustrated too. 💥 👍

---

<div class="post-metadata">

### Author: ![Safiery](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@Safiery](https://f.ruuvi.com/u/Safiery)
#### Post date: [6 December 2021 21:56 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/56 "2021-12-06T21:56:32Z")

</div>

@Michael_Haberler Thats a very nice project. I have one for 4WD shock absorbers to implement. So will follow your lead with focusence. we have an office in China. How easy is it to make the firmware change you listed? What is battery life expectancy? Cheers and thanks again

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [7 December 2021 05:30 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/57 "2021-12-07T05:30:22Z")

</div>

software is the stock ruuvi repository, with a single change - modifying the I2C address of the sensor and recompiling - so for battery use, the rules for the stock software apply

all pretty straightforward - @vincentamon did this

I’ll see into having the repo published with instructions

for contacting Focusense, see the coordinates above - contact Mrs Melody Liu, she’ll be in the know

---

<div class="post-metadata">

### Author: ![Michael\_Haberler](https://f.ruuvi.com/user_avatar/f.ruuvi.com/michael_haberler/32/2116_2.png) [@Michael\_Haberler](https://f.ruuvi.com/u/Michael_Haberler)
#### Post date: [30 October 2022 22:32 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/58 "2022-10-30T22:32:26Z")

</div>

by now we have about 250 Focusense TMP117 sensors wired

Focusense made changes to cabling on our request (heat resistance, length, no plug)

all of them working - decent product, recommended  
company easy and reliable to work with

---

<div class="post-metadata">

### Author: ![lauri](https://f.ruuvi.com/user_avatar/f.ruuvi.com/lauri/32/18_2.png) [@lauri](https://f.ruuvi.com/u/lauri)
#### Post date: [31 October 2022 13:00 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/59 "2022-10-31T13:00:59Z")

</div>

> [@Michael\_Haberler](#):
>
> by now we have about 250 Focusense TMP117 sensors wired

Thanks for the update, this is great info 🕶

---

<div class="post-metadata">

### Author: ![MelodyLiu](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/bc79bd/32.png) [@MelodyLiu](https://f.ruuvi.com/u/MelodyLiu)
#### Post date: [28 September 2023 02:24 UTC](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355/60 "2023-09-28T02:24:21Z")

</div>

Ooh, we can make as higher heat resistance as I know now you need. Let me do it originally instead of trouble you 😀 😃

[Previous page](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355.md?page=2)

[Next page](https://f.ruuvi.com/t/new-project-external-ruuvi-sensor-boards/3355.md?page=4)
