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

PicoRuby から始めるたのしい電子工作

ogom
September 09, 2023

PicoRuby から始めるたのしい電子工作

PicoRuby から始めるたのしい電子工作

Osaka RubyKaigi 03
2023.09.09

Enjoy Ruby electronic programming !

ogom

September 09, 2023
Tweet

More Decks by ogom

Other Decks in Programming

Transcript

  1. ࠓ೥ͷ׆ಈ CoderDojo େࡕڱࢁɿ ຖ݄։࠵ ୈ90ճ Rubyؔ੢ ษڧձɿओ࠵ Maker Faire Kyoto

    2023ɿεϙϯαʔɺग़ల TechSeeker Hackathon 2023ɿϝϯλʔ TechSeeker Collection 2023ɿεϙϯαʔɺग़ల ςΫϊਤ޻෦ɿϫʔΫγϣοϓ DojoCon Japan 2023ɿ࣮ߦҕһ େࡕRubyձٞ 03ɿ࣮ߦҕһɺεϙϯαʔɺग़లɺొஃ
  2. R2P2 ͷ LνΧ R2P2 (Ruby on Raspberry Pi Pico) ͸ɺϚΠίϯͷ࣮ߦ؀ڥ

    ϓϩάϥϛϯάͷ hello, world ͸ɺిࢠ޻࡞Ͱ͸ LνΧ screen ίϚϯυͷγϦΞϧ௨৴ͰϓϩάϥϛϯάͰ͖Δ
  3. PRK Firmware ͷ RGBLED PRK Firmware͸ɺDIY ΩʔϘʔυ ϑΝʔϜ΢ΣΞ ϑϨʔϜϫʔΫ RGBLED(ϑϧΧϥʔLED)

    Ͱ͸ RGB Matrix ΋αϙʔτ ϚΠίϯͷPR2040Ͱಈ࡞͠ɺϚ΢εͳͲͷ੍ޚͰ͖Δ
  4. PicoRuby ͷ υΩϡϝϯτ PicoRuby͸ɺυΩϡϝϯτͷ੔උ͕͋·ΓਐΜͰ͍ͳ͍ v0.9.21 ͔Β GPIO ΍ ADC ͳͲͷΫϥε͕औΓೖΕΒΕͯ

    
 ͦΕ·ͰͷυΩϡϝϯτ͕ݹ͘ͳͬͨ 8݄ʹPicoRubyͷυΩϡϝϯτܭըͷΩοΫΦϑ͕͋Γ 
 RBS ϑΝΠϧΛى఺ʹυΩϡϝϯτΛ৽͍ͨ͘͠͠ ৽ϦϑΝϨϯεϚχϡΞϧܭը࢝ಈ 
 υΩϡϝϯτͷϝϯόʔΛืूதʂ