Cayenne (mydevices.com) is a web based service to quickly design ,prototype and commercialize IoT solutions.
Using Cayenne I have made a switch that can turn on/off a light using relay. The switching of device can be done through website or through mobile app.
The next part is where i have added two way switch to the relay and light setup.
Adding two way switch to this setup enables users to use their devices even if the internet connectivity is lost.
Two way switch is a fail-safe option to use your devices even if your internet of things goes down.
Note- You will be working with 240 volts supply so make sure you take all the precautions.
Step 1: List of Materials (hardware)
1. Arduino UNO with cable
2. Relay
3. Two way switch
4. Jumper Wires
5. Bulb holder with wire
6. Wires
7. Bulb
Step 2: Software
1. Cayenne www.mydevices.com (create your account)
2. Arduino IDE www.Arduino.cc
3. Cayenne library . https://mydevices.com/cayenne/docs/#getting-started-arduino-arduino-setup-using-cayenne-arduino-library
Step 3: Software Side Setup Video
Step 4: Hardware Side Setup Video
Step 5: Working Video
Step 6: End Note
Hope you guys liked it .
Please do vote for this instructable !
Thank you
3 Discussions
1 year ago
It is a good proof of concept, but if you really want to use it you will need an ethernet or wifi shield so arduino can be accessed from web. I suggest using esp8266-01 with arduino IDE (several instructables about it) and a tiny AC to 3.3V step-down power supply.
1 year ago
Nice
1 year ago
Great first instructable. Very well written.