Hi,
Is it possible to add other remote sensors to the "emon" architecture ? like remote RF board with air sensors , and to add these datas to the energy ones ? may be free slots are available by default on the "emon base" ? To have energy + CO monitoring for example, in the same time.
Many thanks for your revert
Nicolas
Re: Add environmental sensors to emon
Hi Nicolas,
Yes, its possible. The OpenEnergyMonitor system can easily accommodate more sensor nodes. Probably the easiest way to add another sensor would be to use a JeeNode/emonTx and wire in your sensor into a spare JeePort (digital and analog connections). Or alternatively you could build your own Atmega328 RFM12B sensor node from scratch: http://nathan.chantrell.net/20111229/temptx-v2-wireless-temperature-sensor-module/#more-2428.
In terms of Arduino firmware you will need to make sure your sensor is on the same frequency and network and give your sensor a node ID which is different from any other nodes on the same network, the default for the emonTx is ID 10, emonGLCD ID: 20 and emonBase ID: 15.
You will then need to modify the emonBase code to post the data from your sensor to emoncms (see line 166): https://github.com/openenergymonitor/NanodeRF/blob/master/NanodeRF_Power_RTCrelay_GLCDtemp/NanodeRF_Power_RTCrelay_GLCDtemp.ino
Please post up what you work on, it would be great to get some documentation on site for how to wire up other environmental monitoring sensors.
Re: Add environmental sensors to emon
Thanks for all these infos, I'm working on project that will combine power datas + environmental ones too
My actual goal is to add remote boxes with RF connectivity and sensors board (temp, humidity, air quality etc..) to the actual energy datas managed by Open Energy Monitoring archi.
Will it be possible to manage these new datas by give these an other "node ID" ? Will it be possible to not going through the Emon TX but send this datas directly to the Emon Base ?
Thanks for your answers
Nicolas
Re: Add environmental sensors to emon
Thumbs up for Nathan's sensor, but also lookup the attiny84 version (also on his site) that is cheaper to build and requires less parts. I also ported Nathan's code to work with multiple DS18B20s instead of the original single TMP36, so that becomes my favorite solution for remote sensing. The Attiny works pretty well with I2C as well and you have tons of sensors on that protocol.
Re: Add environmental sensors to emon
Yes that's exactly how it will work. Just give your node its own unique node ID and the the data will be received on the emonBase once you have modified the emonBase code to take care of the data from this new node.
Here is an example of the modifications required on the emonBase, you can call the data structure whatever you wish, I have used 'environmental' to demonstrate