SlideShare a Scribd company logo
IoT for nybegynnere
Particle Photon
Photon IoT@jenschr / jensa@flashgamer.com
bitraf.no
@jenschr / jensa@flashgamer.com Photon IoT
Jens Christian Brynildsen
(aka Jensa)
@jenschr / jensa@flashgamer.com Arduino kurs
Dere?
@jenschr / jensa@flashgamer.com Photon IoT
Plan for kvelden
@jenschr / jensa@flashgamer.com
• De som ikke har Photon og komponenter kan kjøpe i
Bitmart
• Hjelpe dere gjennom et sett med standard øvelser
• Se på litt mer avansert bruk (Webhooks)
• Hjelpe dere videre med eget prosjekt
• Hvorfor Particle er nyttig om du vil lage egne IoT dingser
• Fordeler og bakdeler med Photon
Photon IoT
@jenschr / jensa@flashgamer.com
Particle Photon
Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
Impressively often Trouble
IoT
Photon IoT
Photon IoT
Photon IoT
Photon IoT
Photon IoT
Photon IoT
Photon IoT
Photon IoT
http://www.gartner.com/smarterwithgartner/whats-new-in-gartners-hype-cycle-for-emerging-technologies-2015/
Photon IoT
Sikkerhet
Photon IoT
Photon IoT
Photon IoT
Photon IoT
Internet of Things (IoT)
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
Det er jo så mange andre?
Hvorfor Photon
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
Spark => Particle
@jenschr / jensa@flashgamer.com Photon IoT
Photon
@jenschr / jensa@flashgamer.com Photon IoT
docs.particle.io/datasheets/photon-datasheet/
@jenschr / jensa@flashgamer.com Photon IoT
Photon
• STM32F205 ARM Cortex M3 120Mhz
• Broadcom BCM43362 WiFi (b/g/n)
• 18 GPIO
• 128Kb minne
• 1024Kb Flash-minne
• 3.3V I/O (max 100mA!)
• Innebygget RTC
@jenschr / jensa@flashgamer.com Photon IoT
docs.particle.io/datasheets/photon-datasheet/
@jenschr / jensa@flashgamer.com Photon IoT
docs.particle.io/datasheets/photon-datasheet/
@jenschr / jensa@flashgamer.com Photon IoT
Photon
Core
@jenschr / jensa@flashgamer.com Photon IoT
docs.particle.io/datasheets/photon-datasheet/
@jenschr / jensa@flashgamer.com Photon IoT
docs.particle.io/datasheets/photon-datasheet/
@jenschr / jensa@flashgamer.com Photon IoT
Fritzing-del for Photon
• https://github.com/technobly/SparkCore-
Photon-Fritzing
@jenschr / jensa@flashgamer.com Photon IoT
https://www.adafruit.com/product/3056
@jenschr / jensa@flashgamer.com Photon IoT
Få Photon’en på nett
Komme i gang
Metode 1
Embedded systems@jenschr / jensa@flashgamer.com
• Koble Photon til PC med USB kabel (for strøm)
• Hvis den ikke blinker blått, hold nede Setup-knappen i 3
sekunder
• Last ned Particle-appen for din mobiltelefon
• Følg instruksjonene i app’en. Navnet på din Photon står
på undersiden av den lille boksen den kommer i.
SSID: bitraf Passord: grimbadgerassault
particle.io/start
particle.io/start
Metode 2
Embedded systems@jenschr / jensa@flashgamer.com
• Installer Photon Commando Linje Interface (CLI)

https://docs.particle.io/guide/tools-and-features/cli/photon/
• Sjekk at Photon CLI er riktig installert:

$ particle
• Sett opp wifi:

$ particle setup wifi
• For å identifisere hvilken Photon du har tilkoblet

$ particle identify
SSID: bitraf Passord: grimbadgerassault
Debugging
Embedded systems@jenschr / jensa@flashgamer.com
• For å bruke Serial til debugging:

$ particle serial list

