Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PicoRuby on Rails
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
makicamel
June 29, 2025
Programming
250
4
Share
PicoRuby on Rails
PicoRuby on Rails
2025.06.29. 関西Ruby会議08 After Party: 叡電LT 🚃
makicamel
June 29, 2025
More Decks by makicamel
See All by makicamel
First step to PicoRuby
makicamel
2
450
Take a small step beyond the api
makicamel
2
190
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
1.7k
Road to RubyKaigi
makicamel
4
620
Rails アプリ地図考 Flush Cut
makicamel
1
220
ErdMap: Thinking about a map for Rails applications
makicamel
2
4k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
1.6k
BulletmarkRepairer: auto corrector for N+1 queries
makicamel
10
8.2k
How to say goodbye to technical debt
makicamel
9
3.2k
Other Decks in Programming
See All in Programming
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
Nuxt Server Components
wattanx
0
240
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
120
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
490
Coding as Prompting Since 2025
ragingwind
0
680
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
7
1.2k
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
940
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
おれのAgentic Coding 2026/03
tsukasagr
1
130
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
300
20260315 AWSなんもわからん🥲
chiilog
2
180
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
310
Abbi's Birthday
coloredviolet
2
6.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
Become a Pro
speakerdeck
PRO
31
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
sira's awesome portfolio website redesign presentation
elsirapls
0
210
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
170
Prompt Engineering for Job Search
mfonobong
0
250
Leo the Paperboy
mayatellez
6
1.6k
Transcript
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