Getting Started With the Particle Photon

by ilovekoalas in Circuits > Wireless

4521 Views, 34 Favorites, 0 Comments

Getting Started With the Particle Photon

15, 4:57 PM.jpg

Hello fellow makers! Today I will be showing you about a little tiny product that can pack a punch in IoT. Today we will be working with the Particle Photon.

Here are the specs:
Particle P0 WiFi module
Broadcom BCM43362 WiFi chip
STM32F205 120Mhz ARM Cortex M3
1MB flash
128KB RAM
802.11b/g/n
Soft AP setup
FCC/CE/IC certified
18 on board I/O pins
Let's get started!

Here's a short video about it:

The Materials

15, 4:57 PM.jpg
The things you will need to get started are:
A Particle Photon
A breadboard
Micro USB
USB power supply
LED with resistor

Ok let's go

Getting the Particle Ready for Connectivity

15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
To get started plug the Particle in and download the particle app on your phone. Then make an account if you don't already have one. This will lead you to your dashboard. Click setup photon. (Excuse the koalanator)

Connecting the Photon

15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
To connect the Photon you click setup photon. Then this will lead you to a screen with instructions of how to do it. Make sure the onboard LED is blinking blue. Now click ready.
When it tells you to connect to the Photon go to settings and click the Photon's network. Once connected it will get you a notification telling you it has connected. Back in the app you should select your OWN network and enter the password. Once done configuring the Particle is now connected to the inter webs.

Adding the LED

15, 4:57 PM.jpg
15, 4:57 PM.jpg
To start take the photon and put it into the breadboard. Take the positive pin of the LED and connect it to the GPIO pin you want. Then take the resistor and connect the negative leg to ground.(I used D0)

Turning the LED Off and On

15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
15, 4:57 PM.jpg
To control the LED go to the dashboard and click the Photon that you would like to control. It will open up and show you all the pins of the Particle. Click the GPIO connected to your LED and click digitalWrite. Now if you click the D0 or your pin it should send a request to your Particle to turn it on. In a few milliseconds it should turn on. If it doesn't work check your connections.

Yay!

15, 4:57 PM.jpg
15, 4:57 PM.jpg
You have succeeded on turning an LED on via Internet. This is just the beginning of what you can do with this tiny little WiFi controller.