From Wiki | OpenEnergyMonitor
Revision as of 15:03, 18 February 2013 by (talk)
Jump to navigation Jump to search



SPAM fucking spam

The NanodeRF works like a normal Arduino but with an ENC8J60 based Ethernet and a RFM12B wireless transceiver onboard. This makes it an ideal bridge between wireless sensor nodes like the emontx and the wider internet.

The NanodeRF is designed by Ken Boak with input from OpenEnergyMonitor developers and is part of the Nanode project.

Note about RF Frequency: The RFM12B wireless module is available in 3 different ISM band frequencies: 433Mhz (worldwide), 868Mhz (Europe), 915Mhz (USA & Australia only). RFM12B modules of the same frequency should be used on the emonTx, emonBase and emonGLCD and ensure the correct frequency is set in the arduino sketch before uploading.

Build Guide

You can get the NanodeRF in kit form from the openenergymonitor shop, its also available from the nanode project directly. The kit is a bag of components and a PCB that needs to be assembled. Ian Chilton has written a great guide on assembly and testing here: NanodeRF step-by-step pictorial build guide.

Ian has written a wealth of information on the NanodeRF that is all available here: Ian Chilton's Nanode information page.

Code guide

To upload arduino code to the NanodeRF you will need a 5V FTDI cable. The Mini-USB is for 5V power only. You will also need to have the latest Arduino IDE installed. See the Getting started with Arduino section on the top of the building blocks page.

Once you have the Arduino IDE installed download all the code examples and full firmware's here:

The NanodeRF code guide goes through main components required to put a full base station firmware together. It's recommended that you work through these examples first so that you have a good understanding of how the full firmware's work.

The guide includes:

  1. Fixed Packets
  2. MultiNode
  3. Basic Web Client
  4. PacketBuffer
  5. Basic MultiNode Web Client
  6. Receiving a Reply

Full Firmware

  1. NanodeRF_multinode The multinode firmware is the most flexible firmware for posting data up to emoncms, it relays data from up to the 30 nodes that the rfm12 library implementation can handle up to emoncms. You dont need to re-program the firmware each time you add a new node or variables on a particular node. It constructs a CSV format string to be sent to emoncms.
  2. NanodeRF_Power_RTCrelay_GLCDtemp This firmware was the standard firmware up until the addition of the multinode example. It's build specifically for use with one emontx and one emonglcd. One of its advantages is that it constructs a nice key:value pair json string to be sent to emoncms, which makes the emoncms inputs appear with the names: power1, power2, power3, voltage and so on. The disadvantage with this sketch is that is requires reprogramming if you want to add a new node or add new variables.
  3. NanodeRF_Cosm Receive data from emonTx via RFM12B wireless and post to Cosum. Just insert your Cosm feed ID and API Key. Thanks to Roger James for this contribution. See forum thread for discussion:

See here for older documentation for using the original Nanode 5 as an emonBase