https://build.particle.io/signup
unpackage the board and plug it into your laptop
particle's "getting started" guide: https://docs.particle.io/guide/getting-started/intro/photon/
- install nodejs and npm: https://nodejs.org
- run
npm install -g particle-cli
- run
particle login
and use your login credentials - run
particle setup
+ follow instructions to setup board - LED should now be pulsing cyan
- hold SETUP and RESET buttons down on the board for a moment, then release RESET and keep holding MODE until the LED blinks yellow light
- goto http://zadig.akeo.ie and download
- run tool
- select 'Photon with WiFi'
- hit 'install driver'
- goto http://dfu-util.sourceforge.net/
- releases/
- http://dfu-util.sourceforge.net/releases/dfu-util-0.8-binaries/win32-mingw32/
- grab dfu-util.exe, libusb-1.0.dll
- move both into your nodejs dir: C:/Program Files/nodejs
- install homebrew: http://brew.sh
- run
brew install dfu-util
your distro's package manager probably has a package for you to install called
dfu-util
!
run particle flash --usb voodoo
- create a new directory and enter it in your terminal
npm install johnny-five
npm install particle-io
- follow the johnny-five setup instructions on http://johnny-five.io
you'll need your device name (from particle setup
earlier) and device token
(run particle config identify
to see it) in the spots where it says
PARTICLE_TOKEN and PARTICLE_DEVICE_ID
- run your program with
node my-program-name.js
<3