Slide 1

Slide 1 text

ՈͰ࢓ࣄதʹΠϯλʔϑΥ ϯʹؾ͔ͮͣࠔ͍ͬͯΔͷ ͰIoTͰͳΜͱ͔͍ͨ͠ Abe Asami

Slide 2

Slide 2 text

ࣗݾ঺հ "CF"TBNJl͖ͷࢠz େࡕͷϑϦʔϥϯεϓϩάϥϚ IUUQOPDPOPOFU !BBUI +BWB,PUMJO4DBMBͳͲͳͲ

Slide 3

Slide 3 text

ࠔ͍ͬͯΔ͜ͱ • ΠϯλʔϑΥϯ͕໐ͬͯ΋ɺ࢓ࣄ෦԰ʹฉ͑͜ ͣؾ෇͔ͳ͍ • ୐഑ศͱ͔εϧʔͯ͠͠·͏ɾɾɾ

Slide 4

Slide 4 text

ͦ͜Ͱʂ • ޫηϯαʔ + Raspberry PiͰΠϯλʔϑΥϯͷ Ϟχλ͕ONʹͳͬͨΒ௨஌͢Δ࢓૊ΈΛ࡞Δ ͜ͱʹ͠·ͨ͠ʂ • IoTॳνϟϨϯδʂʂ

Slide 5

Slide 5 text

IoTͳΜ΋Θ͔ΒΜ͠ Կ͔Β΍ͬͨΒ͍͍͔΋ Θ͔Βͳ͍

Slide 6

Slide 6 text

·ͣ͸ຊΛങ͍·ͨ͠ • ΍͘͞͠͸͡ΊΔϥζϕϦʔɾύΠ ~ిࢠ޻࡞ Ͱ؆қϩϘοτ&ΨδΣοτΛ࡞ͬͯΈΑ͏~

Slide 7

Slide 7 text

࣍ʹࡐྉௐୡ

Slide 8

Slide 8 text

ळ݄ిࢠ௨঎ • ຊʹ࡞ྫΛ࡞ΔͨΊʹඞཁͳ΋ͷ͕Ϧετ Ξοϓ͞Ε͍ͯͯɺळ݄ిࢠ௨঎ͷ௨ൢίʔ υ΋ࡌ͍ͬͯͨ

Slide 9

Slide 9 text

Rasberry Pi 3 ModelB • ࠷৽͸4Β͍͠

Slide 10

Slide 10 text

ͦͷଞ͍Ζ͍Ζͳిࢠ෦඼ • ຊʹࡌ͍ͬͯͨ΋ͷ͔Βࠓճ͍Γͦ͏ͳ΋ͷ Λങ͍ूΊ·ͨ͠

Slide 11

Slide 11 text

ͱΓ͋͑ͣ·ͣ͸ ͔ͷ༗໊ͳ ʮLνΧʯʹνϟϨϯδʂ

Slide 12

Slide 12 text

ηοτΞοϓ • NOOBSΛར༻ͯ͠Raspbian(OS)ΛΠϯε τʔϧ • SSHͰ઀ଓͰ͖ΔΑ͏ʹઃఆ

Slide 13

Slide 13 text

LνΧ • ϒϨουϘʔυʹ഑ઢ • Pythonίʔυ࣮ߦ • ΘΓͱ͋ͬ͞ΓͰ͖ͨ

Slide 14

Slide 14 text

ޫηϯαʔΛͭͳ͍ͰΈΔ

Slide 15

Slide 15 text

ޫηϯαʔ (̨̘̳ηϧ)

Slide 16

Slide 16 text

ADίϯόʔλʔ • ηϯαʔͷ஋͸ΞφϩάσʔλͳͷͰɺσδ λϧʹม׵͢Δඞཁ͕͋Δ • ࠓճར༻͢Δίϯόʔλʔ͸ʮMCP3002ʯ

Slide 17

Slide 17 text

SPI௨৴ • ҟͳΔσόΠεؒ༻ͷ௨৴ن֨ • ࠓճɺϥζύΠͷGPIO(ೖग़ྗϐϯ)ͱADίϯ όʔλͷ௨৴ͷͨΊʹར༻͢ΔͷͰɺϥζύ ΠͷGPIOઃఆͰSPIΛONʹ͢Δ • σϑΥϧτ͸OFF

Slide 18

Slide 18 text

ཁ͢Δʹ΍Γ͍ͨ͜ͱ • ޫηϯαʔ͕औಘͨ͠Ξφϩά஋ΛADίϯ όʔλͰσδλϧม׵͠ɺSPI௨৴ͰϥζύΠ ʹૹ৴ • ޫΛݕ஌ͨ͠Βɺ௨஌

