Cayenne Pi Student


Any actions and or activities related to the material contained within this Website is solely your responsibility. The misuse of the information in this website can result in criminal charges brought against the persons in question. Cyber Security Associates Limited, will not be held responsible for any criminal charges brought against any individuals misusing the information in these projects to break the law.


Teacher Overview

Raspbian is a Debian-based computer operating system for the Raspberry Pi computer. There are several versions of Raspbian including: Raspbian Stretch and Raspbian Jessie. Raspbian was created by Mike Thompson and Peter Green as an independent project, with an initial build completed in June 2012. Since 2015, Raspbian has been officially provided by the Raspberry Pi Foundation as its primary operating system for the family of Raspberry Pi single-board computers and is highly optimized for the Raspberry Pi line's low-performance ARM CPUs. 

The internet of things, or IoT, is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. 

IoT devices could be a person with a heart monitor implant, a farm animal with a biochip transponder, an automobile that has built-in sensors to alert the driver when tire pressure is low or any other natural or man-made object that can be assigned an IP address and is able to transfer data over a network. Increasingly, organisations in a variety of industries are using IoT to operate more efficiently, better understand customers to deliver enhanced customer service, improve decision-making and increase the value of the business. 

In this project, you will be setting up Raspberry Pi cayenne using simple processes but also providing access to a powerful IoT software package. If you’re a fan of sensors, collecting data and the overall concept of IoT then this project is for you. There are quite a few features and things you’re able to do with this software but to keep things relatively simple and straightforward I will just touch on the basics in this tutorial. 

myDevices is an IoT solutions company that accelerates IoT development and empowers enterprises to quickly design, prototype, and commercialize IoT solutions. To accomplish the mission to simplify the connected world, Cayenne was created – the world’s first drag-and drop IoT project builder. Cayenne enables engineers, makers, network operators and system integrators to quickly and easily develop and deploy IoT solutions across a wide variety of needs. Developers can build complete and ready-to-use IoT solutions with little to no coding during the process. Cayenne contains a vast catalogue of certified IoT- ready devices and connectivity options, and it allows users the ability to easily add any device into the library utilizing MQTT API. All devices in Cayenne are interoperable and benefit from features including rules engine, asset tracking, remote monitoring and control, and tools to visualize real-time and historical data. myDevices also provides tools such as SDKs and APIs, in addition to professional services and support, for companies that want to create customized IoT products and apps that take advantage of Cayenne’s revolutionary capabilities. myDevices’ Cayenne is becoming the industry standard for building and delivering finished IoT solutions. 

In this project, we will acquire the ambient temperature and humidity data using Raspberry Pi and DHT11 sensor. The acquired sensor data will then be pushed to the Cayenne IoT project builder using the Cayenne MQTT Python Library. 

DHT11 is a temperature and humidity sensor equipped with humidity measurement, temperature measurement, and communication function. Also, the output value is calibrated and can be used without adjustment. NTC thermistor is used for temperature measurement and polymer film humidity sensor is used for humidity measurement. The sensor measures the relative humidity because the amount of moisture contained in the polymer membrane changes according to the change of the relative humidity and the dielectric constant changes accordingly. The DHT11 performs digital conversion of these sensors with a dedicated ASIC and outputs a 1-wire serial signal. The user can easily measure humidity and temperature simply by reading the output data with a microcomputer like Raspberry Pi. All the circuits necessary for measurement are built in, and it is possible to mount in a small space. Since the data output is open drain output, it can extend up to 20 meters. 

Suggested Year Group  

The suggested age group is 16+, due to the nature of this project and the skills it is developing.  


Learning Outcomes

  • Learn the basics of IoT; 

  • Learn the concepts of Cayenne; 

  • Learn how to use Cayenne and link it to the Raspberry Pi.  


Hardware Required

Component Number (Peli Case) 

Slot 4 + 5 

Slot 5 

Slot 9 

Slot 3 

Slot 3 

Slot 5 

Slot 1 

Slot 10 

Slot 11 

Slot 5 

Component Number (Box Case) 

Slot 1 

Slot 10 

Slot 2 

Slot 11 

Slot 11 

Slot 12 

Slot 13 

Slot 10 

Slot 11 

Slot 5 


Raspberry Pi + Case 

Raspbian SD Card 

TFT Screen 


Wireless Keyboard 

Wireless Mouse 

Power Supply Unit 

DHT11 sensor 

Male to female wires 



Video Guide



This project is designed to introduce you to Cayenne and the applications it has within IoT. In this project, you will have acquired the ambient temperature and humidity data using the Raspberry Pi and DHT11 sensor. The acquired sensor data was then pushed to the Cayenne IoT project builder using the Cayenne MQTT Python Library. This tutorial is just scratching the surface of what you can achieve with it, there are so many different projects you can build around this. Keep in mind that the Raspberry Pi is limited in processing power and will not be able to handle large volumes of traffic accurately.