Chapter 1. Internet-Controlled PowerSwitch
For many years, people physically interacted with electrical appliances using hardware switches. Now that things have changed, thanks to the advances in technology and hardware, controlling a switch over the Internet without any form of physical interaction has become possible.
In this chapter, we will incrementally build a web server-enabled smart power switch that can be controlled through the Internet with a wired Internet connection. Let's move to Arduino's IoT (Internet of Things).
In this chapter, you will do the following:
- Learn about Arduino UNO and Arduino Ethernet Shield basics
- Learn how to connect a PowerSwitch Tail with Arduino UNO
- Build a simple web server to handle client requests and control the PowerSwitch accordingly
- Build a simple mains electricity (general purpose alternating current) sensor with 5V DC wall power supply
- Develop a user friendly UI (User Interface) with HTML (Hyper Text Markup Language) and Metro UI CSS (Cascade Style Sheet)