<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-34838990</id><updated>2025-11-09T18:34:17.157+08:00</updated><category term="電路製作"/><category term="DIY"/><category term="教學"/><category term="時間管理"/><category term="萬用手冊"/><category term="VmWare"/><category term="windows"/><category term="FreeBSD"/><category term="心得"/><category term="網路"/><category term="ARM"/><category term="golang"/><category term="snmp"/><category term="科技"/><category term="ESP32&#xa; Platformio"/><category term="HA"/><category term="HomeAssistant"/><category term="ICP"/><category term="IR"/><category term="ISP"/><category term="InBox"/><category term="Localtuya"/><category term="Luminary"/><category term="Nuvoton"/><category term="PDA"/><category term="VS2008"/><category term="arduino"/><category term="arduino&#xa;node-red"/><category term="brower"/><category term="chromedp"/><category term="config"/><category term="docker-compose"/><category term="firefox"/><category term="msp430"/><category term="script"/><category term="syslog"/><category term="tuya"/><category term="volume"/><category term="windows&#xa;RDP"/><category term="思考中"/><category term="電腦"/><category term="養生"/><title type='text'>碼工備忘</title><subtitle type='html'>個人日誌</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-34838990.post-5868556533778744866</id><published>2024-07-31T13:55:00.002+08:00</published><updated>2024-07-31T13:55:14.327+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Windows 多出來的 網路n</title><content type='html'>將下面存成 removenet.reg，再點選就行了。

Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\]

</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/5868556533778744866/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2024/07/windows-n.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5868556533778744866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5868556533778744866'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2024/07/windows-n.html' title='Windows 多出來的 網路n'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-1324326914692680622</id><published>2024-04-11T12:13:00.003+08:00</published><updated>2024-04-11T12:14:05.163+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows&#xa;RDP"/><title type='text'></title><content type='html'>
Windows 本地端沒有設定密碼時，要遠端桌面請用

&lt;blockquote&gt;Reg.Exe add &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa&quot; /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f&lt;/blockquote&gt;


</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/1324326914692680622/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2024/04/windows-reg.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/1324326914692680622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/1324326914692680622'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2024/04/windows-reg.html' title=''/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-6801081523504298338</id><published>2024-03-11T12:57:00.003+08:00</published><updated>2024-03-11T13:00:19.637+08:00</updated><title type='text'>Updating gcloud after installing Python 3.12</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT7jkD3Pss7gdxKgSH9co8j42H1T0c-u20fPR4o2_SdipL9sg60rflPZApM5loVY-qm8A62ferhXQI-ohGDE-ymfvUZIi20aoTZltgSh3sC613FGBOV2JqD0mhBjhh5bzDgRvijEZ14AmSlgdeUwK4K-ItsEK8mWvGEjhcK1WvdUDVCQR-2bSF/s1440/messageImage_1710132980898.jpg&quot; style=&quot;display: block; padding: 1em 0; text-align: center; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; width=&quot;320&quot; data-original-height=&quot;538&quot; data-original-width=&quot;1440&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT7jkD3Pss7gdxKgSH9co8j42H1T0c-u20fPR4o2_SdipL9sg60rflPZApM5loVY-qm8A62ferhXQI-ohGDE-ymfvUZIi20aoTZltgSh3sC613FGBOV2JqD0mhBjhh5bzDgRvijEZ14AmSlgdeUwK4K-ItsEK8mWvGEjhcK1WvdUDVCQR-2bSF/s320/messageImage_1710132980898.jpg&quot;/&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;macos 更新後，有上面問題，用下列方法解決。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;CLOUDSDK_PYTHON=/usr/local/bin/python3.11 gcloud components update&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/6801081523504298338/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2024/03/updating-gcloud-after-installing-python.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6801081523504298338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6801081523504298338'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2024/03/updating-gcloud-after-installing-python.html' title='Updating gcloud after installing Python 3.12'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT7jkD3Pss7gdxKgSH9co8j42H1T0c-u20fPR4o2_SdipL9sg60rflPZApM5loVY-qm8A62ferhXQI-ohGDE-ymfvUZIi20aoTZltgSh3sC613FGBOV2JqD0mhBjhh5bzDgRvijEZ14AmSlgdeUwK4K-ItsEK8mWvGEjhcK1WvdUDVCQR-2bSF/s72-c/messageImage_1710132980898.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-5475345856915426127</id><published>2023-11-03T17:10:00.006+08:00</published><updated>2023-11-03T17:15:05.463+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arduino&#xa;node-red"/><title type='text'>node-red-arduino 安裝</title><content type='html'>&lt;p&gt;在 windows 10 :&lt;/p&gt;&lt;p&gt;在 windows store &lt;br /&gt;&lt;/p&gt;&lt;p&gt;安裝 python&lt;/p&gt;&lt;p&gt;安裝 visual studio &lt;br /&gt;&lt;/p&gt;&lt;p&gt;安裝 nvm，方便 nodejs 版本更換&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;以管理權限開 cmd : &lt;br /&gt;&lt;/p&gt;&lt;p&gt;安裝 nodejs:&lt;/p&gt;&lt;p&gt;&amp;nbsp; nvm install latest, nvm use xx.xx.x&lt;/p&gt;&lt;p&gt;安裝 node-red&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; npm install -g --unsafe-perm node-red&amp;nbsp;&lt;/p&gt;&lt;p&gt;安裝完後, 啟動 node-red&amp;nbsp;&lt;/p&gt;&lt;p&gt;用 browers 開啟 127.0.0.1:1880&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; 網頁右上角 選單/節點管理/palette/安裝/搜尋模組&lt;/p&gt;&lt;p&gt;&amp;nbsp; 打入 arduino 就可看到，選 node-red-node-arduino 安裝就完成了.

