Things used in this project

Hardware components:
Neopixel strip
NeoPixel strip
Photon new
Particle Photon
get a headerless photon, you don't need the pins
Adafruit industries ada260 image 90px
USB-A to Mini-USB Cable
Software apps and online services: API
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)


Neopixel to Photon Schematic
Connect the wires


Web code to start a light showJavaScript
This is the code for your website that starts a light show by passing through a light show mode to your Photon. On a button click, pass through a 'mode' parameter, like 'blue', 'red', or 'rainbow'
import {Injectable} from '@angular/core';
import { Http, Response, Headers } from '@angular/http';
import {LogService} from '../../core/services/log.service';
import {Observable} from 'rxjs/Rx';
import 'rxjs/add/operator/map';

export class PhotonService {
  private requestURl: string;
  private accessToken: string;

    private logger: LogService,
    private http: Http) {
      logger.debug(`Photon initializing...`);
      //device id
      this.requestURl = '<post your api key here>/startRave/';
      //access token
      this.accessToken = '<post your access token here>';

public startLightShow(mode: string) {

  let params = 'command=' + mode + '&access_token=' + this.accessToken;

  let headers = new Headers();
  headers.append('Content-Type', 'application/x-www-form-urlencoded');, params, {headers: headers})
    .map(res => res.json())
      data => params,
      err => this.handleError(err),
      () => console.log('Post Complete')

  private handleError(error: Response) {
      return Observable.throw(error);



Jen Looper

Founder:, indie web and mobile developer, Developer Relations team member at Telerik. Queen of the Apps!


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

IoT Drone - Part 1 - Motor Control
  • 1,363
  • 27

Work in progress

After flying a friends drone I was hooked. However, I wanted to build my own, so this is part one of my drone project - motor control.

Bike Swarm
  • 611
  • 13

Work in progress

Cyclists will be able to connect seamlessly to form a synchronized swarm of riders to reduce traffic congestion and improving safety.

Bike Swarm

Team Bright Water Bottle

Smart Maid
  • 1,315
  • 21

Full instructions

Hack your existing iRobot Create with Particle and control it through Alexa.

Smart Maid

Team Yosnalab

"Internet-controlled" Nespresso Machine
  • 2,618
  • 8

Using a chatbot and a Nespresso machine to make coffee remotely.

IoT Smart Desk Drawer with Amazon DRS
  • 461
  • 4

Never run out of office supplies again. PostIt notes, stamps, paperclips, tape and paper replenished from the cloud.

Home Theater Accent Lights
  • 307
  • 1

Full instructions

Particle Photon and SmartThings controlled WS2812B.

Add projectSign up / Login
Respect project