This guide will help you to understand how to get started arduino iot with Cayenne platform.
Cayenne is the world’s first drag and drop IoT project builder that empowers developers, designers and engineers to quickly prototype and share their connected device projects. Cayenne was designed to help users create Internet of Things prototypes and then bring them to production. Cayenne was designed to work from iOS and Android smartphones and popular browsers. There are several major components in the platform: Cayenne Mobile Apps – Remotely monitor and control your IoT projects from the Android or iOS Apps. Cayenne Online Dashboard – Use customizable widgets to visualize data, set up rules, schedule events and more.
Download Android APP from Google play: https://play.google.com/store/apps/details?id=com....
Dwonload iOS APP: https://itunes.apple.com/us/app/cayenne-connect-cr...
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Create Cayenne Account
Visi website: https://cayenne.mydevices.com/cayenne/login,
On the Sign Up page, enter your Name, Email and create a Password.
Once you create an account, you then add your device so it can be seen in the online dashboard. Through the dashboard, everything on your Board is accessible. You can remotely monitor and control your IOT devices, for example, you can turn off /on a LED, Monitor temperature.
Cayenne can support multiple devices as well. Beyond adding as many Raspberry Pi/Arduino as you want, you can select from a range of sensors, extensions and actuators that will be wired to your Board. in this example, we'll use Arduino Uno Board
- 1x Osoyoo UNO R3 Board with USB Cable
- 1x Ethernet Shield W5100
- Arduino IDE(Please download IDE from: www.arduino.cc)
- Cayenne Library
Step 2: Hardware Setup
Please visit: https://cayenne.mydevices.com/cayenne/login enter your user name and password to login.
1: select Arduino to start our IOT project.
2: Connect Ethernet Shield W5100 to Arduino UNO(Power on your Arduino by connecting your Uno board with a USB cable . You should see the power LED lit on your board. Connect the W5100 to Internet with a Ethernet cable)
Step 3: Add Cayenne Library to Your Arduino IDE
The Cayenne Library is a collection of code, known as sketch files, that makes it easy for you to connect and send data to and from sensors, actuators and devices connected to Arduino boards. Cayenne sketch files can be combined with other sketch files for your IoT projects.
The Cayenne Library is available directly from the Arduino IDE Libraries list. To install the library, select Sketch > Include library > Manage Libraries. The Library Manager dialog will appear. From here, search for the Cayenne library and install it.
The Cayenne library has now been expanded in the libraries folder in your Arduino sketches directory. You can verify this by going to the Sketch > Include Library menu where you should now see the Cayenne library at the bottom of the drop-down menu under Contributed Libraries. The Cayenne library is now ready to be used in your project.
Step 4: Configure Arduino IDE
In order to successfully program your Arduino board, you will need to verify that the appropriate Board and Port are selected in the Arduino IDE.
First, verify that the correct Board is selected in the Tools > Board menu. Be sure to select the board type that you will be programming.
Then, verify that you have the correct Port selected for communicating with your Arduino. Pick the correct port based upon how you are connecting your Arduino to your PC/Mac.
Step 5: Connect Arduino to Caynne IoT Servo
After setting up your PC/Mac computer with the Arduino IDE and the Cayenne Library, you are ready to install Cayenne onto your device. Back to Cayenne Dashboard, select your Arduino board, a list of connections appears below the board name. Select the Arduino Uno, and select Ethernet shield W5100.
Click on the Sketch button next to “Ethernet Shield W5100”, you will get a pop-up window which has Arduino Sketch code.
Copy & paste the sketch code into Arduino IDE and select Sketch > Upload to compile and upload the sketch into Arduino UNO board.As soon as your Arduino device comes online and connects to Cayenne, you will see your Arduino Board in the online dashboard.
For more arduino IoT projects, please visit: http://osoyoo.com/2017/05/09/arduino-iot-starter-kit/