internetenabledpushbutton_01

Download InternetEnabledPushButton_01

If you can't read please download the document

Upload: anshul-garg

Post on 14-Apr-2017

170 views

Category:

Documents


2 download

TRANSCRIPT

INTERNET ENABLED PUSH BUTTON

Demonstrating an Internet Enabled Push Button by which we can trigger an Email.

Anshul Garg

Presented by,

What you need

A Particle Photon, available for $19 from Particle Web.

6 Male to Male Jumper Cables

1 Push Button

1 Resistor

A Pushingbox account (pushingbox.com) - an easy way to create notification 'scenerios' for your IoT-enabled devices.

Steps to be followed

Create a Scenerio on Pushingbox.

Get your Particle Photon up and running.

Wire up your device.

Author and flash the code to the Photon.

Extending the project.

Create a Scenerio on Pushingbox

Pushingbox has a lot great services integrated; you can enable voice notification, emails, browser and mobile push notifications.

For this simple scenerio we can enable Email Service.

Create a Scenerio on Pushingbox

Now, create a scenerio in PushingBox and associate the email action with the created scenerio.

Create a Scenerio on Pushingbox

Associate an Email Action with the created Scenerio in the previous slide.

After Association you can test the scenerio by clicking on Test Scenerio Button. If you recieve the test Email then PushingBox Notification is successfully configured.

Get your Particle Photon up and running

Ensure that your Particle Photon is enabled on Local Wifi.

Setup the Particle photon device using Particle Mobile App. Please follow the Particle Guide for detailed instructions.

After installation we can validate the device status using following terminal command.Login to Particle Cloud.$particle cloud loginVerify your device is available$particle list

Wire up your device

Author and flash the code to the Photon

Write the following source code on the Web IDE or Build Area of Particle Build.

Ino file code can be cloned from following GitHub Repository.Link to GitHub Repository

After getting the code put the same in Build Area. Make sure you place the device ID which you have recieved from the pushingBox.

Author and flash the code to the Photon

Author and flash the code to the Photon

Flash the code into Particle Photon and after it started blinking Cyan Push the Button notifiation would be sent to your email.

Click to edit the title text format