In this, my first project, I seek to control a Led RGB to display color combinations. Since the Cayenne App requires an additional module (I will buy it in a few weeks) to control an variable output (PWM), I have built this project using the digital output. So only 7 colors will be available. Cayenne has no specific widget for controlling an RGB LED (as with Blynk). I hope this project will help to encourage to create.
ConnectionsA RGB Led connected to a Raspberry Pi 2 connected to Cayenne via WiFi.
- Connect Common Ground (of the LED) to Raspberry Ground Pin (#6).
- Connect Other Led Pins to Raspberry Pines BCM 22,23 & 24 (#15,16,18).
RED ON
GREEN ON
BLUE ON
GREEN + BLUE ON
RED + BLUE ON
Comments