Successfully completing my first project from a member within the Arduino community!
One of my goals for this journey was to complete a project that was submitted by a member of the Arduino community. After my first failed attempt at completing the Arduino Powered Lucky Cat project, I took a step back and learned how to use the Ethernet Shield. In my second project search I was still interested in finding something related to web development (this time using the Ethernet Shield), but I also made sure to pay more attention to the skill level. The perfect project would also let me utilize some of the beginner knowledge that I had learned about circuits and breadboards.
Finding a beginner level project that used the Ethernet Shield was much harder than I had anticipated. After searching through my usual sites, a simple Google search lead me to a project on startingelectronics.org called Arduino Web Server LED Control.
In this project the Arduino and Ethernet Shield are used as a web server. Together they serve up a simple HTML page with a form that allows you to control an LED on the breadboard that is also powered by the Arduino.
This project ended up being a great success! The instructions on the site were thorough and easy for a beginner to follow. However, as I learned while setting the shield up, I had to call the Ethernet2 library in my sketch instead of the more popular Ethernet library.
Below are screenshots of the set-up and a video of the final working product.
Lessons Learned
Taking a step back after my first failed project was key to the success of this one. Rather than getting discouraged, I recognized that I was entering an area of the Arduino world that was completely foreign to me. While learning about circuits, the Arduino Project Book started by giving an overview of how circuits work in general, and then more advanced topics were slowly introduced as you progressed through the book. I took a similar approach for learning how to connect to the internet. I began by reviewing the basics of web servers, clients, and DNS, and then followed introductory tutorials with the Ethernet Shield before attempting the project described above.
Sources:
Startingelectronics. (2013). Arduino Web Server LED Control. Starting Electronics. Retrieved from https://startingelectronics.org/tutorials/arduino/ethernet-shield-web-server-tutorial/web-server-LED-control/