Hardware Reference
In-Depth Information
The male plug will be used to connect the relay to the main power plug in the wall and the
female socket will be used to connect the device to control the relay.
Note
Always be very careful when connecting wires to the main electricity. Make sure that you
don't touch any of the exposed parts of the relay, and make sure that the cables themselves
don't have any exposed copper. Also, connect the plug to the electricity latest when as-
sembling the project.
Let's now see the software requirements for this project. As usual, you will need to have
the Arduino IDE installed, along with a web server running on your computer.
In the second part of the chapter, we are going to use a service called Teleduino to control
the Ethernet shield from anywhere. To use this service, you will need to get an API key,
which you will have to insert inside the Arduino sketch.
You can get a key by visiting the following address:
https://www.teleduino.org/tools/request-key
You will be taken to the following page where you can get your key:
Search WWH ::




Custom Search