&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/5475345856915426127/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2023/11/node-red-arduino.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5475345856915426127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5475345856915426127'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2023/11/node-red-arduino.html' title='node-red-arduino 安裝'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-6569353085484605903</id><published>2023-05-30T12:17:00.001+08:00</published><updated>2023-05-30T12:17:17.072+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ESP32&#xa; Platformio"/><title type='text'>platformio 編譯 ESP32 程式碼後，直接燒錄 bin 的方法</title><content type='html'>&lt;p&gt;&amp;nbsp;platformio 在 vscode 開發後，如果想要直接燒錄 bin 檔可以利用下列方式處理:&lt;/p&gt;&lt;p&gt;以下是 macos 的環境的指令:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;esptool.py --chip auto --port /dev/tty.usbserial-0001 --baud 921600 write_flash --flash_mode dio --flash_size detect 0x1000 .pio/build/esp32release/bootloader.bin 0x8000 .pio/build/esp32release/partitions.bin 0xe000 ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 pio/build/esp32release/firmware.bin&lt;/code&gt;
  
 &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/6569353085484605903/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2023/05/platformio-esp32-bin.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6569353085484605903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6569353085484605903'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2023/05/platformio-esp32-bin.html' title='platformio 編譯 ESP32 程式碼後，直接燒錄 bin 的方法'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-6072360684928929646</id><published>2023-02-24T19:07:00.003+08:00</published><updated>2023-02-24T19:07:31.319+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="brower"/><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><title type='text'>移除網址列不要的記錄</title><content type='html'>&lt;p&gt;&amp;nbsp;在打出部分URL時，用上下鍵選擇不要的，按下 Del 鍵即可刪除。&lt;/p&gt;&lt;p&gt;MACOS 要按 shift-command-backdel&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/6072360684928929646/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2023/02/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6072360684928929646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6072360684928929646'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2023/02/blog-post.html' title='移除網址列不要的記錄'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-829227239543538315</id><published>2022-12-20T11:33:00.000+08:00</published><updated>2022-12-20T11:33:30.256+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'></title><content type='html'>&lt;p&gt;&amp;nbsp;2010 花博夢想館機械花&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;339&quot; src=&quot;https://www.youtube.com/embed/V3j-ASsOqIs&quot; width=&quot;440&quot; youtube-src-id=&quot;V3j-ASsOqIs&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/829227239543538315/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/12/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/829227239543538315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/829227239543538315'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/12/blog-post.html' title=''/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/V3j-ASsOqIs/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-1108315306767088620</id><published>2022-12-19T16:17:00.003+08:00</published><updated>2022-12-20T11:33:44.306+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>2011 苗栗燈會參與項目</title><content type='html'>&lt;div&gt;&lt;p&gt;2011 苗栗燈會的電路設計&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;客家創意主題館燈區，「天降甘露」、「百獸獻瑞」、「燈海祈福」三個展館中。&lt;/p&gt;&lt;p&gt;天降甘露、燈海祈福 燈光控制電路製作。&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.twfhc.com.tw/business_activity_inpage.aspx?ID=62&amp;amp;List=%E7%B6%93%E7%87%9F%E5%8B%95%E6%85%8B&amp;amp;Type=%E5%85%AC%E7%9B%8A%E6%B4%BB%E5%8B%95&quot;&gt;天降甘露&lt;/a&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9XqGGQZUj5QHygW-v9793FupoRKwOqn-0QidWM_v-ojDZYVzBRtQbaLlDHXQg8SnKdI4TWrwzCHMZXESsy44rzmMDQYns38Ni1CXsGNiWiQ3o_zmEAOVBuiNVLthnsBytvxaw63K6X7uCdUOuaSwsHJMwO0LEQtW6un10IOKdzCP1HURKvQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;225&quot; data-original-width=&quot;300&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9XqGGQZUj5QHygW-v9793FupoRKwOqn-0QidWM_v-ojDZYVzBRtQbaLlDHXQg8SnKdI4TWrwzCHMZXESsy44rzmMDQYns38Ni1CXsGNiWiQ3o_zmEAOVBuiNVLthnsBytvxaw63K6X7uCdUOuaSwsHJMwO0LEQtW6un10IOKdzCP1HURKvQ&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;(上圖來至 https://www.twfhc.com.tw/business_activity_inpage.aspx?ID=62&amp;amp;List=%E7%B6%93%E7%87%9F%E5%8B%95%E6%85%8B&amp;amp;Type=%E5%85%AC%E7%9B%8A%E6%B4%BB%E5%8B%95)&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://news.ltn.com.tw/news/local/paper/468890&quot;&gt;燈海祈福&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjM1xX3ecnYniHwf2N363reNMIproFzp3Pqo1KuRlarBgKtrGorOhmojW9g15GiIP6N-1gHBcdBiCOD9F5v7KW3RP_M7YCAEhVA_4cDnWAPV7fKy3YPbHlFy92qNrSEdaYG1VnTow9pqyAlrMFZU1EZWj5j4S85wh2gfi9UX6sfNk30nm4wYQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;399&quot; data-original-width=&quot;600&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjM1xX3ecnYniHwf2N363reNMIproFzp3Pqo1KuRlarBgKtrGorOhmojW9g15GiIP6N-1gHBcdBiCOD9F5v7KW3RP_M7YCAEhVA_4cDnWAPV7fKy3YPbHlFy92qNrSEdaYG1VnTow9pqyAlrMFZU1EZWj5j4S85wh2gfi9UX6sfNk30nm4wYQ&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;(上圖來至 https://news.ltn.com.tw/news/local/paper/468890)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/1108315306767088620/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/12/2011.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/1108315306767088620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/1108315306767088620'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/12/2011.html' title='2011 苗栗燈會參與項目'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEi9XqGGQZUj5QHygW-v9793FupoRKwOqn-0QidWM_v-ojDZYVzBRtQbaLlDHXQg8SnKdI4TWrwzCHMZXESsy44rzmMDQYns38Ni1CXsGNiWiQ3o_zmEAOVBuiNVLthnsBytvxaw63K6X7uCdUOuaSwsHJMwO0LEQtW6un10IOKdzCP1HURKvQ=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-3592929712007229826</id><published>2022-11-15T10:39:00.002+08:00</published><updated>2022-11-15T10:39:32.306+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HA"/><category scheme="http://www.blogger.com/atom/ns#" term="HomeAssistant"/><category scheme="http://www.blogger.com/atom/ns#" term="Localtuya"/><category scheme="http://www.blogger.com/atom/ns#" term="tuya"/><title type='text'></title><content type='html'>HomeAssistant(HA) 與 Localtuya 連線問題&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;localtuya 在新增裝置時出現問題，可以試著照著下列步驟處理&lt;/div&gt;
