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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
260
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
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
0
190
Deep Data Security 機能解説
oracle4engineer
PRO
2
770
しろおびから始める!ログ活用の第一歩
shumei_ito
0
890
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
140
SREでアラート疲れを 解決しよう!
kairim0
1
220
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
130
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
860
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
1.1k
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.3k
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.3k
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
940
Featured
See All Featured
How to make the Groovebox
asonas
2
2.5k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
Code Review Best Practice
trishagee
74
20k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
630
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Claude Code のすすめ
schroneko
67
230k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
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和歌山 と、 デジもく和歌山 の もくもく会やります。