$ particle serial monitor COM3
Koble komponenter
Komme i gang
Jumper wires
@jenschr / jensa@flashgamer.com Photon IoT
“Breadboard anatomi”
@jenschr / jensa@flashgamer.com Photon IoT
“Breadboard anatomi”
@jenschr / jensa@flashgamer.com Photon IoT
“Breadboard anatomi”
@jenschr / jensa@flashgamer.com Photon IoT
“Breadboard anatomi”
@jenschr / jensa@flashgamer.com Photon IoT
LED
@jenschr / jensa@flashgamer.com Photon IoT
Drep en LED!
@jenschr / jensa@flashgamer.com Photon IoT
Ingen LED, ingen motstand...
@jenschr / jensa@flashgamer.com Photon IoT
Motstand
@jenschr / jensa@flashgamer.com Photon IoT
Oppsett
Øvelser
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
koble komponenter og kode
Øvelser
Prosjekt 1 - blink med Particle
docs.particle.io/guide/getting-started/examples/photon/
Prosjekt 2 - LEDs over the 'net
docs.particle.io/guide/getting-started/examples/photon/
Prosjekt 3 - Read your Photoresistor
docs.particle.io/guide/getting-started/examples/photon/
Prosjekt 4 - Events!
docs.particle.io/guide/getting-started/examples/photon/
https://docs.particle.io/guide/tools-and-features/webhooks/
og dingsene de lager
Hvorfor jeg liker Particle
Particle tenker litt annerledes
@jenschr / jensa@flashgamer.com Photon IoT
@jenschr / jensa@flashgamer.com Photon IoT
Fordeler
Embedded systems@jenschr / jensa@flashgamer.com
• Enkelt å komme i gang med prototyping
• Raskt å gå fra prototype til produkt
• Over The Air (OTA) oppdateringer
• Device management/ownership
• Enkelt oppsett av Wifi
Ulemper
Embedded systems@jenschr / jensa@flashgamer.com
• Dyrt pr enhet
• Deler av API er lukket (Broadcom)
• Ingen direkte kontroll på API
• Avhengighet av en leverandør
• Løpende kostnad (ikke for prototyping)
+ gave fra Particle
Jobb med egne ideer
@jenschr / jensa@flashgamer.com

More Related Content

Viewers also liked

tarea 7 gabriel
tarea 7 gabrieltarea 7 gabriel
tarea 7 gabriel
Gabriel Ramírez
 
JSON-LD Update
JSON-LD UpdateJSON-LD Update
JSON-LD Update
Gregg Kellogg
 
Mapa mental de un lider tahi
Mapa mental de un lider  tahiMapa mental de un lider  tahi
Mapa mental de un lider tahi
Tahi04
 
ConsumerLab: The Self-Driving Future
ConsumerLab: The Self-Driving FutureConsumerLab: The Self-Driving Future
ConsumerLab: The Self-Driving Future
Ericsson
 
Zipcar
ZipcarZipcar
Zipcar
Alex Li
 
Feb 13 17 word of the day (1)
Feb 13 17 word of the day (1)Feb 13 17 word of the day (1)
Feb 13 17 word of the day (1)
Gerald Hernandez , Jr.
 
Your moment is Waiting
Your moment is WaitingYour moment is Waiting
Your moment is Waiting
rittujacob
 
Mapa mental
Mapa mentalMapa mental
Mapa mental
Michell Figueroa
 
Agile analytics applications on hadoop
Agile analytics applications on hadoopAgile analytics applications on hadoop
Agile analytics applications on hadoop
Russell Jurney
 
Teraproc Application Cluster-as-a-Service Overview Presentation
Teraproc Application Cluster-as-a-Service Overview PresentationTeraproc Application Cluster-as-a-Service Overview Presentation
Teraproc Application Cluster-as-a-Service Overview Presentation
Gord Sissons
 
Agile Data Science: Hadoop Analytics Applications
Agile Data Science: Hadoop Analytics ApplicationsAgile Data Science: Hadoop Analytics Applications
Agile Data Science: Hadoop Analytics Applications
Russell Jurney
 
Creating HTML Pages
Creating HTML PagesCreating HTML Pages
Creating HTML Pages
Mike Crabb
 
Top Insights from SaaStr by Leading Enterprise Software Experts
Top Insights from SaaStr by Leading Enterprise Software ExpertsTop Insights from SaaStr by Leading Enterprise Software Experts
Top Insights from SaaStr by Leading Enterprise Software Experts
OpenView
 
CSS Grid Layout for Topconf, Linz
CSS Grid Layout for Topconf, LinzCSS Grid Layout for Topconf, Linz
CSS Grid Layout for Topconf, Linz
Rachel Andrew
 
New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0
Mike Taylor
 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of Things
Losant
 
The Future of Real-Time in Spark
The Future of Real-Time in SparkThe Future of Real-Time in Spark
The Future of Real-Time in Spark
Reynold Xin
 
Introduction to Information Architecture
Introduction to Information ArchitectureIntroduction to Information Architecture
Introduction to Information Architecture
Mike Crabb
 

Viewers also liked (18)

