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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
makicamel
June 29, 2025
Programming
350
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
510
Road to RubyKaigi: Play Hard(ware)
makicamel
1
1.3k
First step to PicoRuby
makicamel
2
750
Take a small step beyond the api
makicamel
2
240
Road to RubyKaigi: Making Tinny Chiptunes with Ruby
makicamel
4
2k
Road to RubyKaigi
makicamel
4
740
Rails アプリ地図考 Flush Cut
makicamel
1
260
ErdMap: Thinking about a map for Rails applications
makicamel
2
4.3k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
1.9k
Other Decks in Programming
See All in Programming
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
350
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
160
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.5k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
1
1.7k
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
3k
速習iPhone Duo対応
yuukiw00w
2
980
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
760
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.1k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
470
AIに “答え“を書かせるのを やめてみた
___akari11
0
110
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
950
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Building Applications with DynamoDB
mza
96
7.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Mobile First: as difficult as doing things right
swwweet
225
10k
Docker and Python
trallard
47
4.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Become a Pro
speakerdeck
PRO
31
6.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
700
Building the Perfect Custom Keyboard
takai
2
900
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.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