Slide 19

Slide 19 text

ຊΛݟͳ͕Β഑ઢ • Ұؾʹෳࡶʹɾɾɾ

Slide 20

Slide 20 text

ಈ͍ͨʂ

Slide 21

Slide 21 text

ɾɾɾͱࢥ͍ͬͯͨͷͰ͕͢

Slide 22

Slide 22 text

Ͳ͏΋ਖ਼͍͠஋͕औΕ͍ͯͳ ͍ɾɾɾ • ஋͕มಈͨͨ͠ΊऔಘͰ͖ͨͱࢥ͍ͬͯͨ ͕ɺޫͷྔ͸ؔ܎ͳ͘نଇతʹ্Լ͍ͯ͠ Δɾɾɾ

Slide 23

Slide 23 text

ΠϯλʔϑΥϯʹऔΓ෇͚͔ͯ Βͦͷ͜ͱʹؾ͍ͮͨɾɾɾ

Slide 24

Slide 24 text

Կ͕ѱ͍ͷ͔ɾɾɾ

Slide 25

Slide 25 text

ߟ͑ΒΕΔݪҼ • ޫηϯαʔ͕Կ͔͓͔͍͠ • ADίϯόʔλʔ͕Կ͔͓͔͍͠ • ഑ઢϛεʁʁ • OSόʔδϣϯ͔Կ͔ͷ݉Ͷ߹͍ʁʁ

Slide 26

Slide 26 text

ޫηϯαʔͷಈ࡞Λ֬ೝ͢Δ ͨΊ ADίϯόʔλʔΛհ͞ͳ͍ ഑ઢʹͯ͠Έͨ

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

ޫηϯαʔ͸ͪΌΜͱ஋Λऔಘ Ͱ͖͍ͯΔɾɾɾʂ • ޫ͕౰ͨΔͱɺCdSηϧͷ఍߅஋͕Լ͕ͬͯ LED΁ͷిྲྀ஋͕૿͑Δʂ໌Δ͘ͳΔʂʂ

Slide 29

Slide 29 text

ADίϯόʔλͱͷ௨৴ͰԿ͔Λ ϛε͍ͬͯΔɾɾɾ • ࠓճ͸͜͜ͰλΠϜΞοϓɾɾɾ • ແ೦

Slide 30

Slide 30 text

ײ૝ • ҰےೄͰ͸͍͔ͳ͔ͬͨɾɾɾʂ • Ͱ΋ָ͍͠ ₍₍⁽⁽(◌ી(´ɾᴗɾ`)ʃ)₎₎⁾⁾ • LEDΛPythonͰνΧνΧ੍ޚ͢Δ͚ͩͰ͓΋͠Ζ͍ • ֶੜ࣌୅෺ཧ੺఺Ͱిࢠճ࿏ʁ఍߅ʁʁԿ΋Θ͔Β ΜϚϯͰ͕͢ɺखΛಈ͔ͯ͠૊ΈཱͯΔͱͪΐͬͱ Θ͔͖ͬͯͯ໘ന͍

Slide 31

Slide 31 text

ײ૝ • ࡞ΕΔ΋ͷͷ෯͕Ұؾʹ޿͕Γͦ͏ͰɺΘ͘ Θ͘͢Δ • IoT͕ਓؾͳͷΘ͔Δ

Slide 32

Slide 32 text

ͦͷଞ • δϟϯύʔϫΠϠɺಉ͡৭ͩͱෳࡶͳճઢͰ͸Θ͔ Γʹ͍͘ɾɾɾʂ • ϚεςΛషΔͱ͍͍ͷ͔ͳ • ࢖͏఍߅ؒҧ͑ͨΓͨ͠ • ഑ઢޙʹϥζύΠΛέʔεʹऩΊΑ͏ͱͨ͠Β֖Λ ดΊΒΕͣɺ࠶഑ઢ͢Δ͜ͱʹͳΓ੾ͳ͔ͬͨ

Slide 33

Slide 33 text

ࠓճɺ׬੒ʹ͸ࢸΒͳ͔ͬͨ ͚Ͳָ͔ͬͨ͠Ͱ͢ ☺

Slide 34

Slide 34 text

Ҿ͖ଓ͖νϟϨϯδͯ͠ɺ ௨஌γεςϜ׬੒ͤͯ͞΍Δ ͥʂ

Slide 35

Slide 35 text

͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·͠ ͨ