Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PicoRuby から始めるたのしい電子工作
Search
ogom
September 09, 2023
Programming
2.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PicoRuby から始めるたのしい電子工作
PicoRuby から始めるたのしい電子工作
Osaka RubyKaigi 03
2023.09.09
Enjoy Ruby electronic programming !
ogom
September 09, 2023
More Decks by ogom
See All by ogom
mrbgem 三角測量 開発
ogom
0
31
GraphQL Better Errors
ogom
0
410
Osaka RubyKaigi 02
ogom
0
390
Osaka RubyKaigi 01
ogom
0
250
Contributing to GitLab with OSS Gate
ogom
0
660
DojoCon Japan 2017
ogom
0
170
GDStudy Engage
ogom
1
830
Using Immutable.js with React Redux
ogom
0
190
CoderDojo と オープンソース
ogom
2
540
Other Decks in Programming
See All in Programming
Heart of Swift Concurrency
koher
0
1k
iOSDC2026登壇資料.pdf
riofujimon
0
190
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
410
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
120
一人だけ、Kiroが静止する日
hideg
0
130
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
120
すこし踏み込む CancellationToken
htkym
2
1.2k
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
4k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
270
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
260
AWSに止められる覚悟してますか?
morizo_1984
2
410
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
2
300
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
720
Building AI with AI
inesmontani
PRO
1
1.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
680
Crafting Experiences
bethany
1
350
Evolving SEO for Evolving Search Engines
ryanjones
0
300
Into the Great Unknown - MozCon
thekraken
41
2.7k
Ethics towards AI in product and experience design
skipperchong
2
380
Are puppies a ranking factor?
jonoalderson
2
3.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
440
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
920
Transcript
PicoRuby ͔Β࢝ΊΔ ͨͷ͍͠ిࢠ࡞ Osaka RubyKaigi 03 2023.09.09
ඌ ʢ͓͝Γ ͔ͨ͠ʣ BouqueTecגࣜձࣾɿදऔక ݱίʔνɺσʔλϞσϦϯά ̏DϞσϦϯάɺϊϕϧςΟ੍࡞
ओ࠵ऀͷίϛϡχςΟ Rubyؔɿදʢ̏ʣ naniwa.rbɿओ࠵ʢݩDDD.rbʣ CoderDojo େࡕڱࢁɿνϟϯϐΦϯ OSS Gate Osakaɿαϙʔλʔ Rails Girls
OsakaɿΦʔΨφΠβ ςΫϊਤ෦ɿ෭෦
ࠓͷ׆ಈ CoderDojo େࡕڱࢁɿ ຖ݄։࠵ ୈ90ճ Rubyؔ ษڧձɿओ࠵ Maker Faire Kyoto
2023ɿεϙϯαʔɺग़ల TechSeeker Hackathon 2023ɿϝϯλʔ TechSeeker Collection 2023ɿεϙϯαʔɺग़ల ςΫϊਤ෦ɿϫʔΫγϣοϓ DojoCon Japan 2023ɿ࣮ߦҕһ େࡕRubyձٞ 03ɿ࣮ߦҕһɺεϙϯαʔɺग़లɺొஃ
ిࢠ࡞ ిࢠ࡞ɺిࢠ෦ಋମૉࢠΛ༻͍ͨ࡞ͷ͜ͱ ೖྗ෦ɿεΠονʢਓ͕ૢ࡞ʣɺηϯαʔʢपғΛௐΔʣ ग़ྗ෦ɿLEDʢਓʹ͑ΔʣɺϞʔλʔʢԿ͔Λಈ͔͢ʣ
mruby mruby ɺRubyݴޠͷܰྔ࣮ͰΈࠐΈγεςϜʹར༻ ίϯύΠϧ͕ඞཁͳͷͰڥߏஙར༻ํ๏͕खؒ όΠφϦΛϚΠίϯʹૹ৴ɺ࣮ߦ͢ΔΤσΟλΛ࡞ͬͨ
PicoRuby PicoRuby ɺmrubyͷܰྔ࣮ͰΈࠐΈγεςϜʹར༻ ϫϯνοϓϚΠίϯͰಈ࡞͢ΔͷͰڥߏங͕؆୯ ϑΝΠϧΛυϥοάˍυϩοϓ͢Δ͚ͩͰ࣮ߦͰ͖Δ
R2P2 ͷ LνΧ R2P2 (Ruby on Raspberry Pi Pico) ɺϚΠίϯͷ࣮ߦڥ
ϓϩάϥϛϯάͷ hello, world ɺిࢠ࡞Ͱ LνΧ screen ίϚϯυͷγϦΞϧ௨৴ͰϓϩάϥϛϯάͰ͖Δ
PRK Firmware ͷ RGBLED PRK FirmwareɺDIY ΩʔϘʔυ ϑΝʔϜΣΞ ϑϨʔϜϫʔΫ RGBLED(ϑϧΧϥʔLED)
Ͱ RGB Matrix αϙʔτ ϚΠίϯͷPR2040Ͱಈ࡞͠ɺϚεͳͲͷ੍ޚͰ͖Δ
ిࢠ࡞ ͷ αΠίϩ RubyɺΦϒδΣΫτࢦεΫϦϓτݴޠͰΫϥεΛར༻ ͍ͭͷΫϥεϝιουͰϓϩάϥϛϯά͕Ͱ͖Δ Dice Ϋϥε ͷ turn ϝιου
ͰαΠίϩ͕ৼΒΕΔ
PicoRuby ͷ υΩϡϝϯτ PicoRubyɺυΩϡϝϯτͷඋ͕͋·ΓਐΜͰ͍ͳ͍ v0.9.21 ͔Β GPIO ADC ͳͲͷΫϥε͕औΓೖΕΒΕͯ
ͦΕ·ͰͷυΩϡϝϯτ͕ݹ͘ͳͬͨ 8݄ʹPicoRubyͷυΩϡϝϯτܭըͷΩοΫΦϑ͕͋Γ RBS ϑΝΠϧΛىʹυΩϡϝϯτΛ৽͍ͨ͘͠͠ ৽ϦϑΝϨϯεϚχϡΞϧܭը࢝ಈ υΩϡϝϯτͷϝϯόʔΛืूதʂ
Ruby Ͱͨͷ͍͠ిࢠ࡞ ిࢠ࡞ɺਖ਼ղͷͳֶ͍ͼͰ ͨͷ͍͠ RubyͷϓϩάϥϛϯάͰΨϯϓϥޫΒͤΔ PicoRubyͰͨͷ͍͠ిࢠ࡞Λ࢝Ί·͠ΐ͏
PicoRuby Follow-up Osaka PRK FirmwareͰɺࣗ࡞ΩʔϘʔυΛΈཱͯΔΠϕϯτΛ։࠵ ։࠵ɿ202310݄28 (༵) ձɿ γϦίϯϋε ڞཱిࢠ࢈ۀ
ηϛφʔϧʔϜ
Enjoy Ruby electronic programming !