ethernet

Arduino Ethernet and Pachube: remote sensors & web-control

Below are a couple of sketches for Arduino Ethernet: the first can be used to share sensor data with Pachube and grab remote sensor data, so you can effectively have both "local" and "remote" sensors; and the second enables you to control Arduino Ethernet via a web page.

These sketches should make Arduino-based web-controlled home automation, and remote-responsive spaces a lot easier. The advantage of working with an ethernet shield is that you no longer need to tether the Arduino to a computer in order to access Pachube and other network services!

Arduino Ethernet with Pachube Arduino Ethernet with Pachube Arduino Ethernet with Pachube

... read more »

Arduino + ethernet shields: connecting to Pachube

To connect to Pachube using an Arduino with ethernet shield serving, we recommend using the official Arduino Ethernet shield.

Official Arduino Ethernet shield

Recommended code: Click here for a couple of sketches for using Arduino Ethernet with Pachube: the first can be used to share sensor data with Pachube and grab remote sensor data, so you can effectively have both "local" and "remote" sensors; and the second enables you to control Arduino Ethernet via a web page.

Other Ethernet shields for Arduino

If you are using one of the other ethernet shields, you can use one of the following Arduino sketches (at the moment these are examples for providing inputs to Pachube -- i.e. to share your sensor data -- not to use outputs from Pachube -- i.e. other people's sensors).

Nuelectronics Ethernet Shield

The Nuelectronics.com Ethernet Shield is very stable acting as a server, but because the ethernet code is not abstracted it can be complex to debug. (These require direct access to the internet, either behind a firewall with port forwarding enabled on your router; or without a firewall).

Lady Ada's Lantronix Ethernet shield

The Lady Ada's Ethernet shield is nice to work with because it acts almost like serial port, but it's a little more complex to set up: you need to telnet into it in order set configuration preferences.

... read more »