&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;HA 停用(disable localtuya，不用移除) localtuya&lt;/li&gt;
&lt;li&gt;從 APP 中移除有問題的裝置後，再重新加入&lt;/li&gt;&lt;li&gt;啟動 Localtuya&lt;/li&gt;
&lt;li&gt;在 Localtuya 加入裝置&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;

&lt;div&gt;其實上述最主要的目的在變更 Localtuya 中已存在的 Localkey。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/3592929712007229826/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/11/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3592929712007229826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3592929712007229826'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/11/blog-post.html' title=''/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-4328867402260191315</id><published>2022-11-05T17:37:00.001+08:00</published><updated>2022-11-05T17:43:33.838+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chromedp"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>遠端 Chromedp 中文問題</title><content type='html'>  &lt;li&gt;&amp;nbsp;在伺服器要先安裝 google-chrome
  &lt;code class=&quot;language-bash&quot;&gt;
    &lt;blockquote&gt;
      &lt;p&gt;wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb&lt;/p&gt;
      &lt;p&gt;sudo apt install ./google-chrome-stable_current_amd64.deb&lt;/p&gt;
    &lt;/blockquote&gt;
    &lt;p&gt;安裝完畢後，中文會以方框顯示。&lt;/p&gt;
  &lt;/code&gt;&lt;/li&gt;

  &lt;li&gt;安裝中文字型&amp;nbsp;&lt;/li&gt;
     &lt;blockquote&gt;
       &lt;p&gt;apt install fonts-arphic-ukai fonts-arphic-uming fonts-wqy-microhei fonts-wqy-zenhei xfonts-wqy fonts-noto&lt;/p&gt;
     &lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/4328867402260191315/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/11/chromedp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4328867402260191315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4328867402260191315'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/11/chromedp.html' title='遠端 Chromedp 中文問題'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-2576299526746111671</id><published>2022-09-26T12:50:00.001+08:00</published><updated>2022-09-26T12:50:23.165+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="docker-compose"/><category scheme="http://www.blogger.com/atom/ns#" term="volume"/><title type='text'>docker-compose 使用 docker 建立的 volume</title><content type='html'>&lt;p&gt;查了許久才發現 docker-compose 要用 docker 建立的 volume 要在 docker-compose.yml 中加入 external: false&amp;nbsp;&lt;/p&gt;&lt;p&gt;範例: &lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;
  volumes: &lt;br /&gt;&amp;nbsp;&amp;nbsp; myvolume:
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; external: false
&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/2576299526746111671/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/09/docker-compose-docker-volume.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/2576299526746111671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/2576299526746111671'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/09/docker-compose-docker-volume.html' title='docker-compose 使用 docker 建立的 volume'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-2824695685868158593</id><published>2022-09-01T12:07:00.006+08:00</published><updated>2022-09-02T22:37:49.159+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>自動更新/安裝 golang</title><content type='html'>Linux
&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;
  ver=`curl https://go.dev/VERSION?m=text`&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  wget https://dl.google.com/go/$ver.linux-amd64.tar.gz&lt;br /&gt;
  rm -rf /usr/local/go&lt;br /&gt;tar -C /usr/local -xzf /tmp/$ver.linux-amd64.tar.gz
&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

Windows WSL
&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;
  ver=`curl https://go.dev/VERSION?m=text`&lt;br /&gt;
  wget https://dl.google.com/go/$ver.windows-amd64.zip&lt;br /&gt;
  unzip -oqx $ver.windows-amd64.zip -d /mnt/c&lt;br /&gt;
  rm $ver.windows-amd64.zip