tarea 7 gabriel
tarea 7 gabrieltarea 7 gabriel
tarea 7 gabriel
 
JSON-LD Update
JSON-LD UpdateJSON-LD Update
JSON-LD Update
 
Mapa mental de un lider tahi
Mapa mental de un lider  tahiMapa mental de un lider  tahi
Mapa mental de un lider tahi
 
ConsumerLab: The Self-Driving Future
ConsumerLab: The Self-Driving FutureConsumerLab: The Self-Driving Future
ConsumerLab: The Self-Driving Future
 
Zipcar
ZipcarZipcar
Zipcar
 
Feb 13 17 word of the day (1)
Feb 13 17 word of the day (1)Feb 13 17 word of the day (1)
Feb 13 17 word of the day (1)
 
Your moment is Waiting
Your moment is WaitingYour moment is Waiting
Your moment is Waiting
 
Mapa mental
Mapa mentalMapa mental
Mapa mental
 
Agile analytics applications on hadoop
Agile analytics applications on hadoopAgile analytics applications on hadoop
Agile analytics applications on hadoop
 
Teraproc Application Cluster-as-a-Service Overview Presentation
Teraproc Application Cluster-as-a-Service Overview PresentationTeraproc Application Cluster-as-a-Service Overview Presentation
Teraproc Application Cluster-as-a-Service Overview Presentation
 
Agile Data Science: Hadoop Analytics Applications
Agile Data Science: Hadoop Analytics ApplicationsAgile Data Science: Hadoop Analytics Applications
Agile Data Science: Hadoop Analytics Applications
 
Creating HTML Pages
Creating HTML PagesCreating HTML Pages
Creating HTML Pages
 
Top Insights from SaaStr by Leading Enterprise Software Experts
Top Insights from SaaStr by Leading Enterprise Software ExpertsTop Insights from SaaStr by Leading Enterprise Software Experts
Top Insights from SaaStr by Leading Enterprise Software Experts
 
CSS Grid Layout for Topconf, Linz
CSS Grid Layout for Topconf, LinzCSS Grid Layout for Topconf, Linz
CSS Grid Layout for Topconf, Linz
 
New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0
 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of Things
 
The Future of Real-Time in Spark
The Future of Real-Time in SparkThe Future of Real-Time in Spark
The Future of Real-Time in Spark
 
Introduction to Information Architecture
Introduction to Information ArchitectureIntroduction to Information Architecture
Introduction to Information Architecture
 

More from Jens Brynildsen

VinylKutter Workshop
VinylKutter WorkshopVinylKutter Workshop
VinylKutter Workshop
Jens Brynildsen
 
Soft Circuits
Soft CircuitsSoft Circuits
Soft Circuits
Jens Brynildsen
 
Bitraf Vedlikehold
Bitraf VedlikeholdBitraf Vedlikehold
Bitraf Vedlikehold
Jens Brynildsen
 
Vinyl Cutting workshop
Vinyl Cutting workshopVinyl Cutting workshop
Vinyl Cutting workshop
Jens Brynildsen
 
KiCad 7 Workshop
KiCad 7 WorkshopKiCad 7 Workshop
KiCad 7 Workshop
Jens Brynildsen
 
Kunstig intelligens - Hvordan det påvirker oss allerede og fremover
Kunstig intelligens - Hvordan det påvirker oss allerede og fremoverKunstig intelligens - Hvordan det påvirker oss allerede og fremover
Kunstig intelligens - Hvordan det påvirker oss allerede og fremover
Jens Brynildsen
 
Getting started with PlatformIO
Getting started with PlatformIOGetting started with PlatformIO
Getting started with PlatformIO
Jens Brynildsen
 
Bitraf Arduino Workshop
Bitraf Arduino WorkshopBitraf Arduino Workshop
Bitraf Arduino Workshop
Jens Brynildsen
 
KiCad Workshop
KiCad WorkshopKiCad Workshop
KiCad Workshop
Jens Brynildsen
 
Bitraf Vedlikehold
Bitraf VedlikeholdBitraf Vedlikehold
Bitraf Vedlikehold
Jens Brynildsen
 
Kurs i LaserKurs
Kurs i LaserKursKurs i LaserKurs
Kurs i LaserKurs
Jens Brynildsen
 
Avansert laserkurs på bitraf
Avansert laserkurs på bitrafAvansert laserkurs på bitraf
Avansert laserkurs på bitraf
Jens Brynildsen
 
