Cayenne is an app for smartphones and computers that allows you to control the Raspberry Pi and soon also the Arduino through the use of an elegant graphical interface and a solid nice communication protocol.
The features are:
- Add and remotely control sensors, motors, actuators, GPIO boards, and more
- Customizable dashboards with drag-and-drop widgets for connection devices
- Create triggers and threshold alerts for devices, events, and actions
- Schedule one-time or multi-device events for easy automation
- Quick and easy setup – connect your Pi in minutes
Step 1: Sign Up to Cayenne
Go to Cayenne site and Sign Up. After download the file and install the Cayenne system on your Raspberry Pi.
Download the app on your Smartphone or tablet by using the follows link
Install on your Raspberry Pi the Raspbian system. For this step download NOOBS from Raspberripi.org: https://www.raspberrypi.org/downloads/
Copy the package on your SD, and start the Raspbian installation. For the raspbian installation I recomend to use a HDMI screen, a USB mouse and a USB keyboard.
After this, connect your Raspberry at your LAN by cable. Then open your Cayenne app and install the library on your device. The next step.
Step 2: Download the app and install Cayenne
Download the app on your Smartphone or tablet by using the follows link
Install on your Raspberry Pi the Raspbian system. Need a Raspberry Pi?
After this, connect your Raspberry at your LAN by cable. Then open your Cayenne app and install the library on your device.
OR
Install manually Cayenne on your Raspberry Pi by using Terminal of Raspberry Pi:
wget https://cayenne.mydevices.com/dl/rpi_b8w8pn82i9.sh
sudo bash rpi_b8w8pn82i9.sh -v
Please be patient 10 minute to ultimate the installation process. After this reboot your Raspberry.
Step 3: See your Device on Cayenne Dashboard
By using Computer you can see your device on: https://cayenne.mydevices.com/ like in photo.
By using a Smartphone you can open the app and see your devices.
You can personalize the Dashboard of Cayenne by using the widgets. The default Dashboard have CPU, Temp and RAM widget . These are the values of your Raspberry Pi. You can see the temp and the work flow of Raspberry pi. Then you can see the GPIO schedule. In the GPIO you can set every pin of GPIO of Raspberry. You can set the pin like Output or Input.
Then you can activate the pin or read the value of the pin. The two values are HIGH or LOW. This is valid for Input and Output.
Step 4: Connect a led to your Raspberry Pi
Now you can connect a led to GPIO port of Raspberry Pi.
Use ALWAYS a resistor in series to led. If you don’t use a resistor, you can burn the led or the Raspberry Pi. See the photo and connect the led to pin number 11 or GPIO 17.
Do you need a leds or resistors, or a complete kit for Raspberry Pi?
Please pay attention with the connections.
Read More: Cayenne and Raspberry Pi IoT Simple