&lt;/blockquote&gt;&lt;p&gt;Windows WSL vscode 要安裝 remote-WSL &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/2824695685868158593/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2022/09/golang.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/2824695685868158593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/2824695685868158593'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2022/09/golang.html' title='自動更新/安裝 golang'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-5610268698879593722</id><published>2016-03-06T11:00:00.001+08:00</published><updated>2016-03-06T11:04:57.020+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARM"/><category scheme="http://www.blogger.com/atom/ns#" term="ICP"/><category scheme="http://www.blogger.com/atom/ns#" term="ISP"/><category scheme="http://www.blogger.com/atom/ns#" term="Nuvoton"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><title type='text'>Nuvton M0/M4 ISP 記錄</title><content type='html'>先到新唐的網站下載 NuMicro_ICP_Programming_Tool_Rev1.31.6535&amp;nbsp; 及 NuMicro_ISP_Programming_Tool_Rev1.47 。&lt;br /&gt;
&lt;br /&gt;
先解開 NuMicro_ICP_Programming_Tool_Rev1.31.6535 這個壓縮檔，執行裡面的唯一的程式，等待安裝完畢。&lt;br /&gt;
&lt;br /&gt;
解開 NuMicro_ISP_Programming_Tool_Rev1.47 裡面有三個目錄。先執行(1) Application Program/setup.exe 等待安裝完成。&lt;br /&gt;
&lt;br /&gt;
到(2) Nuvoton Standard ISP Code\Binary File\目錄下找所用CPU。我所用的是M453，打開M451目錄。目錄下有兩個，看使用ISP的方法。&lt;br /&gt;
&lt;br /&gt;
執行Nuvoton NuMicro ISP Programming Too，選擇CPU。&lt;br /&gt;
選擇LDROM，在(2) Nuvoton Standard ISP Code\Binary File\目錄下。&lt;br /&gt;
檢查一配置位，按下後會彈出一個晶片選項的視窗，其中啟動選項要選LDROM，按確定離開。&lt;br /&gt;
&lt;br /&gt;
在編程方塊內的選項 LDROM，配置區(全新的晶片一定要選取)依需求選取。如果有選配置區，晶片上所有資料都會清除。&lt;br /&gt;
&lt;br /&gt;
按開始後，ISP的程式就寫入晶片中了。&lt;br /&gt;
&lt;br /&gt;
按ISP要求連接好，先執行 NuMicro ISP Programming Tool，選好連結方式，先按下Connect後，再按下晶片的Reset，就可以看到Connected的訊息了。這時，就可以下載所要的程式了。</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/5610268698879593722/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2016/03/nuvton-m0m4-isp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5610268698879593722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5610268698879593722'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2016/03/nuvton-m0m4-isp.html' title='Nuvton M0/M4 ISP 記錄'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-249763534091155379</id><published>2014-09-13T15:53:00.001+08:00</published><updated>2015-03-24T14:39:26.930+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>氣壓、溫濕度感測器所記錄下來的資料</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Electricimp 把資料送上 xively 也好一陣子，但我的風扇自動控制的部分還沒有完成。但還是先把記錄下來的資料分享給各位看一下吧。這個資料結束時間為2014/09/13 15:40左右。資料多了，很多事情就有趣多了，畢竟 &quot;數大就是美&quot;。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
之前有留意到，外界開始變亮的時間是約在0450左右(7月)，但現在(9月)變亮的時間已經來到0540。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
至於壓力變化可以看出天氣的好壞沒有發現，查到的資料是說1小時內氣壓的變化大於2.5(還是1??)時一定會有大的氣象變化，但台灣好像不適用，因為有雷陣雨時，變化是有，但沒有這麼明顯。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
不過，xively 不太會用，傳上去的數值資料是可以讀回。&lt;strike&gt;還沒有去研究是否可以讀回&lt;/strike&gt;?&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
下圖由上到下分別為 濕度、亮度、氣壓及溫度。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSZxD02j7M1zUGZCO_ss2-dtmrcvmcpKO8N3glHKK3HTdAw-jqK9G-7MQENHkqapMcKRnr721XBOeaH6CE3nbGfkqa3TmI11fSXNK-dNTepI_xdMQqcTgStDAYrHZgUMRhbF3N/s1600/record.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSZxD02j7M1zUGZCO_ss2-dtmrcvmcpKO8N3glHKK3HTdAw-jqK9G-7MQENHkqapMcKRnr721XBOeaH6CE3nbGfkqa3TmI11fSXNK-dNTepI_xdMQqcTgStDAYrHZgUMRhbF3N/s1600/record.png&quot; height=&quot;640&quot; width=&quot;257&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/249763534091155379/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/09/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/249763534091155379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/249763534091155379'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/09/blog-post.html' title='氣壓、溫濕度感測器所記錄下來的資料'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSZxD02j7M1zUGZCO_ss2-dtmrcvmcpKO8N3glHKK3HTdAw-jqK9G-7MQENHkqapMcKRnr721XBOeaH6CE3nbGfkqa3TmI11fSXNK-dNTepI_xdMQqcTgStDAYrHZgUMRhbF3N/s72-c/record.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-4819956105793140036</id><published>2014-07-25T15:30:00.002+08:00</published><updated>2014-07-25T15:33:35.677+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>Electricimp + MS5607 氣壓感測器</title><content type='html'>按照下圖將做好的HTU-21+MS5607感測器與electricimp接好。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s1600/imp003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s1600/imp003.png&quot; height=&quot;118&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
將程式碼放至Device頁框中。(I2C的速度不要選400KHz，可能會讀不到氣壓計的值)&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/sywung/23ac0361a68b4638a063.js&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
按下&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2XeOE-dKpN9WmtpDRGkpmlIq-RBpTlDd0fira6N5de95KByBv9FeoDGBXcGVjMaD4wPK695FLWhxEYrYxWqJxUk4B6K_mfu0eNOVOFIsdCeR62izk4gtwXT0MrXun1wxSFaV/s1600/image_thumb.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
應該可以在 Device logs 頁看到氣壓與溫度的訊息。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/4819956105793140036/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-ms5607.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4819956105793140036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4819956105793140036'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-ms5607.html' title='Electricimp + MS5607 氣壓感測器'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s72-c/imp003.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-629014530188676447</id><published>2014-07-25T14:40:00.000+08:00</published><updated>2014-07-25T15:33:26.432+08:00</updated><title type='text'>Electricimp + HTU-21 溫度感測器</title><content type='html'>按照下圖將做好的HTU-21+MS5607感測器與electricimp接好。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s1600/imp003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s1600/imp003.png&quot; height=&quot;118&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
將程式碼放至Device頁框中。(I2C的速度不要選400KHz，可能會讀不到氣壓計的值)&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/sywung/acf58347f61604773704.js&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
按下&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2XeOE-dKpN9WmtpDRGkpmlIq-RBpTlDd0fira6N5de95KByBv9FeoDGBXcGVjMaD4wPK695FLWhxEYrYxWqJxUk4B6K_mfu0eNOVOFIsdCeR62izk4gtwXT0MrXun1wxSFaV/s1600/image_thumb.png&quot; /&gt;

