Upgrade to Pro — share decks privately, control downloads, hide ads and more …

俺たちの俺たちによる俺たちのためのIoT / IoT of us, by us, for us

俺たちの俺たちによる俺たちのためのIoT / IoT of us, by us, for us

TokyuRuby会議09発表資料です http://regional.rubykaigi.org/tokyu09/

動画: https://vimeo.com/137673503

Masayuki Izumi

August 29, 2015
Tweet

More Decks by Masayuki Izumi

Other Decks in Technology

Transcript

  1. 俺達の俺達による俺達のための IoT - IoT of us, by us, for us

    Masayuki IZUMI @izumin5210 https://www.flickr.com/photos/amagill/12944690725/
  2. Ƅ Rekimoto Lab. at the University of Tokyo (2008-2015: Akashi-NCT)

    Ɠ Enginner at Wantedly, Inc. (2014.9-2015.2: Dmetlabel, Inc.)
  3. IoT

  4. Raspberry Pi Model 2 v1.1 © Raspberry Pi 2014 http://www.raspberrypi.org

    Power HDMI Audio USB 2x USB 2x ETHERNET DSI (DISPLAY) CSI (CAMERA) GPIO L チカ
  5. L チカ open('/sys/class/gpio/export', 'w') { |f| f.write(17) } open('/sys/class/gpio/gpio17/direction', 'w')

    { |f| f.write('out') } 10.times do |i| open('/sys/class/gpio/gpio17/value', 'w') { |f| f.write(i % 2) } sleep 0.5 end open('/sys/class/gpio/unexport', 'w') { |f| f.write(17) }