0

Web Enable your Arduino (ENC28J60 or W5100 Ethernet Controller) #ArduinoMonday

Ralph S Bacon shared this tutorial on Youtube!

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.

See more and check out Ralph’s Youtube page dedicated to Arduino and electronics!


50-06Each 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!


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.