bitraf - particle photon iot workshop
TRANSCRIPT
![Page 1: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/1.jpg)
IoT for nybegynnere
Particle Photon
![Page 6: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/6.jpg)
Plan for kvelden
@jenschr / [email protected]
• 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
![Page 11: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/11.jpg)
Impressively often Trouble
IoT
![Page 13: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/13.jpg)
Photon IoT
![Page 14: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/14.jpg)
Photon IoT
![Page 15: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/15.jpg)
Photon IoT
![Page 16: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/16.jpg)
Photon IoT
![Page 17: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/17.jpg)
Photon IoT
![Page 18: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/18.jpg)
Photon IoT
![Page 20: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/20.jpg)
http://www.gartner.com/smarterwithgartner/whats-new-in-gartners-hype-cycle-for-emerging-technologies-2015/
Photon IoT
![Page 21: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/21.jpg)
Sikkerhet
Photon IoT
![Page 22: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/22.jpg)
Photon IoT
![Page 23: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/23.jpg)
Photon IoT
![Page 24: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/24.jpg)
Photon IoT
![Page 27: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/27.jpg)
Det er jo så mange andre?
Hvorfor Photon
![Page 28: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/28.jpg)
@jenschr / [email protected] Photon IoT
![Page 32: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/32.jpg)
Spark => Particle
@jenschr / [email protected] Photon IoT
![Page 35: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/35.jpg)
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 / [email protected] Photon IoT
![Page 41: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/41.jpg)
Fritzing-del for Photon
• https://github.com/technobly/SparkCore-Photon-Fritzing
@jenschr / [email protected] Photon IoT
![Page 43: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/43.jpg)
Få Photon’en på nett
Komme i gang
![Page 44: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/44.jpg)
Metode 1
Embedded systems@jenschr / [email protected]
• 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
![Page 45: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/45.jpg)
particle.io/start
![Page 46: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/46.jpg)
particle.io/start
![Page 47: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/47.jpg)
Metode 2
Embedded systems@jenschr / [email protected]
• 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
![Page 48: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/48.jpg)
Debugging
Embedded systems@jenschr / [email protected]
• For å bruke Serial til debugging: $ particle serial list $ particle serial monitor COM3
![Page 49: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/49.jpg)
Koble komponenter
Komme i gang
![Page 59: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/59.jpg)
Oppsett
Øvelser
![Page 66: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/66.jpg)
koble komponenter og kode
Øvelser
![Page 67: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/67.jpg)
Prosjekt 1 - blink med Particledocs.particle.io/guide/getting-started/examples/photon/
![Page 68: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/68.jpg)
Prosjekt 2 - LEDs over the 'net
docs.particle.io/guide/getting-started/examples/photon/
![Page 69: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/69.jpg)
Prosjekt 3 - Read your Photoresistor
docs.particle.io/guide/getting-started/examples/photon/
![Page 70: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/70.jpg)
Prosjekt 4 - Events!
docs.particle.io/guide/getting-started/examples/photon/
![Page 71: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/71.jpg)
![Page 72: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/72.jpg)
https://docs.particle.io/guide/tools-and-features/webhooks/
![Page 73: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/73.jpg)
og dingsene de lager
Hvorfor jeg liker Particle
![Page 75: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/75.jpg)
@jenschr / [email protected] Photon IoT
![Page 76: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/76.jpg)
Fordeler
Embedded systems@jenschr / [email protected]
• Enkelt å komme i gang med prototyping
• Raskt å gå fra prototype til produkt
• Over The Air (OTA) oppdateringer
• Device management/ownership
• Enkelt oppsett av Wifi
![Page 77: Bitraf - Particle Photon IoT workshop](https://reader033.vdocuments.us/reader033/viewer/2022042706/58a3cc7a1a28ab98588b59a3/html5/thumbnails/77.jpg)
Ulemper
Embedded systems@jenschr / [email protected]
• 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)