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
小型ファンヒーターハックのお話 その後
Search
Tarosa
January 11, 2019
Technology
610
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
小型ファンヒーターハックのお話 その後
去年のおうちハックでLTした小型ファンヒーターハック話の続きです。
IoTLT2019新年会にてLTしました。
Tarosa
January 11, 2019
More Decks by Tarosa
See All by Tarosa
数百円から始めるRuby電子工作
tarosay
0
250
AIで宇宙甲子園 缶サット部門 近畿大会のテーマソングを作る
tarosay
0
44
mrubyとWakayama.rb ~mrubyと共に歩んだ10年~
tarosay
0
160
【THETA撮影会 in 大阪】建築・照明デザイナーとエンジニアのための視環境設計 #4
tarosay
0
260
評価画像変換の簡単な説明
tarosay
0
210
建築・照明デザイナーとエンジニアのための視環境設計
tarosay
0
290
模擬人工衛星DangoSatプロジェクト
tarosay
0
300
全方位色彩解析ソフト REALAPS Omni Colorのマニュアル
tarosay
0
210
だんごサットの紹介
tarosay
0
220
Other Decks in Technology
See All in Technology
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
多層防御と最⼩権限で実現する、安全なAIエージェント設計パターン
lycorptech_jp
PRO
1
290
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
830
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
680
2026-09-09 【sigma_ucj#1】Sigma を IaC 管理したい! / IaC for Sigma
civitaspo
0
130
GoCon2026 - Open Source, Open World
sanposhiho
4
4k
人間はどの意思決定を手放せるのか
kawasima
13
5.4k
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
4
560
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
3
480
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
650
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
140
2026_devsumi_ozono.pdf
o3
3
470
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
840
エンジニアに許された特別な時間の終わり
watany
108
250k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
520
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Deep Space Network (abreviated)
tonyrice
0
300
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Unsuck your backbone
ammeep
672
58k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Transcript
山本三七男 (たろサ) 小型ファンヒーター ハックのお話 その後 去年、おうちハックで LTした
自己紹介
3 自己紹介 みかん ・ルアリダワークス 代表 ・ルアリダワークス 代表 ・ビジュアル・テクノロジ ー研究所 ・ビジュアル・テクノロジ
ー研究所 リモート社員 リモート社員 ・ ・Wakayama.rb Wakayama.rb 主催 主催 ・和歌山デジもく会 主催 ・和歌山デジもく会 主催
4 ボードも紹介 ・Ruby プログラムは、 GR-CITRUS ・WiFi通信は、 WA-MIKAN ・モーター制御は、 SAMBOU-KAN
5 使 用 例 重ねるだけで、 すべての機能が使えます
6 3Dプリンタの温調 冷えると上手くプリント 冷えると上手くプリント できない できない
7 小型ファンヒーター 温度調節ができない
8 ファンヒーターハック ファンヒーターの転倒検出バーを 押す機構 押す機構
去年は、ここまで で、 春が来ました
あれから、 二転 三転
11 電源スイッチ化 小型ファンヒーターの コンセント部を スイッチ化 これで、600Wは、 アッチッチ、危険。
12 裏から押す
13 できました 温度センサ(DS18B20)
14 プログラムは Ruby System.exit "WA-MIKAN can't use." if(!System.use?("WiFi")) System.exit "DS18B20
can't use." if(!System.use?('DS18B20')) while true do DS18B20.convert Add delay wait temp = DS18B20.read Add if(Sw == SwOff && temp < Min && temp != -999)then Sw = SwOn Servo.write(0, Sw) elsif(Sw == SwOn && temp > Max)then Sw = SwOff Servo.write(0, Sw) end tm = Rtc.getTime if(tm[5] == 10)then if(Sw == SwOn)then body = '{"value1":"温度: ' + temp.to_s + ' ","value2":" ℃ スイッチ: ON","value3":""}' else body = '{"value1":"温度: ' + temp.to_s + ' ","value2":" ℃ スイッチ: OFF","value3":""}' end WiFi.httpPost(IFTTT, Header, body).to_s end led end 最近はPythonも 走るようです
15 温度はツイート とりあえず、 とりあえず、 3D 3Dプリント中の プリント中の 温度は、 温度は、 ツイッターで
ツイッターで 確認できます 確認できます
ご清聴ありがとう ございました 1/27 Ruby和歌山 と、 デジもく和歌山 の もくもく会やります。