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
4
240
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
First step to PicoRuby
makicamel
2
360
Take a small step beyond the api
makicamel
2
170
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
1.7k
Road to RubyKaigi
makicamel
3
600
Rails アプリ地図考 Flush Cut
makicamel
1
220
ErdMap: Thinking about a map for Rails applications
makicamel
2
3.9k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
1.5k
BulletmarkRepairer: auto corrector for N+1 queries
makicamel
10
8.1k
How to say goodbye to technical debt
makicamel
9
3.2k
Other Decks in Programming
See All in Programming
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
Basic Architectures
denyspoltorak
0
670
CSC307 Lecture 03
javiergs
PRO
1
490
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
高速開発のためのコード整理術
sutetotanuki
1
390
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Data-Centric Kaggle
isax1015
2
770
ぼくの開発環境2026
yuzneri
0
190
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
190
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
AI: The stuff that nobody shows you
jnunemaker
PRO
2
250
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
700
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
320
The Limits of Empathy - UXLibs8
cassininazir
1
210
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
64
Testing 201, or: Great Expectations
jmmastey
46
8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
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