&lt;br /&gt;
&lt;br /&gt;
應該可以在 Device logs 頁框中看到溫濕度的訊息。</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/629014530188676447/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-htu-21.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/629014530188676447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/629014530188676447'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-htu-21.html' title='Electricimp + HTU-21 溫度感測器'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2fSWDACpOnJe1uOXHWEWlyJIIMiEnAAE_0gKBi5z9fgrgvbrA7uyx9s7WTw8rXyxThkFVYGRgS0qj7Iy_lq5rGzjvdgOU5CR1gumtoG6qkuv2oeuuh1fYy3dv0L70sXSaXmEg/s72-c/imp003.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-107418195912087804</id><published>2014-07-24T16:36:00.004+08:00</published><updated>2014-07-25T11:41:14.207+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>溫濕度(HTU-21) + 氣壓計(MS5607) 模組製作</title><content type='html'>玩過了 DHT-11/DHT-22 的溫濕度計感測模組後，總覺得有那麼一點不足。說不上來為什麼，只好上網 GOOGLE 一下了。這一找，發現還有更好的模組，SHT系列的就不錯。而 HTU-21也在搜尋中出現，看在價格比較便宜的上面，就鎖定它了。&lt;br /&gt;
&lt;br /&gt;
在 HTU-21 的又想到，可否將氣壓的值也加進來。一樣，GOOGLE 出一些線索。不過，網路上很多人說 MSXXXX 的比較好。反正都要做，那好的東西都來一點吧。&lt;br /&gt;
&lt;br /&gt;
上淘寶找到一個賣家，兩個都有賣，價格也還可以的。下單-付款-收貨 3天就到。MS5607有SPI/I2C兩種通訊方式，而HTU-21只有I2C。為了方便，通通改用I2C的方法。要注意電源如果能使用3V最好，MS5607的準確度會最佳。電路圖如下，R1、R2可以省略，因為 IMP 有提供上拉電阻，但如果在其它電路也要用，建議加上。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyWkpOh1Z4zjmI63z0fdAR_HBNu-TWDL0F9IRi35OgD2ta0qxqLdpRmSMY2Tc-isRJDOvd8B31nkUR7rPTa3NurU4GqYJxHn6deFveDVAtP4XIrDaLmXg3ycKkEZRZ-ezu1-cd/s1600/SensorMod.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyWkpOh1Z4zjmI63z0fdAR_HBNu-TWDL0F9IRi35OgD2ta0qxqLdpRmSMY2Tc-isRJDOvd8B31nkUR7rPTa3NurU4GqYJxHn6deFveDVAtP4XIrDaLmXg3ycKkEZRZ-ezu1-cd/s1600/SensorMod.png&quot; height=&quot;213&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
自行製作的電路板，只使用單面，外接 4PIN。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvGG4f6PvGnd9SgcsI4TFKeZUheM3iZkr76VxRX9TuOw7zGKZZTyQstsxsqkHdFHzKUxtdWuhuxij3cYk9KfahRXkz0i-beKcUTH7PnVENNMUeZRGFlPuzQ-ErJS8fc9rX2bXw/s1600/SensorModpcb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvGG4f6PvGnd9SgcsI4TFKeZUheM3iZkr76VxRX9TuOw7zGKZZTyQstsxsqkHdFHzKUxtdWuhuxij3cYk9KfahRXkz0i-beKcUTH7PnVENNMUeZRGFlPuzQ-ErJS8fc9rX2bXw/s1600/SensorModpcb.png&quot; height=&quot;246&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
焊接後，在Arduino板子上試驗成功了。只等將程式轉換至 IMP001上了。&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWsniivny7QDUx3-0GF5kMAnpUlPo8onfidwze5aSr1ia5Lk49U6Sc6lsX9VfmMRD4TfBRjzytSxI4_AbO_AAAIUeXeMfHAa23jHaiYrnCreuO44roJQL1iwqEGYFBfxcw6z0o/s1600/IMG_0231.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWsniivny7QDUx3-0GF5kMAnpUlPo8onfidwze5aSr1ia5Lk49U6Sc6lsX9VfmMRD4TfBRjzytSxI4_AbO_AAAIUeXeMfHAa23jHaiYrnCreuO44roJQL1iwqEGYFBfxcw6z0o/s1600/IMG_0231.jpg&quot; height=&quot;237&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/107418195912087804/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/htu-21-ms5607.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/107418195912087804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/107418195912087804'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/htu-21-ms5607.html' title='溫濕度(HTU-21) + 氣壓計(MS5607) 模組製作'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyWkpOh1Z4zjmI63z0fdAR_HBNu-TWDL0F9IRi35OgD2ta0qxqLdpRmSMY2Tc-isRJDOvd8B31nkUR7rPTa3NurU4GqYJxHn6deFveDVAtP4XIrDaLmXg3ycKkEZRZ-ezu1-cd/s72-c/SensorMod.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-5878564665015098650</id><published>2014-07-24T14:35:00.000+08:00</published><updated>2014-07-24T21:17:15.888+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>Electricimp + DHT-22(DHT-11) 溫濕度實驗</title><content type='html'>&lt;br /&gt;
1. 按照下圖連接好 imp001 跟 DHT-22(DHT-11也可以)。原本網頁上用的是10KΩ的電阻，但實測後，不能正常工作。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s1600/imp02.png&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;117&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s1600/imp02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s1600/imp02.png&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s1600/imp02.png&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;
2. 到這裡下載 &lt;a href=&quot;https://github.com/electricimp/reference/blob/master/hardware/DHT22/dht22.device.nut&quot; target=&quot;_blank&quot;&gt;DHT-22&lt;/a&gt; (&lt;a href=&quot;https://github.com/electricimp/reference/blob/master/hardware/DHT11/dht11.device.nut&quot; target=&quot;_blank&quot;&gt;DHT-11&lt;/a&gt;) 的程式。 &lt;br /&gt;
&lt;br /&gt;
3. 將程式碼拷備至 ide 的device頁框中。程式碼中0.000026可能要改為0.000028或0.000030才能正常工作。&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;k&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; font-weight: bold; line-height: 18px; white-space: pre;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;ZERO&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; font-weight: bold; line-height: 18px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot; style=&quot;background-color: white; box-sizing: border-box; color: #009999; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;0.000026&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #999988; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; font-style: italic; line-height: 18px; white-space: pre;&quot;&gt;// 26 us high for &quot;0&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;c1&quot; style=&quot;background-color: white; box-sizing: border-box; color: #999988; font-family: Consolas, &#39;Liberation Mono&#39;, Menlo, Courier, monospace; font-size: 12px; font-style: italic; line-height: 18px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
4. 按下網頁上的&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp5SK924IMDczlqkZF1yG2GKER4Qf73N9luTZvfj6NY67b-Y4Yj5enhbMja5wjFysYLkEnlKbQOSLNwGY4yTl8ggyEO9LaBAb69wucXMpQ7jYMSt6-BWq_1QIivM7dZVbqRPwG/s1600/image_thumb.png&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp5SK924IMDczlqkZF1yG2GKER4Qf73N9luTZvfj6NY67b-Y4Yj5enhbMja5wjFysYLkEnlKbQOSLNwGY4yTl8ggyEO9LaBAb69wucXMpQ7jYMSt6-BWq_1QIivM7dZVbqRPwG/s1600/image_thumb.png&quot; /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
5. 應該可以在 Device logs 頁框中看到溫濕度的訊息。 

