Project:Nanode/Applications: Difference between revisions

From London Hackspace Wiki

Line 5: Line 5:
It has 6 analogue sensing channels and 6 spare digital I/O lines.
It has 6 analogue sensing channels and 6 spare digital I/O lines.


It can be used for a variety of web connected applications including remote control and monitoring, as a smart sensor, home automation, as a Tweeting device, and for publishing small ammounts of data to the web.
It can be used for a variety of web connected applications including remote control and monitoring, as a smart sensor, home automation, as a Tweeting device, and for publishing small amounts of data to the web.


The existing software allows it to be set up as an I/O webserver - a device which send the state of its analogue and digital I/O to a web page - and which can be controlled from that webpage.
The existing software allows it to be set up as an I/O webserver - a device which sends the state of its analogue and digital I/O to a web page - and which can be controlled from that webpage.


However it is not restricted to just that role, it can act as a publisher device and send data to an open data service such as Pachube, and it can act as a web connected I/O device, which subscribes to a Pachube data feed and acts according to the data received from that feed - for example setting its I/O, updating a display or controlling some actuator device.
However it is not restricted to just that role, it can act as a publisher device and send data to an intermediary open data service such as Pachube, and it can act as a web connected I/O device, which subscribes to a Pachube data feed and acts according to the data received from that feed - for example setting its I/O, updating a display or controlling some actuator device.


By using Pachube's API as a smart intermediary, much of the burden of serving an interractive webpage is eliminated from the Nanode.
By using Pachube's API as a smart intermediary, much of the burden of serving an interractive webpage is eliminated from the Nanode.
Line 15: Line 15:
A final application, uses an interpreted language called [http://bitlash.net/wiki/start Bitlash] which allows scripts to be written and stored in EEprom on the microcontroller or on an external SD card. We are developing a Telnet aopplication which would allow a Nanode running bitlash to be remotely reconfigured to run a different script.
A final application, uses an interpreted language called [http://bitlash.net/wiki/start Bitlash] which allows scripts to be written and stored in EEprom on the microcontroller or on an external SD card. We are developing a Telnet aopplication which would allow a Nanode running bitlash to be remotely reconfigured to run a different script.


Nanode has a lot in common with the Tuxgraphics Web Server - in fact the Tuxgraphics TCP/IP stack was ported to Arduino, and thence onto Nanode.  Here's an [http://tuxgraphics.org/electronics/200905/embedded-tcp-ip-stack.shtml article] with a lot of the background information to how the stack works and how it serves small web pages efficiently.
Nanode has a lot in common with the Tuxgraphics Web Server - in fact the Tuxgraphics TCP/IP stack was ported to Arduino, and thence onto Nanode.   
 
Here's an [http://tuxgraphics.org/electronics/200905/embedded-tcp-ip-stack.shtml article] with a lot of the background information to how the stack works and how it serves small web pages efficiently.


==Before You Start==
==Before You Start==
552

edits