NanodeRF

From OpenEnergyMonitor Wiki
Revision as of 02:25, 21 August 2015 by Bill thomson (Talk | contribs) (Build Guide)

Jump to: navigation, search

Overview

NanodeRF

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 module 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. 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 directly from the nanode project. 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 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: https://github.com/openenergymonitor/NanodeRF

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: http://openenergymonitor.org/emon/node/376

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