Professional Documents
Culture Documents
How to operate:
Mount all the components to the raspberry pi (relay module, light strips, door lock, fan, battery case and
batteries)
Connect the jumper wires from relay to raspberry
Use speaker wires to connect the relay to light strips, door lock, fan, battery case
And put AA batteries on battery case
Setting up the Cayenne to the Devices
From the dashboard click “add new” to select the device from the drop-down box
Find the “device/widget”. Select the “Relay Switch” from the “Actuators” (An actuator is device that
moves or controls some mechanism. An actuator turns control signal into mechanical action such as an
electric motor.)
Select the “Device” and find “Raspberry Pi” from the “single board computers”
In the “Connectivity”, the “Integrated GPIO” choose the channel from the respective GPIO pins (P6, P13,
P19, P26)
Choose the widget to “Button” and invert to logic and click button “Add Actuator”
Repeat this to add more actuator for the remaining 3 channels
Drag and drop the Raspberry Pi in the far-left corner into the “if” box
Click “select trigger” and click which channel you want to trigger and choose “on or off”
Now in the “then” box select “set up notification” and add phone number and email number on “add
custom recipient” and make sure to tick the checkboxes
It should now be saved and will send notification whenever the button are on or off
How it works:
Install the app to your smartphone to control the devices (light strips, door lock, and fan)
And you can now use your smartphone to control your devices with the help of WiFI