It’s easy to fit an Ethernet Controller module to your Arduino board that will let you serve a web-page to your browser or smartphone – as well as send you an email to alert you to potential issues.
Using the simple, four-wire SPI communications protocol it’s easy to wire up an ENC28J60 to any Arduino UNO, Nano or Mega – and if you use the W5100 board there’s no wiring to be done! What could be simpler than that?
It’s one thing to wire up an Ethernet Controller, but how do you write the HTML to create a (simple) web page? I show you how, and how we save valuable run-time SRAM. It’s not complicated and if you download the fully documented example sketch it will be very obvious how it hangs together.
In the next part we’ll cover the (even simpler) process to send an email, and then we’ll tie everything together into one project. This is going to monitor my attic water temperature and water level and will alert me if either is too low (no burst pipes for me!).
The example sketch is available below, together with links to the UIPEthernet library I use and other information you may find useful.
Each Monday is ArduinoMonday here at Adafruit! Be sure to check out our posts, tutorials and new Arduino related products. Adafruit manufactures the Arduino right here in the United States in cooperation with arduino.cc. We have a huge selection of Arduino accessories and all the code and tutorials to get you up and running in no time!