siscti39 electric imp workshop

6
Hands on Internet of Things Matt Haines Community Manager @electricimp @beardedinventor

Upload: matt-haines

Post on 25-Jan-2015

86 views

Category:

Technology


8 download

DESCRIPTION

Slides for the #SISCTI39 Electric Imp workshop - these slides are designed to be used in conjunction with the sample code.

TRANSCRIPT

Page 1: SISCTI39 Electric Imp Workshop

Hands on Internet of Things

Matt HainesCommunity Manager

@electricimp@beardedinventor

Page 2: SISCTI39 Electric Imp Workshop

What we’ll be doing

• Create Electric Imp accounts • Get your imps online

• Experiments:– Blink an LED– Control an LED from a webpage– Read a Thermistor (temperature sensor)– Display temperature on a webpage

Page 3: SISCTI39 Electric Imp Workshop

Getting Setup

• Create an account: https://ide.electricimp.com

• Download Electric Imp app– Apple App Store– Google Play

Page 4: SISCTI39 Electric Imp Workshop

Example Code

• You can download the example code from:– http://bit.ly/imp-code

• Conventions:– x.device.nut – goes in device window– x.agent.nut – goes in agent window

• We’ll explain code as we go!

Page 5: SISCTI39 Electric Imp Workshop

LED Circuit

Page 6: SISCTI39 Electric Imp Workshop

Thermistor Circuit