Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:hah_hahnode:nanode_gateway [2013/06/02 04:44] – brett | livebox:hah_hahnode:nanode_gateway [2014/01/20 09:11] (current) – [Operation] brett | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Nanode Gateway ====== | ====== Nanode Gateway ====== | ||
- | {{: | + | The Nanode is an RF enabled, and Ethernet enabled, AVR328P boards using the same development tools as the Arduino. |
- | What this does is it accepts an RF packet and dump the same format xAP message onto the Ethernet as the [[livebox/xap_serial]] program would do. | + | They are available for purchase here: http://shop.nanode.eu/ |
- | Which means this one embedded device can replace the base jeenode + xap-serial running on the livebox as a standalone solution. | + | {{: |
+ | |||
+ | source: {{: | ||
+ | ===== Architecture ===== | ||
+ | |||
+ | How we are going to use this is to have it pretend to be an [[livebox/ | ||
+ | |||
+ | This one embedded device can replace the base jeenode + xap-serial running on the livebox. The diagram below shows on the left the traditional Livebox solution using a Base node to receive RF communication which is relayed to xap-serial and on the right how this can be done using just a Nanode. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | It does this by acting | ||
+ | |||
+ | ===== Operation ===== | ||
+ | |||
+ | Once the firmware is flashed, the only details that require configuration are the NODE ID, Group and RF Frequency. These must be done via the serial interface used to flash the device. | ||
+ | |||
+ | Once operational, | ||
+ | < | ||
+ | xap-hbeat | ||
+ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FFABCD00 | ||
+ | class=xap-hbeat.alive | ||
+ | source=dbzoo.nanode.gateway | ||
+ | interval=60 | ||
+ | port=0 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | An RF packet that can be decoded will be emitted using the pseudo port / | ||
+ | < | ||
+ | xap-header | ||
+ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FFABCD00 | ||
+ | class=Serial.Comms | ||
+ | source=dbzoo.nanode.gateway | ||
+ | } | ||
+ | Serial.Received | ||
+ | { | ||
+ | port=/ | ||
+ | data=OK 3 50 1 178 0 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Integration into the [[livebox/ | ||
+ | < | ||
+ | function init() | ||
+ | | ||
+ | { [2] = RoomNode{deviceid=" | ||
+ | [3] = RoomNode{deviceid=" | ||
+ | [4] = RoomNode{deviceid=" | ||
+ | [5] = RoomNode{deviceid=" | ||
+ | [7] = RoomNode{deviceid=" | ||
+ | }) | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | This configuration can be seen in the xFxViewer output with corresponding nanode gateway packets also being shown. | ||
+ | |||
+ | {{: | ||