October 15, 2013

Remote Arduino-based data logging with node.js

There are many ways of logging data from remote locations, and most of them tend to rely on writing to a local SD card for later retrieval. However if you require instant data retrieval from the remote site, and Internet or network access is available then the following tutorial by Franci Kapel will be of great interest. Franci has documented in simple terms a method of sending data from an Ethernet-connected Arduino directly to a node.js server running on a remote PC. 

The example in the tutorial sends the value of returned by one of the Arduino's analogue pins, however you can modify it easily for other forms of data - and the PC side of things simply captures the incoming bytes of data and writes them to a text file.

The Arduino sketch, .js code to run on the local PC and relevant notes have been supplied, so you can get started without any fuss. To do so, visit Franci's websiteAnd for more, we're on twitter and Google+, so follow us for news and product updates as well.

When putting together your next Internet-enabled Arduino project - save time, space and money with the Freetronics EtherTen. Apart from being fully Arduino Uno-compatible, it has onboard Ethernet, microSD socket, full USB interface (so you don't need a costly FTDI cable just to upload a sketch!) and supports optional Power-over-Ethernet.

Leave a comment

Comments have to be approved before showing up.