# The WORKBENCH part 1

**URL:** <https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970>\
**Category:** Hardware\
**Created:** [August 15, 2017, 9:40am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970 "2017-08-15T09:40:22Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 17, 2017, 7:28am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/25 "2017-09-17T07:28:59Z")

</div>

> [@jezd](#):
>
> why

it was my first ABP test for this 32U4/RFM95 china adafruit feather clone, just to see if I didn’t make ‘key’ mistakes  
code example is **[here](https://www.thethingsnetwork.org/labs/story/using-adafruit-feather-32u4-rfm95-as-an-ttn-node/step/programming-the-adafruit-feather#step-anchor)** and [here](https://github.com/mcci-catena/arduino-lmic/blob/master/examples/ttn-otaa/ttn-otaa.ino)  
not much free memory left so what we need is an 'stripped lmic version to gain some memory.  
the goal is to send temp and humidity data and we need deepsleep.

_regarding the battery voltage (drop) , I didn’t even check that code part/pin … was supprised it measured anything_ 🕶

one thing I noticed immediate, on first boot with a piece of wire antenna on my desk … the packet was seen by 3 gateways, even the one 13 km away … I expected to see only my GW in the console.  
that makes me wonder… is the output of the RFM95 that much better than the RN2483 TTN uno clone I build ?  
have to check and learn a lot more.

 ![alive02](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/b/b8a99852cfed88d732457ef14ae11dd7c6148928.jpg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 18, 2017, 11:12am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/26 "2017-09-18T11:12:38Z")

</div>

when the node is only usb connected you’ll get that meassurement 'drop  
with battery connected it works ok

![vbat](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/1/18dfc3bb442b0094275a8690094f85d7c4b5e1fd.jpg)

---

<div class="post-metadata">

**Author:** ![Oliv](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/oliv/32/33601_2.png) [@Oliv](https://www.thethingsnetwork.org/forum/u/Oliv)\
**Post date:** [September 18, 2017, 12:44pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/27 "2017-09-18T12:44:35Z")

</div>

> [@BoRRoZ](#):
>
> … is the output of the RFM95 that much better than the RN2483

@BoRRoZ I think that the RFM outputs at 20 dBm by default, while the RN2483 is 14 dBm max to be EU compliant.

Regarding the Si7021, do you have any reference value to compare it ? Does it need any calibration ?

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 18, 2017, 4:20pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/28 "2017-09-18T16:20:08Z")

</div>

> [@Oliv](#):
>
> Regarding the Si7021, do you have any reference value to compare it ? Does it need any calibration ?

according the datasheet the humidity sensor has a max 3% error @ 0-80% humidity

- [https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf](https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf)

to check yourself you can use the saturated salt technique:

- [Resources](https://www.omega.com/temperature/z/pdf/z103.pdf)
- [http://nvlpubs.nist.gov/nistpubs/jres/53/jresv53n1p19\_a1b.pdf](http://nvlpubs.nist.gov/nistpubs/jres/53/jresv53n1p19_a1b.pdf)
- [Loading...](https://idyl.io/arduino/how-to/interface-si7021-sensor-arduino/)

on some forums they talk about 6% error (to high) on humidity, all in all not to bad for what you pay.  
haven’t checked it myself yet.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 20, 2017, 7:27am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/29 "2017-09-20T07:27:47Z")

</div>

![X480](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/b/b598e45d2d3bfd79bb37cb425ce24c240acd8885.jpg)

today I need a full node tank 🤣

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 21, 2017, 1:08pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/30 "2017-09-21T13:08:30Z")

</div>

I having some problems lowering the (sleep) current from this 32U4 / SX1276 ‘feather’

![LPtest](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/c/c3e5111f94d83c0793f742d7d324323dd1abad5a.jpg)

I’ve used

> **[rocketscream/Low-Power](https://github.com/rocketscream/Low-Power)**
>
> Low Power Library for Arduino. Contribute to rocketscream/Low-Power development by creating an account on GitHub.

  

> **[adafruit/Adafruit\_SleepyDog](https://github.com/adafruit/Adafruit_SleepyDog)**
>
> Arduino library to use the watchdog timer for system reset and low power sleep. - adafruit/Adafruit\_SleepyDog

possibly the [charging circuit](https://learn.adafruit.com/adafruit-feather-32u4-radio-with-lora-radio-module/power-management) or floating pins or something ?

_If I can’t free some more memory or lower the sleepcurrent I forsee that this module is usefull as a on/off detector, like a PIR alarm when you leave your house… triggered it can send a message to your phone (first a lorawan packet) and the battery (1800 mA) I use last max one month_

---

<div class="post-metadata">

**Author:** ![GryKyo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/grykyo/32/48516_2.png) [@GryKyo](https://www.thethingsnetwork.org/forum/u/GryKyo)\
**Post date:** [September 21, 2017, 3:40pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/31 "2017-09-21T15:40:12Z")

</div>

What brand of “flux” is that!!! Looks good … drools!

Garry

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 22, 2017, 7:30pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/32 "2017-09-22T19:30:14Z")

</div>

![X483](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/d/d570764f5a26e2a5b56d0639509d587f99d936bd.jpg)

decided not to use this module in a battery powered node… so I have a new use case for it 🕶

_ **the coffee spy node** - an universal LoRaWAN AC current detector, so I can easily check if my old mother had her morning coffee or switched the television on or off._  
_it just send one on/off byte to the application and is AC powered._

- [http://www.ebay.com/itm/Electricity-Meter-Analog-AC-Current-Sensor-Current-Transformer-5A-for-Arduino-/172800450144](http://www.ebay.com/itm/Electricity-Meter-Analog-AC-Current-Sensor-Current-Transformer-5A-for-Arduino-/172800450144)
- [https://www.conrad.nl/nl/strapubox-sg-1022-stekkerbehuizing-121-x-66-x-55-kunststof-grijs-1-stuks-520359.html?sc.ref=Product%20Details](https://www.conrad.nl/nl/strapubox-sg-1022-stekkerbehuizing-121-x-66-x-55-kunststof-grijs-1-stuks-520359.html?sc.ref=Product%20Details)
- [http://henrysbench.capnfatz.com/henrys-bench/arduino-current-measurements/ta12-100-arduino-ac-current-sensor-tutorial/](http://henrysbench.capnfatz.com/henrys-bench/arduino-current-measurements/ta12-100-arduino-ac-current-sensor-tutorial/)
- [https://openenergymonitor.org/forum-archive/node/156.html](https://openenergymonitor.org/forum-archive/node/156.html)
- 

**update 12 oct 2018**

I should have patented this idea 🕶

![ac%20current](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/5/0/506e82eb34c1cba9cb89d263fa4c6658063646d4.jpeg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 23, 2017, 9:56am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/33 "2017-09-23T09:56:18Z")

</div>

![X484](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/1/13047b043483d3cfdb31c563a3131ba48aff9e5c.jpg)  
_flexible 2.5 mm2 soldered and isolated_

![X485](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/e/e39d072befe0ae79a168b35f5534357ada1b15b7.jpg)  
_and puzzle_

![X487](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/6/6dcc58b53e045a9d96bea1cc46d4e35a453e36df.jpg)

---

<div class="post-metadata">

**Author:** ![mrme](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mrme/32/31870_2.png) [@mrme](https://www.thethingsnetwork.org/forum/u/mrme)\
**Post date:** [September 23, 2017, 10:26am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/34 "2017-09-23T10:26:48Z")

</div>

hey borroz. do you use the hilink directly or does it need some stabilizer on the output? should some form of fuse be included since it is on 220v? i have some hilinks lying around but never dared using them on any nodes.

grts

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [September 23, 2017, 10:39am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/35 "2017-09-23T10:39:07Z")

</div>

Yes I’ll mount a fuse between AC and the HiLINK.

![X488](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/f/fbed4112118ae46035298edae0afb96770e5876c.jpg)

_Also a 2 color LED, red on power on (plugged in) and green flashing when it can reach a gateway, green continue when the coffee machine/tv is on and a notification is transmitted._

These HiLinks are very good (tested before) , but I’ve never used them on a node, I’m more concerned about possible noise interference with that hall sensor, test before mounting everything 😉

- [http://www.hlktech.net/product\_detail.php?ProId=54](http://www.hlktech.net/product_detail.php?ProId=54)
- [http://www.ebay.com/itm/2Pcs-HLK-PM01-AC-DC-220V-to-5V-Step-Down-Power-Supply-Module-Household-Switch-CZ-/162089724395](http://www.ebay.com/itm/2Pcs-HLK-PM01-AC-DC-220V-to-5V-Step-Down-Power-Supply-Module-Household-Switch-CZ-/162089724395)

_up to 200 mA load the voltage and ripple are fine._

- **update** : now powering the feather clone with an external [HiLINK Hlk-PM03 3V3 AC-DC module](http://www.ebay.com/itm/1Pcs-Power-Supply-Step-Down-Buck-Isolated-Hlk-Pm03-220V-To-3-3V-Module-New-Ic-N-/332047987473?) (instead of 5v)

![X489](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/6/61d888c614ae3765cc56eaff39d63936a592ec6b.jpg)

---

<div class="post-metadata">

**Author:** ![mrme](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mrme/32/31870_2.png) [@mrme](https://www.thethingsnetwork.org/forum/u/mrme)\
**Post date:** [September 23, 2017, 12:04pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/36 "2017-09-23T12:04:02Z")

</div>

Wanted to use them in a nrf setup (mysensors). Some tips on fuses (thermal and slow) in this link [https://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers](https://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 3, 2017, 3:34pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/38 "2017-10-03T15:34:34Z")

</div>

**the coffee spy** node project is not abandoned but @ the moment other stuff todo 🕶

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 14, 2017, 11:55am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/39 "2017-10-14T11:55:35Z")

</div>

![rs-dev21](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/3/349bb323c0571a559b94ea42fefe75bde9ee2f51.jpg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 15, 2017, 8:19am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/40 "2017-10-15T08:19:26Z")

</div>

![rs-dev22](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/7/7bf791760977c3b616965a78004e3920c27f6494.jpg)

328p + RN2483 + Si7021 @ 1.5V :

high - 20mA  
low- 50uA

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 15, 2017, 9:14am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/43 "2017-10-15T09:14:58Z")

</div>

![rs-dev23-2](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/1/1b37161665dacec7c0ddbcd9a436c3158cd7a648.jpg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 17, 2017, 10:05am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/44 "2017-10-17T10:05:38Z")

</div>

![x509](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/a/a0b2a59f4acf6d3deda69e49832ab2131eb54f7e.jpg)

_and some fiddling with different sensors_

![x508](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/9/924be730d3c5310e3ce74bd4b0b5ac02bdeb1a67.jpg)

_my own gateway is under reconstruction… but still this node is received by **3** other gateways_

![seen by 03](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/0/0be5430908b266602a67b9e87f087d39fd8dbce8.jpg)

but probably I’m in a good location **and** … this 5 dbi antenna give me the best node results sofar.

![x511](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/0/0cea0d13ee260a591f73b60ebb86225b3673b817.jpg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 19, 2017, 9:55am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/45 "2017-10-19T09:55:19Z")

</div>

![live03](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/e/e0b4f54fad2249551d55d581e844e243332ef0d9.jpg)  
 ![live01](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/5/540ebd002f032c5fc386ebc5bea18962e1f0ee44.jpg)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 21, 2017, 7:59am UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/46 "2017-10-21T07:59:22Z")

</div>

’ HOUSTON … we’ve got a problem ’ _after the first night camping outdoors 😉_

![problem](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/e/e1cc771653ea3a7c610f5efa312bd69b1f0f5e08.jpg)

how’s that possible ? … a humidity over 100% , is it ME or TTN or CAYENNE or a monday morning Si 7021 sensor

![noproblem](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/5/5b7b42f89b1d3fdb71b47cbc0cf5dad4a6ed5b5a.jpg)

a few hours later ( 5 min interval measurements) and its getting better… we’re not 'under water ’

so my question is to you is **what is the best outdoor arduino temp / humidity sensor ??**

- update … there is a sensor problem

---

<div class="post-metadata">

**Author:** ![GryKyo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/grykyo/32/48516_2.png) [@GryKyo](https://www.thethingsnetwork.org/forum/u/GryKyo)\
**Post date:** [October 21, 2017, 7:01pm UTC](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970/47 "2017-10-21T19:01:27Z")

</div>

This one I suspect:

This channel is an absolute goldmine for Espressif, ESP, sensor, protocol, Arduino IDE, library and many other related facts and fixes.

G

[Previous page](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970.md?page=1)

[Next page](https://www.thethingsnetwork.org/forum/t/the-workbench-part-1/8970.md?page=3)
