About This Project
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
A Particle (formerly called Spark) Photon
- Add New Device (Select Arduino)
focus on auth code.
- In Particle Coud Editor, search for Cayenne Library
Select USE THIS EXAMPLE
Build and Flash the Code
3. Cayenne recognized the device, rename for identify this one.
4. Add new Widget (with Virtual Pin)
5. Flash the new Sketch
6. Test Widget
In this case you should call Blynk classes and functions, because the Cayenne library is not yet complete. In these days I'll give a revised to improve it
Photos of the Project