Difference between revisions of "NanodeRF"

From Wiki | OpenEnergyMonitor
Jump to navigation Jump to search
(oqbIZerNNNSmXUg)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
14 million curse words, two days of hell, a plot to end all iPhone dcieevs world wide, and a grown hatred for Apple  You (EverythingApplePro) have restored my faith in this product. Your video saved my phone. I was stupid and updated the software via iTunes. That killed my jailbreak and unlock  You restored my iPhone and I am forever greatful!
==Overview==
[[File:NanodeRF.jpg|300 px|NanodeRF]]
 
The NanodeRF works like a normal Arduino but with an ENC8J60 based Ethernet and a [http://openenergymonitor.org/emon/node/271 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 [http://sustburbia.blogspot.com/ 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 [http://www.nanode.eu/ 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: [http://ichilton.github.io/nanode/rf/build_guide.html/ NanodeRF step-by-step pictorial build guide].
 
Ian has written a wealth of information on the NanodeRF that is available here: [http://ichilton.github.com/nanode/ 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 [http://openenergymonitor.org/emon/buildingblocks 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 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:
 
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/a_FixedPackets/a_FixedPackets.ino Fixed Packets]
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/b_MultiNode/b_MultiNode.ino MultiNode]
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/c_BasicWebClient/c_BasicWebClient.ino Basic Web Client]
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/d_PacketBuffer/d_PacketBuffer.ino PacketBuffer]
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/e_BasicMultiNodeWebClient/e_BasicMultiNodeWebClient.ino Basic MultiNode Web Client]
# [https://github.com/openenergymonitor/NanodeRF/blob/master/Guide/f_ReceivingReply/f_ReceivingReply.ino Receiving a Reply]
 
==Full Firmware==
 
# '''[https://github.com/openenergymonitor/NanodeRF/tree/master/NanodeRF_multinode 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.
# '''[https://github.com/openenergymonitor/NanodeRF/tree/master/NanodeRF_Power_RTCrelay_GLCDtemp 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.
# '''[https://github.com/openenergymonitor/NanodeRF/tree/master/NanodeRF_Cosm 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
 
[http://openenergymonitor.org/emon/node/227 See here for older documentation for using the original Nanode 5 as an emonBase]

Latest revision as of 14:12, 15 March 2017

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