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
小型ファンヒーターハックのお話 その後
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tarosa
January 11, 2019
Technology
3
590
小型ファンヒーターハックのお話 その後
去年のおうちハックでLTした小型ファンヒーターハック話の続きです。
IoTLT2019新年会にてLTしました。
Tarosa
January 11, 2019
Tweet
Share
More Decks by Tarosa
See All by Tarosa
AIで宇宙甲子園 缶サット部門 近畿大会のテーマソングを作る
tarosay
0
17
mrubyとWakayama.rb ~mrubyと共に歩んだ10年~
tarosay
0
140
【THETA撮影会 in 大阪】建築・照明デザイナーとエンジニアのための視環境設計 #4
tarosay
0
240
評価画像変換の簡単な説明
tarosay
0
180
建築・照明デザイナーとエンジニアのための視環境設計
tarosay
0
270
模擬人工衛星DangoSatプロジェクト
tarosay
0
270
全方位色彩解析ソフト REALAPS Omni Colorのマニュアル
tarosay
0
190
だんごサットの紹介
tarosay
0
190
Tellusで、串本のおいしいお刺身を!
tarosay
1
470
Other Decks in Technology
See All in Technology
Phase11_戦略的AI経営
overflowinc
0
160
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
350
Copilot 宇宙へ 〜生成AIで「専門データの壁」を壊す方法〜
nakasho
0
130
システム標準化PMOから ガバメントクラウドCoEへ
techniczna
1
150
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
140
Visional 28新卒プロダクト職(エンジニア/デザイナー)向け 会社説明資料 / Visional Company Briefing for Newgrads 28
visional_engineering_and_design
1
110
ABEMAのバグバウンティの取り組み
kurochan
1
150
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
340
Everything Claude Code を眺める
oikon48
13
8.7k
Phase06_ClaudeCode実践
overflowinc
0
200
Phase05_ClaudeCode入門
overflowinc
0
220
_Architecture_Modernization_から学ぶ現状理解から設計への道のり.pdf
satohjohn
2
430
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
Code Review Best Practice
trishagee
74
20k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
240
Discover your Explorer Soul
emna__ayadi
2
1.1k
How to train your dragon (web standard)
notwaldorf
97
6.6k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
240
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Embracing the Ebb and Flow
colly
88
5k
Faster Mobile Websites
deanohume
310
31k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
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和歌山 と、 デジもく和歌山 の もくもく会やります。