Cayenne on Arduino Uno

Cayenne for Arduino

Wait, Cayenne on Arduino?

Yes, Cayenne on Arduino. The same Cayenne we've covered in the past can also be installed on, among many others, an Arduino board. Today we'll be covering the installation process.

Hardware

First, you'll need compatible hardware. The two basic things you need are the micro-controller itself and a network interface card. We used an Arduino Uno (rev. 3) and a SeeedStudio Ethernet Shield (v1.1). Cayenne is compatible with a wide range of other network cards and Arduino boards as well; check their site for full compatibility list. You also of course need a network to connect to, either wireless or wired, and a power source. If you plug into a computer, you can use the serial monitor to view debugging information.

Software Installation

Try watching this video:

  1. Go to Cayenne
  2. Log in or sign up
  3. Choose to add a new device
  4. Follow the prompts to select your board and network card(A SeeedStudio ethernet shield is equivalent with a W5100)
  5. Open Arduino IDE
  6. Install Cayenne Library
    1.  Go to Sketch=>Include Library=>Manage Libraries
    2. Search for Cayenne and install
  7. Copy and paste the code from Cayenne into Arduino IDE
  8. Compile and upload (this can take some time)
  9.  Optional: Serial debug
    1. If you're Arduino is connected to a serial port, you can open the serial monitor and view the board's status
  10. Log into Cayenne and start using your Arduino! 
After successful installation, you may receive an email confirming the device was setup:



 Conclusion

 Now with Cayenne on your Arduino board, simply set it up anywhere with internet and power to be able to remotely and autonomously toggle pins on and off. Just be aware that depending on your network card, certain pins on the Arduino may be unusable, such as pins 13, 12, and 11 in our setup. Stay tuned to CodePy for more tech tutorials!

Comments

Popular posts from this blog

Installing Raspbian Jessie

myDevices Cayenne

Raspberry Pi: Backup and Restore