&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-3Tjui1Zn1YE%2FU9Clc9oXxoI%2FAAAAAAAABvw%2F45ZKuxqHaTU%2Fs1600%2Fimp02.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s1600/imp02.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-D-MdrP6JWGE%2FU9CnPRFmOMI%2FAAAAAAAABv8%2FBlI1xhHeM6Q%2Fs1600%2Fimage_thumb.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp5SK924IMDczlqkZF1yG2GKER4Qf73N9luTZvfj6NY67b-Y4Yj5enhbMja5wjFysYLkEnlKbQOSLNwGY4yTl8ggyEO9LaBAb69wucXMpQ7jYMSt6-BWq_1QIivM7dZVbqRPwG/s1600/image_thumb.png&quot; --&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/5878564665015098650/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-dht-22.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5878564665015098650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5878564665015098650'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/electricimp-dht-22.html' title='Electricimp + DHT-22(DHT-11) 溫濕度實驗'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaJthugir9OEdTc92yYXhRR3LlP2ylH4ICJ9Nl1rd6ExEzx6kb_LMsnuyHO3SuRZOoopE2PdgE1Z5xHZfrnSsF8ofXOcAIzgv5E7B6HMicRjhNFR4xFMWQA6joLMxk9oUc-xym/s72-c/imp02.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-6039858903874635131</id><published>2014-07-12T16:24:00.001+08:00</published><updated>2014-07-12T19:48:26.944+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>Electric imp 模組啟始設定程式-BlinkUp</title><content type='html'>&lt;b&gt;Electric imp使用前一定要做/知道的事:&lt;/b&gt;&lt;br&gt;
1.要有無線網路及智慧型手機, iOS/Android皆可。&lt;br&gt;
2.下載Electric imp的程式(到Apple store/市集搜尋 Electric imp)，安裝並執行。&lt;br&gt;
3.到&amp;nbsp;&lt;a href=&quot;http://www.electricimp.com/&quot;&gt;官網&lt;/a&gt;&amp;nbsp;申請帳號。&lt;br&gt;
4.開發程式一定要連到官網。
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;下載設定:&lt;/b&gt;&lt;br&gt;
輸入無線網路資訊到APP程式中。將Electric imp通電後，按下APP中send BlinkUp按鈕，在3秒內將手機螢幕靠到卡片旁的透明孔，等待一陣閃光將資料傳送完畢即可離開。以後有更換無線網路設定時，再一次BlinkUp即可。&lt;br&gt;
&lt;br&gt;
&amp;nbsp;參考影片&lt;br&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/Kcyqd2i_lvg&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;

