Connecting Particle Photon to Cayenne

by laurencehr in Circuits > Arduino

1235 Views, 4 Favorites, 0 Comments

Connecting Particle Photon to Cayenne

IMG-20161008-01381.jpg

Trying to keep all my boards connnected to Cayenne, which are compatible with Blynk, I want to experiment with my Photon.

In a post of this community I read about an unofficial library, but had not detailed steps, so I decided to write this tutorial step by step, with images and code included so that you can connect a Photon to Cayenne. The truth is that this library is still not very worked as Arduino library, but taking certain considerations you can achieve connect smoothly

Add New Device (Select Arduino)

getting-started-cayenne-particle-photon-001.jpg
getting-started-cayenne-particle-photon-002.jpg
getting-started-cayenne-particle-photon-003.jpg

In Particle Coud Editor, Search for Cayenne Library

getting-started-cayenne-particle-photon-004.jpg
getting-started-cayenne-particle-photon-005.jpg

Use the Example, Modify Auth Code, Build and Flash the Code.

getting-started-cayenne-particle-photon-007.jpg
getting-started-cayenne-particle-photon-008.jpg
getting-started-cayenne-particle-photon-009.jpg
getting-started-cayenne-particle-photon-006.jpg
getting-started-cayenne-particle-photon-010.jpg

Rename the Device

getting-started-cayenne-particle-photon-011.jpg
getting-started-cayenne-particle-photon-012.jpg

Add New Widget (User Virtual Pin) for Control a Led

getting-started-cayenne-particle-photon-013.jpg

Update the New Sketch

getting-started-cayenne-particle-photon-014.jpg

Try Controlling the Led

IMG-20161008-01374.jpg
IMG-20161008-01375.jpg