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
makicamel
June 29, 2025
Programming
1
71
PicoRuby on Rails
PicoRuby on Rails
2025.06.29. 関西Ruby会議08 After Party: 叡電LT 🚃
makicamel
June 29, 2025
Tweet
Share
More Decks by makicamel
See All by makicamel
Take a small step beyond the api
makicamel
2
120
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
1.4k
Road to RubyKaigi
makicamel
3
440
Rails アプリ地図考 Flush Cut
makicamel
1
160
ErdMap: Thinking about a map for Rails applications
makicamel
2
3.4k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
1.2k
BulletmarkRepairer: auto corrector for N+1 queries
makicamel
10
7.5k
How to say goodbye to technical debt
makicamel
9
3k
circuit_switch: small start to create gem
makicamel
3
2.7k
Other Decks in Programming
See All in Programming
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
770
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
220
Using AI Tools Around Software Development
inouehi
0
1.2k
エンジニア向け採用ピッチ資料
inusan
0
150
VS Code Update for GitHub Copilot
74th
1
170
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
44
29k
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
570
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
120
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
300
社内での開発コミュニティ活動とモジュラーモノリス標準化事例のご紹介/xPalette and Introduction of Modular monolith standardization
m4maruyama
1
130
Is Xcode slowly dying out in 2025?
uetyo
1
180
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Optimizing for Happiness
mojombo
379
70k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
4
200
A better future with KSS
kneath
239
17k
Designing for humans not robots
tammielis
253
25k
Typedesign – Prime Four
hannesfritz
42
2.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
Code Review Best Practice
trishagee
68
18k
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