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
290
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
More Decks by makicamel
See All by makicamel
dRuby over BLE
makicamel
2
330
Road to RubyKaigi: Play Hard(ware)
makicamel
1
660
First step to PicoRuby
makicamel
2
560
Take a small step beyond the api
makicamel
2
210
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
1.8k
Road to RubyKaigi
makicamel
4
700
Rails アプリ地図考 Flush Cut
makicamel
1
230
ErdMap: Thinking about a map for Rails applications
makicamel
2
4.1k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
1.8k
Other Decks in Programming
See All in Programming
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
480
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
770
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
AIとRubyの静的型付け
ukin0k0
0
560
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
4
1.7k
Contextとはなにか
chiroruxx
0
190
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.9k
The NotImplementedError Problem in Ruby
koic
1
660
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
470
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
110
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
520
Featured
See All Featured
Fireside Chat
paigeccino
42
3.9k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
540
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
530
How STYLIGHT went responsive
nonsquared
100
6.2k
From π to Pie charts
rasagy
0
200
Six Lessons from altMBA
skipperchong
29
4.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
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