NanodeRF

From OpenEnergyMonitor Wiki
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

The NanodeRF is no loger sold in the openenergymonitor shop. It's availale 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 connector is for 5V power only. You'll need the latest Arduino IDE. 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 here: https://github.com/openenergymonitor/NanodeRF

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

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 to emoncms. It relays data from as many as 30 nodes (rfm12 library maximum) 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 until the addition of the multinode example. It's built specifically for use with one emonTx and one emonGLCD. One of its advantages is 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 etc. The disadvantage with this sketch is it 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 Cosm. 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