&lt;br&gt;
&lt;br&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/6039858903874635131/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/electric-imp-blinkup.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6039858903874635131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/6039858903874635131'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/electric-imp-blinkup.html' title='Electric imp 模組啟始設定程式-BlinkUp'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-8495278934530172742</id><published>2014-07-12T15:09:00.001+08:00</published><updated>2014-07-13T09:58:59.476+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="教學"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>Electric imp 001 簡單測試</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;1.先按下圖連接好電路。藍色連接線是選擇使用USB或是Vin。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSncno-xBi3RlNu8yEaY9XplJ2L4aQzIe2q3IzHQD1gb294vHqac5bwuN9r0AbXym8rkweHrQAkHmyDcrzT-T2C9UghbFmOuClpLu6JDOQDlQrgyHiESmvIxfGk5E3f9F0rxF/s1600/imp001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSncno-xBi3RlNu8yEaY9XplJ2L4aQzIe2q3IzHQD1gb294vHqac5bwuN9r0AbXym8rkweHrQAkHmyDcrzT-T2C9UghbFmOuClpLu6JDOQDlQrgyHiESmvIxfGk5E3f9F0rxF/s1600/imp001.png&quot; height=&quot;126&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2.開啟 Electric imp &lt;a href=&quot;https://ide.electricimp.com/ide&quot;&gt;IDE 網頁&lt;/a&gt;，在Device中輸入下列程式碼。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;script src=&quot;https://gist.github.com/sywung/01d21e79305feea457be.js&quot;&gt;&lt;/script&gt;





&lt;span style=&quot;font-family: Georgia; font-size: small;&quot;&gt;3.按下網頁上的&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;


&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIhmwbxlEPgQ5jTqAv7IaM7oBZ115EgX-k19zOdJ1fuYMyYf8n-Xb07mp1v1fvzFlXl-Yw7OoaRTChhNkvOi8jl8zhQL8Y3tRqFlAJNm8wW35yPRhVx1nEGekNpIbO9c-xU-M9/s1600-h/image%25255B2%25255D.png&quot;&gt;&lt;span style=&quot;font-family: Georgia; font-size: small;&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-y56H4OzjGV6n5PmtvK-ot3ri2VwsE9muyJ8whR8RH_7jb_ST4VovKu75n-nf7grBtvfIpk5eJKNrzkIdzl2FMn0XdaRlPf9Lwjg7oRZvD8iZDUsva3ewlGfpdZ5xQ17cEdy3/?imgmax=800&quot; height=&quot;47&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;139&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia; font-size: small;&quot;&gt;4.LED上應可看出明暗變化。&lt;/span&gt;

