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 on Rails
Search
makicamel
June 29, 2025
Programming
360
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PicoRuby on Rails
PicoRuby on Rails
2025.06.29. 関西Ruby会議08 After Party: 叡電LT 🚃
makicamel
June 29, 2025
Transcript
21 slides
PicoRuby on Rails @makicamel 関西Ruby会議08 After Party: 叡電LT 2025.06.29
自己紹介 @makicamel / 川原万季 Ruby とビール とお酒が好き 好きな言葉は「エイってやってバーン」 PicoPicoRuby始めました https://picopicoruby.connpass.com/
PicoRuby・電子工作歴 1 ヶ月 ピカピカの初心者
大事なことをはじめに
PicoRuby Overflow会議やります https://naniwarb.github.io/picorubyoverflowkaigi/
PicoRuby Overflow会議やります 7 月 19 日(土)大阪開催 於 アールスリーインスティテュート(gusuku Ashibinaa OSAKA)
PicoRuby オンリーイベント 関西Ruby会議08やRubyKaigi 2025で採択されなかったプロポーザル 新作トーク 招待講演: @hasumikin https://naniwarb.github.io/picorubyoverflowkaigi/
PicoRuby Overflow会議やります 本編トーク以外も色々やります ショーケースセッション 作品持ち込みコーナー 関連書籍立ち読みコーナー 翌日電子工作ミートアップ・串カツ会 https://naniwarb.github.io/picorubyoverflowkaigi/
叡電LT
叡電LT https://ruby-tuesday.doorkeeper.jp/events/185048
叡電LT
電車でRuby! プラレール車両をPicoRubyで操作 停止位置ゲー 叡電車両が修学院駅に到着時にプラレール車両がホームに停車したらゴール 脱線したり停車に失敗したりしたらゲームオーバー
電車でRuby! デモ
キミが運転!グリップマスコン https://takaratomymall.jp/shop/g/g4904810915263/
キミが運転!グリップマスコン 車両 赤外線受信モジュール搭載 コントローラ 赤外線信号送信 コントローラつくれそう! https://takaratomymall.jp/shop/g/g4904810915263/
案1. 方法 1. 固定赤外線パターンを発信 課題 赤外線パターンの解析が必要 インターネットに転がっている情報を使う? 情報の信用性が不明
案2. 方法 1. コントローラの赤外線パターンを記憶 2. 記憶した信号を発信 課題 μs単位の制御が必要 Cでmrbgemsを書く必要がありそう 準備時間切れ
案3. 方法 元々あるコントローラをPicoRubyで操作する 課題 なし!
回路図 元基盤(赤外線デバイス)にスイッチが実装されている 前進用・後進用ふたつのスイッチがある 各スイッチをON/OFFするだけ
回路図 実装
回路図 Raspberry Pi Picoにシリアル通信で接続 irbからスイッチを切り替える forward = GPIO.new(8, GPIO::OUT) back
= GPIO.new(10, GPIO::OUT) forward.write 1 # => 前進 back.write 1 # => 後進 PicoRubyで電車を操作できた
Future Works 学習リモコンgem作ると面白そう
謝辞 @youchan @kota_syan @chobishiba @bash0C7 @emorima
More Decks by makicamel
See All by makicamel
dRuby over BLE
makicamel
2
540
Road to RubyKaigi: Play Hard(ware)
makicamel
1
1.4k
First step to PicoRuby
makicamel
2
800
Take a small step beyond the api
makicamel
2
250
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
2.1k
Road to RubyKaigi
makicamel
4
750
Rails アプリ地図考 Flush Cut
makicamel
1
270
ErdMap: Thinking about a map for Rails applications
makicamel
2
4.4k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
2k
Other Decks in Programming
See All in Programming
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
200
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
700
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
ruby/uri meets WHATWG
jinroq
0
170
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
220
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.6k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
600
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
30 Presentation Tips
portentint
PRO
1
480
Making Projects Easy
brettharned
120
6.9k
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
170
Balancing Empowerment & Direction
lara
6
1.4k