Not sure what Cayenne is? Click here to find out more.
The folks at myDevices across the pond in California have really thought hard about making every part of using Cayenne as simple as possible - including the installation. In my opinion, I truly think that anyone is capable of being able to install and use this software - and I will outline the two ways to do this below.
You will need:
- A Raspberry Pi set up and connected to the internet (WiFi or Ethernet)
- A different computer OR a smartphone (Android or Apple) with an internet connection
How to Install Cayenne on your Raspberry Pi:
- If you haven't already, you will need to make a completely free account so that you can start using Cayenne. You can do this by clicking here.
- Once you have created an account and logged in, you will see a screen like the one on the right.
- Select the Raspberry Pi option on the left, then proceed to the next page, which should look like the second picture.
- At this point, ensure that you Pi is turned on properly, and is connected to the internet. You may need to use a monitor and a keyboard/mouse to do this.
- Once you are sure that the Pi is on and connected to the internet, click next, and proceed to the screen shown in the third image.
- Here you are presented with two options - option 1 allows you to use a smartphone to locate the Pi and install the software, whereas option 2 lets you type the commands needed for installation directly into the Pi's terminal. It doesn't matter which one of these options you choose - I will outline them below.
OPtION 1 (Smartphone):
- Install the app on your smartphone using the following links for Android or Apple.
- Turn on your Raspberry Pi and make sure that it is connected to the same network as your smartphone.
- Open the app and touch 'Continue' followed by 'Find Raspberry Pi's'.
- After a few seconds, the IP of the Raspberry Pi should appear on the screen. Select this box by tapping on it, then tap 'Setup' at the bottom of the screen.
- The software will then begin to install on the Raspberry Pi and the status of the install will be displayed on the smartphone.
- Once the install has finished (may be over 10 mins), the dashboard of the Pi's status will be displayed on the smartphone!
option 2 (Terminal):
- Turn on your Raspberry Pi, ensuring that it is connected to the internet and has a monitor, keyboard and mouse connected.
- Once the Pi has booted up, click on LXTerminal to open up a terminal session.
- Type in the first line of code seen in the black box on the computer screen (above), and press enter. This step shouldn't take too long.
- Once this has completed, type the second command and press enter. This may take as while.
- Once the second command is running, the computer screen should change to display the status of the install.
- When the install is complete, the computer screen will change again to display the current status of the Pi, and you're sorted! You can now disconnect the monitor, keyboard and mouse from the Pi.
Once everything is installed, and the dashboard displays the Pi's status, you are ready to start connecting sensors and actuators to get your project moving! Stay tuned for another tutorial showing you how to connect temperature sensors, light sensors, motors, servos and more!