</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/8495278934530172742/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/electric-imp-001.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/8495278934530172742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/8495278934530172742'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/electric-imp-001.html' title='Electric imp 001 簡單測試'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSncno-xBi3RlNu8yEaY9XplJ2L4aQzIe2q3IzHQD1gb294vHqac5bwuN9r0AbXym8rkweHrQAkHmyDcrzT-T2C9UghbFmOuClpLu6JDOQDlQrgyHiESmvIxfGk5E3f9F0rxF/s72-c/imp001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-4635803483092644588</id><published>2014-07-12T10:13:00.005+08:00</published><updated>2014-07-12T18:28:32.132+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><category scheme="http://www.blogger.com/atom/ns#" term="IR"/><category scheme="http://www.blogger.com/atom/ns#" term="電路製作"/><title type='text'>arduino 冷氣遙控器製作</title><content type='html'>每次學生都拿到遙控器，溫度一直下調到冷氣的最低溫度，通常是22度以下且風速最大......這種感覺很不好。在炎熱的夏天中，毛孔大開的狀況下，體表都是汗水的狀況下，進到低溫的環境都很不舒服。(暑當與汗出，勿止)。&lt;br /&gt;
&lt;br /&gt;
另外，學校的冷氣通常是在不同時間點購買，自然不可以是一個遙控器可以操控全部冷氣，造成管理起來也不方便。因此，把這些遙控器整合成一個，全部設成26度，風速自動，要開機只要按下on，關機只要按下off就好，沒有其他的功能，多美妙!&lt;br /&gt;
&lt;br /&gt;
利用Arduino UNO的板子測了工場的冷氣遙控器，發現大同的冷氣IR code 要重覆2次，間隔約8.4mS，松林夏2次，間隔約13.6mS。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
測試時發現錄下的松林夏遙控器無法控制，仔細看了遙控器的解碼波形，才發現松林夏的ircode長度為110。因此，在IRRemote.h中的MAXBUF要改為128，下次要再記錄長一點的時候方便些。&lt;br /&gt;
&lt;br /&gt;
電路製作中..... 敬請期待。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/4635803483092644588/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2014/07/arduino.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4635803483092644588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/4635803483092644588'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2014/07/arduino.html' title='arduino 冷氣遙控器製作'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-3326701717685192684</id><published>2011-01-30T23:08:00.002+08:00</published><updated>2011-01-30T23:08:59.633+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="msp430"/><title type='text'>MSP430 入門文章</title><content type='html'>http://www.idealbum.com/archives/2374.html</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/3326701717685192684/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2011/01/msp430.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3326701717685192684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3326701717685192684'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2011/01/msp430.html' title='MSP430 入門文章'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-5113830348020309279</id><published>2011-01-17T20:17:00.001+08:00</published><updated>2011-01-17T20:17:25.835+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="snmp"/><category scheme="http://www.blogger.com/atom/ns#" term="VmWare"/><title type='text'>多部 ESX snmp 設定(利用 raritan console)</title><content type='html'>&lt;p&gt;&lt;br/&gt;&lt;br /&gt;cp -f /vmfs/volumes/XXX/snmpd.conf /etc/snmp&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;y&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;cp -f /vmfs/volumes/XXX/snmp.xml /etc/vmware&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;y&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;service mgmt-vmware restart &amp;amp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;service snmpd restart &amp;amp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;chkconfig snmpd on&lt;br /&gt;&lt;br/&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/5113830348020309279/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2011/01/esx-snmp-raritan-console.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5113830348020309279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/5113830348020309279'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2011/01/esx-snmp-raritan-console.html' title='多部 ESX snmp 設定(利用 raritan console)'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-8420041382242770324</id><published>2011-01-13T22:01:00.001+08:00</published><updated>2011-01-13T22:04:42.782+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="config"/><category scheme="http://www.blogger.com/atom/ns#" term="snmp"/><category scheme="http://www.blogger.com/atom/ns#" term="VmWare"/><title type='text'>Vmware snmp configure</title><content type='html'>&lt;p&gt;/etc/snmp/snmpd.conf&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;-----------------------------------------------------&lt;/p&gt;&lt;br /&gt;&lt;p&gt;# Sample snmpd.conf containing VMware MIB module entries.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;# This is a simple snmpd.conf that may help you test SNMP.&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;# It is not recommended for production use. Consult the&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;# snmpd.conf(5) man pages to set up a secure installation.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;syscontact &lt;a href=&quot;mailto:root@localhost&quot;&gt;root@localhost&lt;/a&gt; (edit snmpd.conf)&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;syslocation room1 (edit snmpd.conf)&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;rocommunity public&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;trapcommunity public&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;trapsink localhost&lt;/p&gt;&lt;br /&gt;&lt;p&gt;# VMware MIB modules. To enable/disable VMware MIB items&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;# add/remove the following entries.&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;#dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so&lt;/p&gt;&lt;br /&gt;&lt;p&gt;proxy -v1 -c public udp:127.0.0.1:171 .1.3.6.1.4.1.6876&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;proxy -v2c -c public udp:127.0.0.1:171 .1.3.6.1.4.1.6876&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br/&gt;&lt;br /&gt;#extend df /bin/df -k&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;-----------------------------------------------------------&lt;/p&gt;&lt;br /&gt;&lt;p&gt;/etc/vmware/snmp.xml&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;-----------------------------------------------------------&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;lt;config&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;snmpSettings&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;communities&amp;gt;public&amp;lt;/communities&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;enable&amp;gt;true&amp;lt;/enable&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;port&amp;gt;171&amp;lt;/port&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;targets&amp;gt;IP &lt;a href=&quot;mailto:address@162&quot;&gt;address@162&lt;/a&gt; private&amp;lt;/targets&amp;gt; (或&lt;a href=&quot;mailto:IP@162/public&quot;&gt;IP@162/public&lt;/a&gt;)&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;/snmpSettings&amp;gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&amp;lt;/config&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;-------------------------------------------------------&lt;/p&gt;&lt;br /&gt;&lt;p&gt;service mgmt-vmware restart&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;service snmpd restart&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/8420041382242770324/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2011/01/vmware-snmp-configure.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/8420041382242770324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/8420041382242770324'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2011/01/vmware-snmp-configure.html' title='Vmware snmp configure'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-34838990.post-3082366197714106872</id><published>2010-05-27T17:05:00.005+08:00</published><updated>2014-07-12T18:41:04.978+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DIY"/><title type='text'>SR325耳罩DIY</title><content type='html'>原本 SR325 的耳罩是海棉的，每隔多年就會自動化為粉末，不管是否有用。且原廠的耳罩對我而言也小了些也不便宜。&lt;br /&gt;
&lt;br /&gt;
在第二個耳罩開始粉末化時，想用手邊的材料來diy一個耳罩。&lt;br /&gt;
材料為電腦裝箱的避震泡棉材料。&lt;br /&gt;
&lt;br /&gt;
DIY 第2號&lt;br /&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0XpttS1UMrWIl5Eu71mF6hW1C96j1mYFaz6v4cu81EV4qStYx4PBZ0R6TcBEOxHbd1bpUuFpvRvfk8_SjNDS1u_69OnD8V4tqbzobMwuXUluXfAfI3gfuu316l9op0hRNIYLn/s800/2010May27_887.jpg&quot; height=&quot;298&quot; width=&quot;400&quot; /&gt;&lt;br /&gt;
合體後&lt;br /&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwL9bZ-vaP1-Dd115Ck9vxC9iNW6jNmIWfrl-Q5gTEjkusKetlcMtorsRRyWlCVy4HSO1zLbMleaT09zWrreC3Du5e7Ayxzk0r4tfOCicQJtzzmKbLC0Vi2q8BfAsqUGcwxNE/s800/2010May27_463.jpg&quot; height=&quot;297&quot; width=&quot;400&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sywung.blogspot.com/feeds/3082366197714106872/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://sywung.blogspot.com/2010/05/sr325diy.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3082366197714106872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/34838990/posts/default/3082366197714106872'/><link rel='alternate' type='text/html' href='http://sywung.blogspot.com/2010/05/sr325diy.html' title='SR325耳罩DIY'/><author><name>翁崧騵</name><uri>http://www.blogger.com/profile/03737378105594812094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0XpttS1UMrWIl5Eu71mF6hW1C96j1mYFaz6v4cu81EV4qStYx4PBZ0R6TcBEOxHbd1bpUuFpvRvfk8_SjNDS1u_69OnD8V4tqbzobMwuXUluXfAfI3gfuu316l9op0hRNIYLn/s72-c/2010May27_887.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>