Particle Photon RGB Cloud Remote Control

In this demo I show you how to create a simple JavaScript based web application that can communicate with the Particle Photon. With the app you can control color of the RGB led on the Photon with Hue, Saturation and Brightness sliders. The HSB>RGB conversion is done on the Photon and is also send back to the app to change the background of the title. You don’t need extra sensors, just a plain Particle Photon board.

Particle Photon RGB Local Remote Control

In this demo we use local communication to communicate with the Photon. This is a lot faster then communication through the Particle Cloud. Sending a message takes about 20ms instead of 300ms (and thats the timing of the Particle function and excluded the timing of passing the variable for the color).

Arduino Scratch mapping example

If you want to use sensor data in your application you probably want to map the values to a different range. Below a visualisation of the formula that you can use for that.

Arduino Flash communication AS3 – Messenger

Example how to setup serial communication between Flash and Arduino in combination with the Messenger library for Arduino. This is usefull if you want to use Arduino in a different way than as a sensorbox (if you want that check out the As3glue Firmata combination in my other post).

Arduino Flash communication AS3 – Firmata

Video tutorial on how to setup communication between Arduino and Flash (Actionscript 3.0) with Firmata and Serialproxy. You can download a bundle with examples and the libraries/software.