Understanding question : how to configure the new emonTH node and want I need for?

Hello together,

I'm very happy that I found this site. Currently I'm using AS2200-1 sensors to gather temperature and humidity with my CUL868 USB-Stick.

The problem is the receiving intervall which is very unstable. So, I was thinking about to build an own sensor. But with my lack knowledge, I was not able to do it.

I saw the announcement of emonTH and I hope, I found the right sensor for me. But what are the requirements to use it.

1. How I have to put the firmware (*.ino file??) on the node? With Arduino IDE?

2. What I need to copy the firmware on the node?

3. Can I set an id on each node to identify the different devices?

4. The sending data format depends on the *ino file which is in the source code, right?

I very new with this topic and my understanding is very poor for the moment.

Best regards and many thanks in advance.

Sven

glyn.hudson's picture

Re: Understanding question : how to configure the new emonTH node and want I need for?

Hi,

The emonTH will come pre loaded with firmware. It will auto detect the type of sensor present (DHT22 or D18B20) and send out readings on the default channel (433Mhz 210 network group) every 60s. The default node ID is 19. You will need to change the node ID if you add more than one emonTH since each node must had a different node ID. 

If you wish to change any of this its easy to do using the Arduino IDE and a USB to UART cable (sold in the shop) to upload new code. It's just the same as uploading a new sketch to an Arduino. You will need to add a few extra libraries to your Arduino IDE, these are highlighted in the code. 

 

The default emonTH code can be found here: https://github.com/openenergymonitor/emonTH/blob/master/emonTH_DHT22_DS18B20/emonTH_DHT22_DS18B20.ino

 

If your not familiar with Arduino we have a getting started page of how to setup the IDE and upload code sketches: http://openenergymonitor.org/emon/buildingblocks/setting-up-the-arduino-environment

piro299's picture

Re: Understanding question : how to configure the new emonTH node and want I need for?

Great, many thanks for the answer. Very helpfull.

You said default channel is 433, means that is also possible to use 868 with emonTH or only 433?

Many thanks in advance.

Sven

piro299's picture

Re: Understanding question : how to configure the new emonTH node and want I need for?

Forget my question, I read the ino file and saw that is possible to change to 868 mode.

When will the emonTH available in the shop?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.