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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
270
AIで宇宙甲子園 缶サット部門 近畿大会のテーマソングを作る
tarosay
0
46
mrubyとWakayama.rb ~mrubyと共に歩んだ10年~
tarosay
0
170
【THETA撮影会 in 大阪】建築・照明デザイナーとエンジニアのための視環境設計 #4
tarosay
0
260
評価画像変換の簡単な説明
tarosay
0
220
建築・照明デザイナーとエンジニアのための視環境設計
tarosay
0
290
模擬人工衛星DangoSatプロジェクト
tarosay
0
310
全方位色彩解析ソフト REALAPS Omni Colorのマニュアル
tarosay
0
220
だんごサットの紹介
tarosay
0
220
Other Decks in Technology
See All in Technology
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
880
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
大型犬好きによるPugの紹介
yamanoku
1
160
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
490
React改造してみた
tsukina_7mochi
0
140
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
その Valkey 使いこなしていますか?
onk
PRO
5
1.6k
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
180
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
140
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
Rust で関数型ドメインモデリング
takonda
0
170
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
560
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
It's Worth the Effort
3n
188
29k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Designing Experiences People Love
moore
143
24k
My Coaching Mixtape
mlcsv
0
360
Side Projects
sachag
456
43k
Automating Front-end Workflow
addyosmani
1369
210k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
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和歌山 と、 デジもく和歌山 の もくもく会やります。