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:

  1. 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
  2. Once you have created an account and logged in, you will see a screen like the one on the right.
  3. Select the Raspberry Pi option on the left, then proceed to the next page, which should look like the second picture. 
  4. 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. 
  5. 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.
  6. 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):

  1. Install the app on your smartphone using the following links for Android or Apple.
  2. Turn on your Raspberry Pi and make sure that it is connected to the same network as your smartphone.
  3. Open the app and touch 'Continue' followed by 'Find Raspberry Pi's'.
  4. 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.
  5. The software will then begin to install on the Raspberry Pi and the status of the install will be displayed on the smartphone.
  6. 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):

  1. Turn on your Raspberry Pi, ensuring that it is connected to the internet and has a monitor, keyboard and mouse connected.
  2. Once the Pi has booted up, click on LXTerminal to open up a terminal session. 
  3. 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.
  4. Once this has completed, type the second command and press enter. This may take as while.
  5. Once the second command is running, the computer screen should change to display the status of the install.
  6. 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!