Arduino Electric Switch
Here is how I maked someting like arduino relay.
Making
Required materials:
Breadboard;
Servo;
Button;
Jumper wires;
Arduino;
Wiring:
Servo(red) +5v Arduino
Servo(brown) GND Arduino
Servo(Yellow) D8 Arduino
Steps:
1. Upload code to your arduino named "Positioning servo".
2. After that you need to rotate servo just little.
3. Add button to breadboard and set servo near button.
4. Glue servo.
5. When glue get cold, upload Clicked_unclicked.ino file.
6. Your electric switch is ready.
7. Bye!