Elektronikk Workshop, Dag 2 (montering og testing)
Elektronikk Workshop, Dag 2 (montering og testing)Elektronikk Workshop, Dag 2 (montering og testing)
Elektronikk Workshop, Dag 2 (montering og testing)
Jens Brynildsen
 
Bitraf vedlikeholds workshop
Bitraf vedlikeholds workshopBitraf vedlikeholds workshop
Bitraf vedlikeholds workshop
Jens Brynildsen
 
Two day Electronics workshop with KiCad training
Two day Electronics workshop with KiCad trainingTwo day Electronics workshop with KiCad training
Two day Electronics workshop with KiCad training
Jens Brynildsen
 
How to use a Multimeter
How to use a MultimeterHow to use a Multimeter
How to use a Multimeter
Jens Brynildsen
 
Loddekurs på Bitraf 2021
Loddekurs på Bitraf 2021Loddekurs på Bitraf 2021
Loddekurs på Bitraf 2021
Jens Brynildsen
 
Arduino Motor control workshop
Arduino Motor control workshopArduino Motor control workshop
Arduino Motor control workshop
Jens Brynildsen
 
Arduino workshop @ Bitraf 17. Nov 2021
Arduino workshop @ Bitraf 17. Nov 2021Arduino workshop @ Bitraf 17. Nov 2021
Arduino workshop @ Bitraf 17. Nov 2021
Jens Brynildsen
 
Bitraf maintenance workshop
Bitraf maintenance workshopBitraf maintenance workshop
Bitraf maintenance workshop
Jens Brynildsen
 

More from Jens Brynildsen (20)

VinylKutter Workshop
VinylKutter WorkshopVinylKutter Workshop
VinylKutter Workshop
 
Soft Circuits
Soft CircuitsSoft Circuits
Soft Circuits
 
Bitraf Vedlikehold
Bitraf VedlikeholdBitraf Vedlikehold
Bitraf Vedlikehold
 
Vinyl Cutting workshop
Vinyl Cutting workshopVinyl Cutting workshop
Vinyl Cutting workshop
 
KiCad 7 Workshop
KiCad 7 WorkshopKiCad 7 Workshop
KiCad 7 Workshop
 
Kunstig intelligens - Hvordan det påvirker oss allerede og fremover
Kunstig intelligens - Hvordan det påvirker oss allerede og fremoverKunstig intelligens - Hvordan det påvirker oss allerede og fremover
Kunstig intelligens - Hvordan det påvirker oss allerede og fremover
 
Getting started with PlatformIO
Getting started with PlatformIOGetting started with PlatformIO
Getting started with PlatformIO
 
Bitraf Arduino Workshop
Bitraf Arduino WorkshopBitraf Arduino Workshop
Bitraf Arduino Workshop
 
KiCad Workshop
KiCad WorkshopKiCad Workshop
KiCad Workshop
 
Bitraf Vedlikehold
Bitraf VedlikeholdBitraf Vedlikehold
Bitraf Vedlikehold
 
Kurs i LaserKurs
Kurs i LaserKursKurs i LaserKurs
Kurs i LaserKurs
 
Avansert laserkurs på bitraf
Avansert laserkurs på bitrafAvansert laserkurs på bitraf
Avansert laserkurs på bitraf
 
Elektronikk Workshop, Dag 2 (montering og testing)
Elektronikk Workshop, Dag 2 (montering og testing)Elektronikk Workshop, Dag 2 (montering og testing)
Elektronikk Workshop, Dag 2 (montering og testing)
 
Bitraf vedlikeholds workshop
Bitraf vedlikeholds workshopBitraf vedlikeholds workshop
Bitraf vedlikeholds workshop
 
Two day Electronics workshop with KiCad training
Two day Electronics workshop with KiCad trainingTwo day Electronics workshop with KiCad training
Two day Electronics workshop with KiCad training
 
How to use a Multimeter
How to use a MultimeterHow to use a Multimeter
How to use a Multimeter
 
Loddekurs på Bitraf 2021
Loddekurs på Bitraf 2021Loddekurs på Bitraf 2021
Loddekurs på Bitraf 2021
 
Arduino Motor control workshop
Arduino Motor control workshopArduino Motor control workshop
Arduino Motor control workshop
 
Arduino workshop @ Bitraf 17. Nov 2021
Arduino workshop @ Bitraf 17. Nov 2021Arduino workshop @ Bitraf 17. Nov 2021
Arduino workshop @ Bitraf 17. Nov 2021
 
Bitraf maintenance workshop
Bitraf maintenance workshopBitraf maintenance workshop
Bitraf maintenance workshop
 

Bitraf - Particle Photon IoT workshop