Import CSV in MongoDB and keep it in sync.

Goal I’m working on a store and business locator service. Instead of building a User Interface to add addresses to a database, I like to keep track of all the data in an Excel/Google Sheets spreadsheet. This article explains how I build a script to import CSV in MongoDB and keep it in sync with … Read more

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).