Internet of Things
Control a light over the Internet
Thomas Proffen
Zoom information
Rules
Introductions
Welcome to our online class.
Today’s instructors and volunteers
Thomas Proffen
Antigoni Georgiadou
Bella Haden
Rinkle Juneja
Tomas Grejtak
Yvonne Dalschen
HAVE YOU ENCOUNTERED IOT?
IOT – SO WHAT IS IT?
LETS TRY IT!
Internet
TODAY’S PROJECT
Web page controlled LED light
Build
Code firmware
Connect to Internet
MEET OUR DEVICE
Breadboard
Columns are connected
Photon
WiFi enabled controller
USB
Resistor
Protects LED from too high current
LED
Light emitting diode. Only works for current flowing in one direction.
FIRMWARE
Watch
Your turn soon!
Pin the video with the device camera
1
2
6
7
12
13
18
19
24
25
Caution
Click skip for now on this screen!
YOUR TURN
Flash to device
Check code
Save code
Show code
Show devices
Open console
Code - Blink the LED
HOOK IT UP TO THE CLOUD
Devices need to connect to the cloud that provides the connection to other services on the Internet and your device.
Particle
Cloud
(Internet)
STEP 1
Registers led command and if called executes routine ledToggle.
Nothing in the loop as we wait for commands.
This is the routine called and command will contain the value the user supplied.
Here
on
off
The value after return is sent back to the user
Code - Internet Controlled LED
STEP 2
Note! Everyone who knows the device ID and access token can control your device.
This is the webpage created from the HTML code above.
Links in the text above show where to find your device ID and access token values.
Let’s make a pattern - all together
Let’s
do
it!
Be creative
Use the pattern on the Jamboard to plan other patterns. Simply mark the order.
Time for a group photo
Find all our materials here
Want more?
Sign up for virtual classes
| Virtual Classes | |
May 06 | Crowd Sourcing ⭐ | |
May 20 | Code Some Chords ⭐⭐ | |
May 27 | Smart Apps ⭐ |
Want more?
Sign up for classes
| Blount County Public Library, Maryville | |
Apr 22 | Using the MicroBit for Biometrics ⭐⭐ | |
May 13 | MicroBit Powered Robots ⭐ | |
| Roane State Community College, Oak Ridge | |
Apr 29 | Internet of Things ⭐⭐ |
ORCSGirls Summer Camps
July 17-20, 2023
Rising 2-4th graders, Virtual
Camp Directors
Katie Bates, Thomas Proffen
June 26-29, 2023
Rising 7-10th graders, Maryville, TN
Camp Directors
Katie Schuman, Amelie Nagle, Thomas Proffen
Smart Robot Camp
THANK YOU SO MUCH FOR ATTENDING
Big thank you to our
Volunteers, partners and sponsors.
@ORCSGirls
ORCSGirls
ORCSGirls