<?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-5741591232295546050</id><updated>2026-08-14T20:01:36.196+08:00</updated><category term="微波通訊技術"/><category term="Excel"/><category term="電子電路"/><category term="讀書心得"/><category term="儀器"/><category term="PSOC6"/><category term="Arduino"/><category term="OrCAD"/><category term="免費軟體推薦"/><category term="相機"/><category term="英語學習"/><category term="802.11a to 802.11ac"/><category term="MSP430"/><category term="維修&amp;拆解"/><category term="電腦疑難雜症"/><category term="ATtiny85"/><category term="KiCad"/><category term="嘉言錄"/><category term="LM Studio"/><title type='text'>Yufan-fansbook</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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>217</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-443326176559281170</id><published>2026-06-06T21:30:00.001+08:00</published><updated>2026-06-06T21:30:00.119+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC 6]-CY8CKIT-062-BLE_006_在終端機輸入指令</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/443326176559281170/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/06/psoc-6-cy8ckit-062-ble006.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/443326176559281170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/443326176559281170'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/06/psoc-6-cy8ckit-062-ble006.html' title=' [PSoC 6]-CY8CKIT-062-BLE_006_在終端機輸入指令'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-659385752814102238</id><published>2026-05-30T21:29:00.001+08:00</published><updated>2026-05-30T21:29:00.128+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC 6]-CY8CKIT-062-BLE_005_按鈕偵測</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/659385752814102238/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble005_01569696206.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/659385752814102238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/659385752814102238'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble005_01569696206.html' title=' [PSoC 6]-CY8CKIT-062-BLE_005_按鈕偵測'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-964578621370094904</id><published>2026-05-23T21:27:00.001+08:00</published><updated>2026-05-23T21:27:00.129+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC 6]-CY8CKIT-062-BLE_004_LED閃爍</title><content type='html'>&lt;p&gt;&amp;nbsp;&amp;nbsp;[PSoC 6]-CY8CKIT-062-BLE_004_LED閃爍&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/964578621370094904/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble004led.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/964578621370094904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/964578621370094904'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble004led.html' title=' [PSoC 6]-CY8CKIT-062-BLE_004_LED閃爍'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-736922771769579862</id><published>2026-05-16T21:26:00.001+08:00</published><updated>2026-05-16T21:26:00.124+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC 6]-CY8CKIT-062-BLE_003_第一個程式Hello World</title><content type='html'>&lt;p&gt;&amp;nbsp;&amp;nbsp;[PSoC 6]-CY8CKIT-062-BLE_003_第一個程式Hello World&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/736922771769579862/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble003hello-world.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/736922771769579862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/736922771769579862'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble003hello-world.html' title=' [PSoC 6]-CY8CKIT-062-BLE_003_第一個程式Hello World'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-6481840764837247654</id><published>2026-05-16T11:21:30.726+08:00</published><updated>2026-05-16T11:21:30.727+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電腦疑難雜症"/><title type='text'>[電腦疑難雜症]-Lenovo T-Series風扇一直轉</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&amp;nbsp;[電腦疑難雜症]-Lenovo ThinkPad T-Series風扇一直轉&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;手上有兩台Lenovo ThinkPad 筆記型電腦，一台是T14 Gen 2，另一台是T16 Gen2 AMD，這兩台一直作為日常及工作用途使用，使用上沒出過什麼問題，算是滿信任的機器。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;但最近發現他的風扇一直轉不停，一直處於高速運轉的狀態，即使沒有做任何事情，也是一樣。我觀察CPU使用狀態，發現也沒有其他高負載的程式在運行，此時我以為韌體沒更新，於是個軟體韌體都重新確認並更新了，狀況還是沒有改變，心想會不會是風扇或是散熱膏硬化，導致散熱不良，所以風扇才會瘋狂運轉。因為風扇的噪音，在工作時很容易受影響，也擔心系統的穩定性，甚至我已經準備要去買新的散熱膏和新的散熱模組。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 有天發現，&lt;span style=&quot;background-color: #fcff01;&quot;&gt;只要將系統設定中，將電源模式由“最佳效能”改成“平衡”或是“最佳電源效率”，風扇的聲音明顯就會降下來。&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;在這筆記型電腦在插電的情況下，默認會是在最佳效能，所以即是系統沒有在運行高負載的程式，裡面的風扇也會高速運轉。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; font-size: medium;&quot;&gt;&lt;span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; 雖然問題解決了，但想想這問題其實也滿奇怪的，風扇轉速似乎應該由CPU的負載和實際溫度來決定，而不是單純地用電源模式來決定，希望新的韌體有機會改善此一問題。&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/6481840764837247654/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/lenovo-t-series.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6481840764837247654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6481840764837247654'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/lenovo-t-series.html' title='[電腦疑難雜症]-Lenovo T-Series風扇一直轉'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-3273055230463828742</id><published>2026-05-09T20:57:00.018+08:00</published><updated>2026-05-09T20:57:00.117+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'>[PSoC 6]-CY8CKIT-062-BLE_002_開發環境安裝及設定</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[PSoC 6]-CY8CKIT-062-BLE_002_開發環境安裝及設定&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Iinfineon有提供PSoC6的整合開發環境，ModusToolBox，我個人在安裝及使用時，遇到了一些問題，在此提供一個正確，自己親自測試過可以地安裝及設定方式讓各位參考。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 安裝主程式&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 升級CY8CKIT-062-BLE主板上的燒錄器&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/3273055230463828742/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble002.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3273055230463828742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3273055230463828742'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062-ble002.html' title='[PSoC 6]-CY8CKIT-062-BLE_002_開發環境安裝及設定'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-7893382529623377680</id><published>2026-05-06T22:03:00.009+08:00</published><updated>2026-05-07T21:49:14.414+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC 6]-CY8CKIT-062-BLE_001_初探</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;[PSoC 6]-CY8CKIT-062-BLE_001_初探&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;以往的開發經驗，多是使用Arduino UNO及Arduino Mega2560做為開發及實驗，雖然方便使用，但是對於大型專案及商品化的產品開發，就顯得功能不足了，所以試著使用真正的嵌入式系統作為往後的開發方向。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;市面上真的很多嵌入式的系統可以使用，國際大廠有STMicrotronics、TI、Infineon等廠商，國內的廠牌如新唐等，都有許多不錯的產品可以選擇，而且拜現在網路及AI工具的普及，學習這些知識也不再需要多年的經驗累積，只要有心，都能夠得到不錯的成效。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Infineon CY8CKIT-062-BLE應該是我看過最有性價比的一塊開發板了，有別於一般的開發板，大多是用簡陋的紙盒或是靜電袋包裝，這塊開發板是用一個有磁吸的紙盒，真的非常精緻。盒子內除了開發板主板，板子上面還有一片電子墨水的顯示器，還附贈一塊BLE Dongle、數據線和一些簡易的跳線，更誇張的是售價，只要台幣700~800元之間，真的是太超值了。&lt;/span&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/b/R29vZ2xl/AVvXsEg5VY14FIBb58UA7wXD9k_1nDGyGIvFj2pRhhCIeChARi_jGXJ1LET7M_SHyZ8LkCd0Q37YzOVmRYYg_afbFrUenmLkJG1X7CXklWFhIVtbQzEabEKK51HJ9uu1u1UAE5ksIPXnWMGU7nfsOLGZ3EiZmphXXk_JACT7T8hUOOscrwcHNBXOBKWTg49uw8-l/s1456/%E5%A5%97%E4%BB%B6%E5%85%A7%E5%AE%B9%E7%89%A9.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1148&quot; data-original-width=&quot;1456&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5VY14FIBb58UA7wXD9k_1nDGyGIvFj2pRhhCIeChARi_jGXJ1LET7M_SHyZ8LkCd0Q37YzOVmRYYg_afbFrUenmLkJG1X7CXklWFhIVtbQzEabEKK51HJ9uu1u1UAE5ksIPXnWMGU7nfsOLGZ3EiZmphXXk_JACT7T8hUOOscrwcHNBXOBKWTg49uw8-l/w400-h315/%E5%A5%97%E4%BB%B6%E5%85%A7%E5%AE%B9%E7%89%A9.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;主要的開發板上面的功能及元件也是非常的豐富，做為學習及開發真的是非常足夠。&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; Infineon也有專屬於PSoC6的開發環境。下一章節，就來好好介紹如何進入PSoC6的開發環節中。&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 預計學習目標及課程&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;1.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;001_初探&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;002_開發環經安裝及設定&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;003_第一個程式Hello World&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;004_LED閃爍&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;005_按鈕偵測(Polling)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;6.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 006_按鈕偵測(Interrupt)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;7.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;007_終端機輸入指令控制LED&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;8.&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;008_PWM LED呼吸燈&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;9.&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;009_Timer每秒觸發事件&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;10.&lt;span&gt;&amp;nbsp; &amp;nbsp; 010_板上E-Ink顯示&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;11.&lt;span&gt;&amp;nbsp; &amp;nbsp; 011_板上電容式觸摸板&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;12.&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;012_I2C Scanner&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;13.&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;013_I2C OLED顯示器&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;14.&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;014_SPI TFT LCD&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;15.&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;015_按鈕 + UART + LCD整合選單&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;16.&lt;span&gt;&amp;nbsp; &amp;nbsp; 016_藍芽控制&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/7893382529623377680/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062s-ble001.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7893382529623377680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7893382529623377680'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/05/psoc-6-cy8ckit-062s-ble001.html' title=' [PSoC 6]-CY8CKIT-062-BLE_001_初探'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEg5VY14FIBb58UA7wXD9k_1nDGyGIvFj2pRhhCIeChARi_jGXJ1LET7M_SHyZ8LkCd0Q37YzOVmRYYg_afbFrUenmLkJG1X7CXklWFhIVtbQzEabEKK51HJ9uu1u1UAE5ksIPXnWMGU7nfsOLGZ3EiZmphXXk_JACT7T8hUOOscrwcHNBXOBKWTg49uw8-l/s72-w400-h315-c/%E5%A5%97%E4%BB%B6%E5%85%A7%E5%AE%B9%E7%89%A9.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-5175224895884970265</id><published>2026-04-22T20:53:00.085+08:00</published><updated>2026-04-22T20:53:00.127+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LM Studio"/><title type='text'>[LM Studio] 部屬本地AI工具，可離線使用AI工具</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[LM Studio] 部屬本地AI工具，可離線使用AI工具&lt;/span&gt;&lt;/p&gt;&lt;p&gt;相信自從OPEN AI推出ChatGPT以來，各式各樣的AI工具已經深入我們大部分的生活中，從以前什麼事情都要查Google，到現在都直接上ChatGPT，又再一次徹底改變查詢的過程，不用自己一個一個網頁點開，ChatGPT就直接整一成一份完整又文情並茂的資訊，真的是超方便，這一切雖然方便，但使用者發現，要問AI問題，往往要將自己的資料上傳到AI的對話框及網際網路上，有時要問一些涉及機密問題，如公司財務或是設計開發資料，就會讓人思考這是否會造成洩密或是其他法律等問題，所以現在有許多公司紛紛建立起自己的私人AI伺服器，公司自己訓練自家的AI模型，讓這些機密的問題及資料只在自家的AI伺服器中流傳及訓練，大大漸少了資料外洩的可能性。&lt;/p&gt;&lt;p&gt;個人使用者也許沒有什麼機密資料，但是目前AI工具大多依賴網路，只要網路斷線，或是AI伺服器的使用人多，AI就算在強大，也變成無用武之地，所以有也不少AI工具，可以安裝在自家電腦，就可以同時擺脫網路斷線或是資料外洩的風險。&lt;/p&gt;&lt;p&gt;現在推薦一款LM Studio，這就是一款可以讓使用者可以安裝在自己的電腦上面，不需要網路，就運行AI工具的軟體，他簡單好用，使用者不用具備高深的工程背景，就像安裝一般的程式一樣簡單，就可以建立屬於自己的AI工具。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/5175224895884970265/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/lm-studio-aiai.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5175224895884970265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5175224895884970265'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/lm-studio-aiai.html' title='[LM Studio] 部屬本地AI工具，可離線使用AI工具'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-7555261313763038883</id><published>2026-04-18T13:15:00.039+08:00</published><updated>2026-05-06T21:54:46.597+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC6-Arduino IDE]-003_PSoC6, Arduino Library安裝及第一個專案</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;[PSoC6-Arduino IDE]-003_PSoC6, Arduino Library安裝&lt;/span&gt;&lt;/p&gt;&lt;p&gt;上一篇已經完成Arduino IDE的環境設置，接下來也是像Arduino的開發流程一樣，先從安裝Library、參考並修改範例程式，這可以讓不熟悉的開發者，可以快速切入開發板的開發。&lt;/p&gt;&lt;p&gt;我們先使用開發板上面的60G雷達功能，雷達晶片型號是BGT60TR13C&lt;/p&gt;&lt;p&gt;這裡先直接安裝Infineon提供的library，在Arduino IDE左側的Library的對話框中，搜尋關鍵字，搜尋關鍵字BGT，則可以直接安裝XENSIV BGT60TR13C Radar Sensor的Library，&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/b/R29vZ2xl/AVvXsEjQ1tnhcSLsl0Qfd3JmE7FLYlwEHFCWcKOJiamLxQlAiC9JHtto-5Im4_rUNQwu036LuRLgwWOfDkZZuYKh3L3cSg9HNIV7Pl0Gu6mabLf6XixabiP6F9BHcuUjgqYWbpJVBVoFIS9qx2NIEi1mtDlq7aPYJpCawp9REAZTCZZdBAMtabH-WSmgxMykkdlC/s533/001.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;533&quot; data-original-width=&quot;395&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ1tnhcSLsl0Qfd3JmE7FLYlwEHFCWcKOJiamLxQlAiC9JHtto-5Im4_rUNQwu036LuRLgwWOfDkZZuYKh3L3cSg9HNIV7Pl0Gu6mabLf6XixabiP6F9BHcuUjgqYWbpJVBVoFIS9qx2NIEi1mtDlq7aPYJpCawp9REAZTCZZdBAMtabH-WSmgxMykkdlC/w237-h320/001.png&quot; width=&quot;237&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;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/AVvXsEiOh7e9BnmwKAIMlt9h9-YHLk-EMvWvcYO20nwXSoceVlzOwx6_B8pjwhykJ6GDCra4pwjz31PiUdB7lmjnVcNVzTXu4ryaI_aId0ISQyMTSen-MsXpqvNU9qBj2zmiSOdQHntAm8DQkEajafs8xUMu7rYnYjkyIeiXL8M3YNI0TFhESNI0q88kqf-KhLpk/s705/002.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;283&quot; data-original-width=&quot;705&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOh7e9BnmwKAIMlt9h9-YHLk-EMvWvcYO20nwXSoceVlzOwx6_B8pjwhykJ6GDCra4pwjz31PiUdB7lmjnVcNVzTXu4ryaI_aId0ISQyMTSen-MsXpqvNU9qBj2zmiSOdQHntAm8DQkEajafs8xUMu7rYnYjkyIeiXL8M3YNI0TFhESNI0q88kqf-KhLpk/w400-h160/002.png&quot; width=&quot;400&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;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;安裝&lt;span style=&quot;font-family: arial;&quot;&gt;完成後，我們先執行XENSIV BGT60TR13C Radar Sensor中的Distance_measure，距離量測功能。&lt;/span&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/AVvXsEh_b420eS-RwsOz4lJGg10OB_mvqHVE4IgRNPfPmcjg6o7gsO8ZXm_fg02KHy5G7jfs7v2Y5MFPkJ5IW5tMO5ZWsYWkBGDw8TDWNiwgXEbE6_uxZvzg9XPknvSCUUaOItsk8sUObn-8JsdunIvJs_SU-yXcoyMjcCOWGl1EV1948ySBAWtaat2uNVLNy4T8/s1021/003.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1021&quot; data-original-width=&quot;844&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_b420eS-RwsOz4lJGg10OB_mvqHVE4IgRNPfPmcjg6o7gsO8ZXm_fg02KHy5G7jfs7v2Y5MFPkJ5IW5tMO5ZWsYWkBGDw8TDWNiwgXEbE6_uxZvzg9XPknvSCUUaOItsk8sUObn-8JsdunIvJs_SU-yXcoyMjcCOWGl1EV1948ySBAWtaat2uNVLNy4T8/w530-h640/003.png&quot; width=&quot;530&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&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;span style=&quot;font-family: arial;&quot;&gt;發板就是預設的CY8CKIT-062S2-AI，所以腳位定義及內容是不需要再額外修改，應該就能運行了。按上方的箭頭，將程式燒錄到&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;CY8CKIT-062S2-AI開發板中。&lt;/span&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/AVvXsEhQmty-OAhO1iULTZ7ueAQJpAIIgYU-DTUQk89wCJY4MVg2RpSBAjbrnGK1RZ8kpCM-xE9w3cffYOdVK5XSxyHVPFhzWJgZMjxIY37yCpImudo5xpPelU250WtN_khs43wz81OBXrVE4zttdXJANEcQp6467LR03IhAZmMBnXBfEOvnNL6N0trRlBf6ll8W/s951/004.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;951&quot; data-original-width=&quot;911&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQmty-OAhO1iULTZ7ueAQJpAIIgYU-DTUQk89wCJY4MVg2RpSBAjbrnGK1RZ8kpCM-xE9w3cffYOdVK5XSxyHVPFhzWJgZMjxIY37yCpImudo5xpPelU250WtN_khs43wz81OBXrVE4zttdXJANEcQp6467LR03IhAZmMBnXBfEOvnNL6N0trRlBf6ll8W/w614-h640/004.png&quot; width=&quot;614&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;程式燒錄完成後，可以開啟序列埠監視器，記得要將Baud Rate改成115200，如此就可以看到目前偵測到的物體距離了，如果沒有反應，可以按一下板子上的reset按紐 (SW1)或是重新插拔一次板子即可。&lt;/span&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/AVvXsEhUf6Wj7DG7n80OpGLn1_goPdQE8M_J5tpw_ABer7QZxX0PkKsm88FWBR5t69ZRKvYhDQB9Zs19Bw8ydhbW2wO9EoiquDRH0TapO-1DObnqppyuIlcF1ToSSHXJ8rqgY3_6POTQllqN-QP3UYGTuerIV3j3SEjK6tbiklfNrL2_LllwSEdTsg2tpH4OLMgN/s916/005.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;804&quot; data-original-width=&quot;916&quot; height=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUf6Wj7DG7n80OpGLn1_goPdQE8M_J5tpw_ABer7QZxX0PkKsm88FWBR5t69ZRKvYhDQB9Zs19Bw8ydhbW2wO9EoiquDRH0TapO-1DObnqppyuIlcF1ToSSHXJ8rqgY3_6POTQllqN-QP3UYGTuerIV3j3SEjK6tbiklfNrL2_LllwSEdTsg2tpH4OLMgN/w640-h562/005.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&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://yufan-fansbook.blogspot.com/feeds/7555261313763038883/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-003psoc6-arduino-library.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7555261313763038883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7555261313763038883'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-003psoc6-arduino-library.html' title=' [PSoC6-Arduino IDE]-003_PSoC6, Arduino Library安裝及第一個專案'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEjQ1tnhcSLsl0Qfd3JmE7FLYlwEHFCWcKOJiamLxQlAiC9JHtto-5Im4_rUNQwu036LuRLgwWOfDkZZuYKh3L3cSg9HNIV7Pl0Gu6mabLf6XixabiP6F9BHcuUjgqYWbpJVBVoFIS9qx2NIEi1mtDlq7aPYJpCawp9REAZTCZZdBAMtabH-WSmgxMykkdlC/s72-w237-h320-c/001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-3878308740070675415</id><published>2026-04-11T12:50:00.008+08:00</published><updated>2026-05-06T21:55:22.647+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'> [PSoC6-Arduino IDE]-002_PSoC6開發版選擇及Arduino IDE開發環境</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: large;&quot;&gt;[PSoC6-Arduino IDE]-002_PSoC6開發版選擇及入門&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;開發&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;PSoC6專案，通常會使用Infineon自家推出的整合開發環境(IDE)工具-ModusToolBox，但我實際使用起來發現這對於大多數使用Arduino習慣的人來說，真的很不習慣，所以我想先多做一個入門課，也就是先不用Infineon的&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;ModusToolBox，而是先使用Arduino IDE來開發PSoC6，以減低入門門檻。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;以下資料多是從Infineon的官網中獲得，只是我由自己的親身使用經驗，再整理一次資料，方便大家學習。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;這次選擇的開發版是目前比較新的CY8CKIT-062S2-AI，他不只尺寸小巧，同時結合了&lt;b&gt;60G雷達、麥克風、壓力感測器及6軸感測器&lt;/b&gt;，可以很快地和目前最流行的AI和ML結合，快速地完成傳案應用及開發。以下只是簡易圖片，正多詳細資料可以在上Infineon官網查詢。&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD0_X4XkdCTRfOT-4G_t5Sf3yt4I-FhOSe8OXEdssezTun9hh1fzRDf4uXDBlmPAcooLJOmiMUemaj0DLQiDywiVCZYYGLypKnM__dh8pnvVmATpSJty60fxA1_SgTiQn2KD57RROMABdi_3_9TE84jNC4eUiqeI17pa5cq-KMY1KjLFvU-t0xSjDjVmrC/s2014/cy8ckit-062s2-a1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;666&quot; data-original-width=&quot;2014&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD0_X4XkdCTRfOT-4G_t5Sf3yt4I-FhOSe8OXEdssezTun9hh1fzRDf4uXDBlmPAcooLJOmiMUemaj0DLQiDywiVCZYYGLypKnM__dh8pnvVmATpSJty60fxA1_SgTiQn2KD57RROMABdi_3_9TE84jNC4eUiqeI17pa5cq-KMY1KjLFvU-t0xSjDjVmrC/w640-h213/cy8ckit-062s2-a1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEhodxAQ17RcKkHEpTUXtrPmPoB0plmrNAppE__9khAqgpuXToBkt4jr2ksrFU9D4qhtuaVQClR9tPY8KN6a9z3yisI70UvyngNPhFf9Sz5-4XovuavkI59BDwAU5tehL0HdG4AjnKQ73ySQBKPDmiyCHY-bPMb859Uho9IC0iyeAkwMm3nwYKATan7tMgqJ/s2362/cy8ckit-062s2-a1_03.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;534&quot; data-original-width=&quot;2362&quot; height=&quot;144&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodxAQ17RcKkHEpTUXtrPmPoB0plmrNAppE__9khAqgpuXToBkt4jr2ksrFU9D4qhtuaVQClR9tPY8KN6a9z3yisI70UvyngNPhFf9Sz5-4XovuavkI59BDwAU5tehL0HdG4AjnKQ73ySQBKPDmiyCHY-bPMb859Uho9IC0iyeAkwMm3nwYKATan7tMgqJ/w640-h144/cy8ckit-062s2-a1_03.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;接著馬上進入正題，將PSoC6的整合軟體安裝在Arduino IDE上面，先預設大家都有使用過Arduino IDE，這裡安裝目前最新的Arduino IDE 2.3.8版本。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;第一步：指定開發板管理員網址。步驟如下：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;檔案 &amp;gt; 喜好設定。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vEpV3P-Ha_JG22sbdD4uxiKcBt8LXzxbxDojiZjdoXMb2L7MNNuhic1txoSM759h3rO9aWFBthulMsCvqksHn-eTVxIlZInV9pl4BsLflAcp6l0_xGtCgGXvFZwWoB9sd_pT2MOlBFKeUFWjuOuCjFqa6dTLf0zufohUylcaWwoKZTwWVlg7axR-wItl/s1086/ide_01.png&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;716&quot; data-original-width=&quot;1086&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vEpV3P-Ha_JG22sbdD4uxiKcBt8LXzxbxDojiZjdoXMb2L7MNNuhic1txoSM759h3rO9aWFBthulMsCvqksHn-eTVxIlZInV9pl4BsLflAcp6l0_xGtCgGXvFZwWoB9sd_pT2MOlBFKeUFWjuOuCjFqa6dTLf0zufohUylcaWwoKZTwWVlg7axR-wItl/w640-h422/ide_01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;進入後點選設定的頁籤，選擇其他開發版管理員網址的按鈕。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&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/AVvXsEjWds47E3YOzmdqlVTWNKBF4bOcfomjGxFa2R7URJ7zdLGk4jMQsgdph23EXngnWrUUZHeV3uut4Dz51-McbaTQGkZHZcdeHoEwRsBNlx77s38_UPnw1qqTYEBP3UBYiLAVSAEbcxVL-DDMGcXYt54cbGg5h35hMnnUteCu8HO2iMv-iTonw2XhtqSPN7TY/s1086/ide_02.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;716&quot; data-original-width=&quot;1086&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWds47E3YOzmdqlVTWNKBF4bOcfomjGxFa2R7URJ7zdLGk4jMQsgdph23EXngnWrUUZHeV3uut4Dz51-McbaTQGkZHZcdeHoEwRsBNlx77s38_UPnw1qqTYEBP3UBYiLAVSAEbcxVL-DDMGcXYt54cbGg5h35hMnnUteCu8HO2iMv-iTonw2XhtqSPN7TY/w640-h422/ide_02.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;p&gt;&lt;/p&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: left;&quot;&gt;進入管理員網址後，貼上&lt;span style=&quot;background-color: #fcff01;&quot;&gt;https://github.com/Infineon/arduino-core-&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;psoc6/releases/latest/download/package_psoc6_index.json&lt;/span&gt;&lt;div&gt;並按下確定。&lt;/div&gt;&lt;/div&gt;&lt;div&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/AVvXsEhdYTjM8xWm_oTABXQzwYmiIB15wzOvMe__t9xFeq956nG6kaHyWS4WQo6NSELpSp10LadEFv4Y1Vvl-LEyQtD-vj_Zsb1H4VZkgOMiJryluRLKCqgCr7BJqa3JPNyNfOW76mRwsZrxMp3oBaHXX7-JUjXDBQhSlKrwgFCYhYEcRaa-piqDNbSKPOUIZ6_k/s857/ide_03.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;398&quot; data-original-width=&quot;857&quot; height=&quot;298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdYTjM8xWm_oTABXQzwYmiIB15wzOvMe__t9xFeq956nG6kaHyWS4WQo6NSELpSp10LadEFv4Y1Vvl-LEyQtD-vj_Zsb1H4VZkgOMiJryluRLKCqgCr7BJqa3JPNyNfOW76mRwsZrxMp3oBaHXX7-JUjXDBQhSlKrwgFCYhYEcRaa-piqDNbSKPOUIZ6_k/w640-h298/ide_03.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&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: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhROQXCSQuERWEtGwhmrkLuQsmJcYqk6-QwHjqXvgrAXrlGhp_hUejxdVuMUh0yKEgl72V_FvLxOqdHCvlpVjH1YFU1ZS-8Jo2BdL4fw2y0wG_gB3NgOqohtrE1sxq-9ZZr3edXBQPdgRMNgTEqjQ51dt9NIkv_g9NsN7Evf-XRySqePAcq7hsWnqV72jrq/s1083/ide_04.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;662&quot; data-original-width=&quot;1083&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhROQXCSQuERWEtGwhmrkLuQsmJcYqk6-QwHjqXvgrAXrlGhp_hUejxdVuMUh0yKEgl72V_FvLxOqdHCvlpVjH1YFU1ZS-8Jo2BdL4fw2y0wG_gB3NgOqohtrE1sxq-9ZZr3edXBQPdgRMNgTEqjQ51dt9NIkv_g9NsN7Evf-XRySqePAcq7hsWnqV72jrq/w640-h392/ide_04.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;第二步：安裝開發板管理員。步驟如下：選擇左側的開發版圖示，在搜尋對話框中，搜尋PSOC6，並點選安裝即可。&lt;/span&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/b/R29vZ2xl/AVvXsEjxWeiqMNZL_Rq2Q2py2klJ4qe9bc2fvlJCMXgjYZdYEx80UZS0FO9VquXlU_Bzpi6BQ393u1PkeUyrg0OXIujfttS68ESulmhMgnI6Z4pL9wx6XHdXzWW95psBd5TurFNsTUT0Wt72NtR5LRVURhmzdv5V9n1v1gdGX3SNjJeL1T8bQFgmWmSDUMumEqaK/s857/ide_06.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&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/AVvXsEjxWeiqMNZL_Rq2Q2py2klJ4qe9bc2fvlJCMXgjYZdYEx80UZS0FO9VquXlU_Bzpi6BQ393u1PkeUyrg0OXIujfttS68ESulmhMgnI6Z4pL9wx6XHdXzWW95psBd5TurFNsTUT0Wt72NtR5LRVURhmzdv5V9n1v1gdGX3SNjJeL1T8bQFgmWmSDUMumEqaK/s857/ide_06.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKGPG_3kePIhE3VuxVX29dCPbqE2N2FrcMiFSfH0jlXEm8Xnh-YRZKqP1lwYWFKBHjXK8VnymgX7fm6M2MPA693SFnRaNB3rEjhbYuEXMN8-OKDMQtKYURBG24MGXw6bzpIIlN0nR_kFqpSVNaVfnwbyv4xHYWcoynrL6G-oqbEeCGhhOBu07vOaYJj93U/s857/ide_05.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;525&quot; data-original-width=&quot;857&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKGPG_3kePIhE3VuxVX29dCPbqE2N2FrcMiFSfH0jlXEm8Xnh-YRZKqP1lwYWFKBHjXK8VnymgX7fm6M2MPA693SFnRaNB3rEjhbYuEXMN8-OKDMQtKYURBG24MGXw6bzpIIlN0nR_kFqpSVNaVfnwbyv4xHYWcoynrL6G-oqbEeCGhhOBu07vOaYJj93U/w640-h392/ide_05.png&quot; width=&quot;640&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;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial;&quot;&gt;第三步：接上CY8CKIT-062S2-AI開發板下端的接口，並在Arduino IDE介面中選擇開發板。步驟如下：&lt;/span&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/AVvXsEgiwRxKIPYYkgZz4hJC3QQ3nBWhF-1eDFS8XtOIplRfU5XedSGrR0IenNS3dZOvCeEPBgGzFgKEdFLNovAA0qdpJPWgD19gEY_SnmndpCanEW754Sbv8wi8r_eTGM4ezikff2VC1bnB1LxDGm-GmeYX-zEAobQyIrX_x90A7sQMpzZ03rXzVSp6s4jKuFTe/s631/cy8ckit-062s2-a1_04.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;414&quot; data-original-width=&quot;631&quot; height=&quot;263&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiwRxKIPYYkgZz4hJC3QQ3nBWhF-1eDFS8XtOIplRfU5XedSGrR0IenNS3dZOvCeEPBgGzFgKEdFLNovAA0qdpJPWgD19gEY_SnmndpCanEW754Sbv8wi8r_eTGM4ezikff2VC1bnB1LxDGm-GmeYX-zEAobQyIrX_x90A7sQMpzZ03rXzVSp6s4jKuFTe/w400-h263/cy8ckit-062s2-a1_04.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&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 class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;在原本的開發板中，選擇其他開發板及連接埠的選項，&lt;/div&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;525&quot; data-original-width=&quot;857&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxWeiqMNZL_Rq2Q2py2klJ4qe9bc2fvlJCMXgjYZdYEx80UZS0FO9VquXlU_Bzpi6BQ393u1PkeUyrg0OXIujfttS68ESulmhMgnI6Z4pL9wx6XHdXzWW95psBd5TurFNsTUT0Wt72NtR5LRVURhmzdv5V9n1v1gdGX3SNjJeL1T8bQFgmWmSDUMumEqaK/w640-h392/ide_06.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;開發板選擇CY8CKIT-062S-AI，並選擇對應的連接埠，按下確定後，即可顯示正確的板子型號號，如果顯示無法找到開發板的提示訊息，可以重新開啟Arduino IDE，再重做一次以上步驟即可可解決。&lt;/span&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/AVvXsEiV4mKMJybkvsa1PwTg60gyoZdnyoVsS5HXHdal5-bvrgT2ebNOry-wz4RKBrY8aU1KePdh8xFKHvTZtJNs4ZXqmglyVsNPExiB3CVVgnXos03oa4Fwfm4s_hZ6vVezjs5cJmVV1H1tDMhRQUbztieaPuG9CS2XT1oAaLCXvcTdsqJNCpcLhmJ1l00f7JPU/s939/ide_07.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;673&quot; data-original-width=&quot;939&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV4mKMJybkvsa1PwTg60gyoZdnyoVsS5HXHdal5-bvrgT2ebNOry-wz4RKBrY8aU1KePdh8xFKHvTZtJNs4ZXqmglyVsNPExiB3CVVgnXos03oa4Fwfm4s_hZ6vVezjs5cJmVV1H1tDMhRQUbztieaPuG9CS2XT1oAaLCXvcTdsqJNCpcLhmJ1l00f7JPU/w640-h458/ide_07.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEiSh2QHN6bdROiYzJXQ1RT0_igCS18oOSlGmUcLjMznMz3j-H8W1s5KZLF40HMUpvEE7hvwRxJxTG2i86fO4qeRo3_tJCI5U1KGs9nDlvPG16llxel_OF8GbcbxEQC4XTo57QbH8_D62HBrXQ2XdnDwmMRuvUVMGalalyZKjuTiJW1sXEkQyKursHTxIK1k/s857/ide_08.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;525&quot; data-original-width=&quot;857&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSh2QHN6bdROiYzJXQ1RT0_igCS18oOSlGmUcLjMznMz3j-H8W1s5KZLF40HMUpvEE7hvwRxJxTG2i86fO4qeRo3_tJCI5U1KGs9nDlvPG16llxel_OF8GbcbxEQC4XTo57QbH8_D62HBrXQ2XdnDwmMRuvUVMGalalyZKjuTiJW1sXEkQyKursHTxIK1k/w640-h392/ide_08.png&quot; width=&quot;640&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;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/AVvXsEhRDt1gAdqTbloIMgSJMzJxJrgYTFgJ68BRG4ZThTZGhZUjnMCM0DmNMH5O4WSrVXI1XSwoFScPwcYOpf-ci0Jm_uMSU3KRpeN3V1WC4lzsMUKrhGefRxCoQkkKBjtsQnJ9A-6hTgVQPfqs21Km8MN-AAmdKO7YaSHFPrlEaKqYnYEtKwup8YD26Rp2r7c1/s1157/ide_09.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;687&quot; data-original-width=&quot;1157&quot; height=&quot;380&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRDt1gAdqTbloIMgSJMzJxJrgYTFgJ68BRG4ZThTZGhZUjnMCM0DmNMH5O4WSrVXI1XSwoFScPwcYOpf-ci0Jm_uMSU3KRpeN3V1WC4lzsMUKrhGefRxCoQkkKBjtsQnJ9A-6hTgVQPfqs21Km8MN-AAmdKO7YaSHFPrlEaKqYnYEtKwup8YD26Rp2r7c1/w640-h380/ide_09.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;br /&gt;選定完開發板之後，我們可以和使用Arduino的板子一樣，可以先從內建的範例中了解程式應用並修改成自己的程式，這樣開發的速度就會快了許多。&lt;br /&gt;&lt;/span&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/AVvXsEhaA9P3XvuR8V2l3boBjt33rswvGC9uAhgCWXXFAN_K26J298sWI7EVNfnxMrP0gvL7W8DCRIqnqm3oo88DFcWXerjxUM5UWq-oZmA9R5exwxnJXiRFkJMnnjIFmA_jPTzaWvpYegCpMqHBjd6ckCZKrxbTpf1mgdOCIE2CwQnRxLs9vRhSVBl0MGpe_X5f/s901/ide_10.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;901&quot; data-original-width=&quot;675&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaA9P3XvuR8V2l3boBjt33rswvGC9uAhgCWXXFAN_K26J298sWI7EVNfnxMrP0gvL7W8DCRIqnqm3oo88DFcWXerjxUM5UWq-oZmA9R5exwxnJXiRFkJMnnjIFmA_jPTzaWvpYegCpMqHBjd6ckCZKrxbTpf1mgdOCIE2CwQnRxLs9vRhSVBl0MGpe_X5f/w480-h640/ide_10.png&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;如此，Arduino IDE即可開發這片PSoC6的開發板了，Arduino IDE可以支援基本的語法，如GPIO、Stream、UART、SPI、I2C等功能，下一回則可以正式進入功能的開發了。&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;參考資料：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;https://arduino-core-psoc6.readthedocs.io/en/latest/installation-instructions.html&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/3878308740070675415/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-002psoc6arduino-ide.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3878308740070675415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3878308740070675415'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-002psoc6arduino-ide.html' title=' [PSoC6-Arduino IDE]-002_PSoC6開發版選擇及Arduino IDE開發環境'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEjD0_X4XkdCTRfOT-4G_t5Sf3yt4I-FhOSe8OXEdssezTun9hh1fzRDf4uXDBlmPAcooLJOmiMUemaj0DLQiDywiVCZYYGLypKnM__dh8pnvVmATpSJty60fxA1_SgTiQn2KD57RROMABdi_3_9TE84jNC4eUiqeI17pa5cq-KMY1KjLFvU-t0xSjDjVmrC/s72-w640-h213-c/cy8ckit-062s2-a1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-5881862830044106922</id><published>2026-04-10T23:13:00.005+08:00</published><updated>2026-05-06T21:55:55.225+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="PSOC6"/><title type='text'>[PSoC6-Arduino IDE]-001_PSoC6介紹</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: arial; font-size: large;&quot;&gt;&amp;nbsp;[PSoC6-Arduino IDE]-001_PSoC6介紹&lt;/span&gt;&lt;/p&gt;&lt;p data-end=&quot;416&quot; data-start=&quot;383&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;一般學習微處理器，是由早期的8051系列，進展到近十年來深受大眾喜愛的的Arduino系列，如果要做更高階的專案開發，則會選用STM系列的微處理器，除此還有便宜又好用的ESP32系列，級大廠TI的MSP430系列，總之種類真的是非常多樣。&lt;/span&gt;&lt;/p&gt;&lt;p data-end=&quot;416&quot; data-start=&quot;383&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;最近在研究雷達相關的研究，如微動偵測、手勢判斷及五體追蹤的應用，發現Infineon除了有雷達相關的產品，其搭配的微處理器多使用自家的PSOC6處理器，相比於STM、ESP32及Arduino系列MCU的教學資源真的少了許多，但做雷達專案開發時，比較方便是直接使用Infineon自家的API及Library，這樣可以節省許多開發時間，的有鑑於網路上關於PSOC6的相關的教學資料較少，所以藉由紀錄自己開發專案及使用PSOC的過程希望提供給有興趣的玩家更多的資訊。&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;PSOC 6 是一款由Infineon所開發的低功耗、雙核心、具安全機制的微控制器。&lt;br /&gt;其的特點大致是：&lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;雙核心架構：Cortex-M4 + Cortex-M0+ &lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;適合低功耗電池裝置 &lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;內建 Flash / SRAM &lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;有安全功能，例如 secure boot、key storage、firmware update &lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;類比與數位周邊很多 &lt;br /&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;很適合觸控、感測器、IoT、智慧家電等應用。&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;PSOC 6的型號也非常多種類&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/5881862830044106922/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-001psoc6.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5881862830044106922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5881862830044106922'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2026/04/psoc6-001psoc6.html' title='[PSoC6-Arduino IDE]-001_PSoC6介紹'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-8268342954444052597</id><published>2025-03-02T10:15:00.029+08:00</published><updated>2025-03-02T10:15:00.229+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATtiny85"/><title type='text'> [ATtiny85]-003_ATtiny85 單晶片的開發環境設定 (single ATtiny85 chip in Arduino IDE)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[ATtiny85]-003_ATtiny85 單晶片的開發環境設定 (single ATtiny85 chip in Arduino IDE)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;如果拿到以下的ATtiny85單晶片和可以拆卸拆卸晶片的開發板，就不能使用之前的方式，如果直接插電腦，電腦會認不到這個USB裝置，即使安裝了USB的驅動程式也依樣不能使用。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEh8zYOKkw5EzFV_DpWelUY3f01t5RrC1wpGnK1zEZ6M2-SnPhQLa-VOyrGt1do0lnDDAbDTREdftua1OM_M1udwpq_KwAD92Uv7pk_eNlg0Rpyw-QaNrBFO-X00U7ZKt2b_aXduvGcgUHWMlFAMP0C7qPZFfMlCSUeTgGfp3TlzTYZHYtw6KFLfhrQqxJld/s297/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-26%20102239.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;265&quot; data-original-width=&quot;297&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8zYOKkw5EzFV_DpWelUY3f01t5RrC1wpGnK1zEZ6M2-SnPhQLa-VOyrGt1do0lnDDAbDTREdftua1OM_M1udwpq_KwAD92Uv7pk_eNlg0Rpyw-QaNrBFO-X00U7ZKt2b_aXduvGcgUHWMlFAMP0C7qPZFfMlCSUeTgGfp3TlzTYZHYtw6KFLfhrQqxJld/w200-h179/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-26%20102239.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzZ-GX4bcAPE2qNkmXqTgSPNhLgHt7s4W3k7uqe0mxdQxaDUefJccbNuujee_1QJce9hqSL6q0HplVmKbLWp7VO6bc_2lUQfa0bGpEPi88QMrP9NPCWGMbc0lO6l0YAs2TVo2mjPh_2b1Mb-23VacjKjejt58oVszH6MNSHHvEU1-MA53X3dYqZ4vAIeHs/s458/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-26%20101833.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;349&quot; data-original-width=&quot;458&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzZ-GX4bcAPE2qNkmXqTgSPNhLgHt7s4W3k7uqe0mxdQxaDUefJccbNuujee_1QJce9hqSL6q0HplVmKbLWp7VO6bc_2lUQfa0bGpEPi88QMrP9NPCWGMbc0lO6l0YAs2TVo2mjPh_2b1Mb-23VacjKjejt58oVszH6MNSHHvEU1-MA53X3dYqZ4vAIeHs/w320-h244/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-26%20101833.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/8268342954444052597/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2025/03/attiny85-003attiny85-single-attiny85.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8268342954444052597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8268342954444052597'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2025/03/attiny85-003attiny85-single-attiny85.html' title=' [ATtiny85]-003_ATtiny85 單晶片的開發環境設定 (single ATtiny85 chip in Arduino IDE)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEh8zYOKkw5EzFV_DpWelUY3f01t5RrC1wpGnK1zEZ6M2-SnPhQLa-VOyrGt1do0lnDDAbDTREdftua1OM_M1udwpq_KwAD92Uv7pk_eNlg0Rpyw-QaNrBFO-X00U7ZKt2b_aXduvGcgUHWMlFAMP0C7qPZFfMlCSUeTgGfp3TlzTYZHYtw6KFLfhrQqxJld/s72-w200-h179-c/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-26%20102239.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-8877481655658882296</id><published>2025-02-19T14:01:00.008+08:00</published><updated>2025-02-26T10:14:50.445+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATtiny85"/><title type='text'> [ATtiny85]-002_ATtiny85 DigisPark開發環境 (ATtiny85 Digispark in Arduino IDE)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[ATtiny85]-002_ATtiny85 DigisPark, Arduino IDE開發環境 (ATtiny85 Digispark in Arduino IDE)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;雖然Arduino UNO使用起來很方便，但有時得專案很小，所以使用Arduino UNO就會顯得大材小用了，而且體積及價格也不是最佳方案，所以找了ATtiny85作為小專案的控制器就顯得非常合適。我們同樣使用Arduino IDE來作為ATtiny85 Digispark的開發環境，雖然網路上有許多教學，但是我試了好一陣子還是不能成功，最後整理出一個成功的方式，讓大家可以更容易地使用ATtiny85 Digispark及進行專案。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;步驟一：安裝驅動程式&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;1. 下載驅動程式：&lt;/span&gt;&lt;span&gt;https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2. 將下載的驅動程式解壓縮。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;如果是64位元的作業系統，執行Install drivers.exe&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;如果是32位元的作業系統，執行DPinst64.exe&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEgEEFoeOUCEhyFH2oSUDZ5x_rWoID2OoVAfBvpncqsmpBVtg5iTcLvtgYfpOYTeek_GFDtIRDR89McGC7HzbX9rraIZEI1R84X3AiVENkgeq3vdwX9IYUNteTDkr42M3d-rm5SuLgTmrLur2GsyTWMapDmILkCGtm9cyQ6CgbsbrysBpX4YX3zr52ku4npt/s667/0001.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;667&quot; data-original-width=&quot;234&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEEFoeOUCEhyFH2oSUDZ5x_rWoID2OoVAfBvpncqsmpBVtg5iTcLvtgYfpOYTeek_GFDtIRDR89McGC7HzbX9rraIZEI1R84X3AiVENkgeq3vdwX9IYUNteTDkr42M3d-rm5SuLgTmrLur2GsyTWMapDmILkCGtm9cyQ6CgbsbrysBpX4YX3zr52ku4npt/w224-h640/0001.png&quot; width=&quot;224&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;span&gt;步驟二：新增開發版管理員網址&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;1. 開啟Arduino IDE，選擇〝檔案〞中的&lt;/span&gt;&lt;span&gt;〝&lt;/span&gt;&lt;span&gt;喜好設定&lt;/span&gt;&lt;span&gt;〞&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguYedXw_qUxWTuzYri9OEaS_aNPO7MKMZy5u9pebv9K6_lLTLvtbX5MfyrnW5i-epGTta2P5cUwaZsFSVRnXgFa0oh0kNXhxjQTdf733afFvF9ySipfbLbjlnMmyIbi2J7JAbIw2uBCE1JhfYD572DI0hB9MCIUiyhjxqmme1VOpIPa9NhBzErfI2J3ksm/s439/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133404.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;439&quot; data-original-width=&quot;262&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguYedXw_qUxWTuzYri9OEaS_aNPO7MKMZy5u9pebv9K6_lLTLvtbX5MfyrnW5i-epGTta2P5cUwaZsFSVRnXgFa0oh0kNXhxjQTdf733afFvF9ySipfbLbjlnMmyIbi2J7JAbIw2uBCE1JhfYD572DI0hB9MCIUiyhjxqmme1VOpIPa9NhBzErfI2J3ksm/w239-h400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133404.png&quot; width=&quot;239&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2. 點選其他開發版管理員網址，最右邊的圖示&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&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/b/R29vZ2xl/AVvXsEjFmjK5nqpgf0FSxaxsZN4vLtKy1cqnJDCumdyUQ0SwBY3p7DEMrNhpHmog_zc8k0leB8uzayQJkbd0PvhWmRBDZooqHXX1DDm1fyL6cV9RJyjfAslXFXswPJb6QMBKcE0h2Cw6bU5VO08uvUfRZFFaLctZTUB7ItQXZ5PDaRreI0MXbdQVfGIecVPpH8Xj/s958/0003.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;582&quot; data-original-width=&quot;958&quot; height=&quot;389&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFmjK5nqpgf0FSxaxsZN4vLtKy1cqnJDCumdyUQ0SwBY3p7DEMrNhpHmog_zc8k0leB8uzayQJkbd0PvhWmRBDZooqHXX1DDm1fyL6cV9RJyjfAslXFXswPJb6QMBKcE0h2Cw6bU5VO08uvUfRZFFaLctZTUB7ItQXZ5PDaRreI0MXbdQVfGIecVPpH8Xj/w640-h389/0003.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3. 在此對話框中，貼上&lt;span&gt;http://digistump.com/package_digistump_index.json。並按下確定。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEj3793SozSeHrjUYhEUpWIa1eKxLIySnuhFAjwJtCxRzhahpZlT6uGtjV5a5Ahgidf4GSyRVFjd2wStEO155tQaeC3jxk_c-ZIWaOo-ywi_Bl67GchOTVzQBzYeezU-i5iQwDOkUf9tpmJykjQL-OaBrotfWjsIRiXBbR6p_3I665h-czA6JzE4QNu1tWrx/s798/0004.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;331&quot; data-original-width=&quot;798&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3793SozSeHrjUYhEUpWIa1eKxLIySnuhFAjwJtCxRzhahpZlT6uGtjV5a5Ahgidf4GSyRVFjd2wStEO155tQaeC3jxk_c-ZIWaOo-ywi_Bl67GchOTVzQBzYeezU-i5iQwDOkUf9tpmJykjQL-OaBrotfWjsIRiXBbR6p_3I665h-czA6JzE4QNu1tWrx/w640-h266/0004.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4. 再按下確定，即可關閉此視窗。&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEgaGQ7rChqHd75y3sDfjQuAw574R4YcYNUjFS0uekVBLqwyW_RGXi4ba2SxYDIU67Lyugn7BgqUahP9C0ofza-aPnBGmX_OS5Bap6-TFaSrhDhdS-Pu3CF_fd-R4iM3sRu_WNTzlMyNX3p4Q_dmbqeZjxw4b9gtb5yRsgnpgg4KBWxl8ja4-MwBAZdafXaB/s953/0005.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;580&quot; data-original-width=&quot;953&quot; height=&quot;390&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaGQ7rChqHd75y3sDfjQuAw574R4YcYNUjFS0uekVBLqwyW_RGXi4ba2SxYDIU67Lyugn7BgqUahP9C0ofza-aPnBGmX_OS5Bap6-TFaSrhDhdS-Pu3CF_fd-R4iM3sRu_WNTzlMyNX3p4Q_dmbqeZjxw4b9gtb5yRsgnpgg4KBWxl8ja4-MwBAZdafXaB/w640-h390/0005.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5. 接下來，Arduino IDE便會下載並安裝相關的程式，但很不幸的是會出現下面的警告。看起來就像是無法連結到我們所設定的網址中，如果我們把這一行貼到網頁中搜尋，確實也是無法連結。如果這一步出現錯誤，好像就無法進行下一步動作了，但網路上似乎都是提供這個方法。&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiiszfeXrQR8BUVKrKy6TV7bWZfOdxC73G-51RX5uzaGnbQ5sNohT4NpG0IFZ022GjKsY0O5mZ1RyZVFApncGGzZa-BkRlY_1S-b8hGsZUcnR1kbnw2v1O1X7VB5PwmiGW7sAc6zA_D2WuDLMTUserT4xFktrCB0akVIPezQPZ20nduNPhrKVGQ69WzgD8X/s654/0006.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;153&quot; data-original-width=&quot;654&quot; height=&quot;94&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiszfeXrQR8BUVKrKy6TV7bWZfOdxC73G-51RX5uzaGnbQ5sNohT4NpG0IFZ022GjKsY0O5mZ1RyZVFApncGGzZa-BkRlY_1S-b8hGsZUcnR1kbnw2v1O1X7VB5PwmiGW7sAc6zA_D2WuDLMTUserT4xFktrCB0akVIPezQPZ20nduNPhrKVGQ69WzgD8X/w400-h94/0006.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;所以我又再找到了另一個開發版管理員網址，將剛剛的&lt;span&gt;http://digistump.com/package_digistump_index.json刪除，改成下面的網址就沒問題了。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe; font-size: medium;&quot;&gt;&lt;b&gt;https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&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/b/R29vZ2xl/AVvXsEjuJ6ED7WDQnGIekPkRUgk4rH-HouT1UcNuyuptUr_N-XCwQ_niHWDvUf3yWB9-afEwxv6_BaQ5G9aKEIFqDwjLdS7ROV8tUvMZjbUIAI6TQKvsbSxuSC-Z9H_gBSxb55G9qjnN6mnpypytQ2vKCV3IG6kzjsHfzZZZPMDtTB_UXAyO1mIhPQJBGjXbME3i/s916/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20135744.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;564&quot; data-original-width=&quot;916&quot; height=&quot;394&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuJ6ED7WDQnGIekPkRUgk4rH-HouT1UcNuyuptUr_N-XCwQ_niHWDvUf3yWB9-afEwxv6_BaQ5G9aKEIFqDwjLdS7ROV8tUvMZjbUIAI6TQKvsbSxuSC-Z9H_gBSxb55G9qjnN6mnpypytQ2vKCV3IG6kzjsHfzZZZPMDtTB_UXAyO1mIhPQJBGjXbME3i/w640-h394/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20135744.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;步驟三：&lt;/span&gt;&lt;span&gt;安裝Board Pckage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1. 在Arduino IDE中，點選最左側的第二個圖示(開發板管理員)，並在搜尋框中打上DIGI，便出現Digistump AVR Boards，並安裝。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEgEQ_fLqVQ6JkeCjbomDHdWMbifXqgPTMb0eCqqWE39rtvFDt35YV1YCFlXKvjwcHcb7L4iK-K6PExvaBM67nf9GYAiTCwQKLsyLmvLuh4xMNyir_qW2nBr4-gx5Bro5och3TWbhKxKM4jTi5YqOiUz4V5efG_0aXhFhPBAdbB4Crdn1_XRUyyeqUhM6Fhx/s654/0007.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;467&quot; data-original-width=&quot;654&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEQ_fLqVQ6JkeCjbomDHdWMbifXqgPTMb0eCqqWE39rtvFDt35YV1YCFlXKvjwcHcb7L4iK-K6PExvaBM67nf9GYAiTCwQKLsyLmvLuh4xMNyir_qW2nBr4-gx5Bro5och3TWbhKxKM4jTi5YqOiUz4V5efG_0aXhFhPBAdbB4Crdn1_XRUyyeqUhM6Fhx/w640-h458/0007.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;步驟四：選擇開發板型號&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1. 工具 &amp;gt;&amp;gt;&amp;gt; 開發板&amp;gt;&amp;gt;&amp;gt; Digistump AVR Boards &amp;gt;&amp;gt;&amp;gt; Digispark (Dafault - 16.5MHz)&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0AOWgkI1GnoYeqOzVBTaaMi55oDy-WQCA3S3dly8ZoWh9jN6ZUDwadwisQ4b28HErmym7yRrqhWu2MvhI1J-2d9dhzeJPonyYHwTans1LwVbWiKOkpoAmpuusxO1xOSx02Ey7Dgrh0QNrhEIB0tmct_xurkCTKLkyG2H4UmyHlFJlqpQBpDFZQYL6bWw/s1258/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133322.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;596&quot; data-original-width=&quot;1258&quot; height=&quot;304&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0AOWgkI1GnoYeqOzVBTaaMi55oDy-WQCA3S3dly8ZoWh9jN6ZUDwadwisQ4b28HErmym7yRrqhWu2MvhI1J-2d9dhzeJPonyYHwTans1LwVbWiKOkpoAmpuusxO1xOSx02Ey7Dgrh0QNrhEIB0tmct_xurkCTKLkyG2H4UmyHlFJlqpQBpDFZQYL6bWw/w640-h304/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133322.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;要注意的是，在這裡和一般Arduino的板子不同，使用ATTINT85的時候不用選擇連接埠(PORT)，所以接上ATtiny85的時候，在工作管理員是看不到連接埠(COM PORT)的。&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;步驟五：開始第一個程式&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1. 先讓ATTINY85板上附帶的LED閃爍(一秒閃爍)，測試一下是否可以正常燒錄到ATtiny85上。板上附帶的LED燈是接在P1上，所以程式如下，&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_lPJzQImy-p2b7J-rmR5-sRf3AuUmCDHPKPNbOBiQGRhaVjao5uNJFGC_xrEamsHaL69KuVCB8tmFolRDWrDktFFXqrymLwRsAiTSp0UbtaeI94eOPdzdoF9stP7m4J8SbuD5E5vMNnTJY7DFuFxrMgjy6fI-e8wJjy16XtVDL-DC2Fsd1bd3ynC37e4/s718/0010.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;453&quot; data-original-width=&quot;718&quot; height=&quot;404&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_lPJzQImy-p2b7J-rmR5-sRf3AuUmCDHPKPNbOBiQGRhaVjao5uNJFGC_xrEamsHaL69KuVCB8tmFolRDWrDktFFXqrymLwRsAiTSp0UbtaeI94eOPdzdoF9stP7m4J8SbuD5E5vMNnTJY7DFuFxrMgjy6fI-e8wJjy16XtVDL-DC2Fsd1bd3ynC37e4/w640-h404/0010.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;2.&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;這裡要先注意一下，上傳程式時，先不要接上ATtiny85，等到下面的程式進度中出現Plug in device now...，再接上ATtiny85。&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&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/b/R29vZ2xl/AVvXsEiRtvzSje5vQpaI3SVO-CbcrBBaBthVYf28X2dCBhpXyb8K7y1HlTx3jap-7ScEZw-l7VOcSbRic-pkkAjHwVEY2cUmrZL1GXjoQNSWrgEkRwIUyMqM-H_-9kwIwwmdtGKDX8G8Q-csiwKHLHk4JOxjp96DlWYrxmW-_Ln3IL5ykHR8dbF560cnrQMI7dsv/s747/0011.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;723&quot; data-original-width=&quot;747&quot; height=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtvzSje5vQpaI3SVO-CbcrBBaBthVYf28X2dCBhpXyb8K7y1HlTx3jap-7ScEZw-l7VOcSbRic-pkkAjHwVEY2cUmrZL1GXjoQNSWrgEkRwIUyMqM-H_-9kwIwwmdtGKDX8G8Q-csiwKHLHk4JOxjp96DlWYrxmW-_Ln3IL5ykHR8dbF560cnrQMI7dsv/w640-h620/0011.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3. 之後就可以看到燒錄進度繼續往下執行了，等完成後，應該就可以看到ATtiny85上面的紅色LED燈在一閃一閃了。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEj7tta1A5sev9ZKv4gX8GVMiPtlEcJ_p8SMhwSU7qUtJRPhlacIsj9yCmOwzIfZMEHygSrrDBdnGXYzGdCaCqQI5G0v4PfkywLOdnavt5gKr7pA4ssqyNT1Px0OXkEBYvDIkwiD7FzuWnfuVtwhbqd1tF9nvhA78ZA1QbXb8r8dBHPHM8tyO3hxYUXlFArC/s1015/0012.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1015&quot; data-original-width=&quot;711&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7tta1A5sev9ZKv4gX8GVMiPtlEcJ_p8SMhwSU7qUtJRPhlacIsj9yCmOwzIfZMEHygSrrDBdnGXYzGdCaCqQI5G0v4PfkywLOdnavt5gKr7pA4ssqyNT1Px0OXkEBYvDIkwiD7FzuWnfuVtwhbqd1tF9nvhA78ZA1QbXb8r8dBHPHM8tyO3hxYUXlFArC/w448-h640/0012.png&quot; width=&quot;448&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;參考資料:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[1] https://projecthub.arduino.cc/alaspuresujay/use-an-attiny85-with-arduino-ide-d847c5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[2] https://ruten-proteus.blogspot.com/2015/03/attiny85-dev-board-guide.html&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[3] https://sites.google.com/site/wenyunotify/13-attiny85/01-attiny85%E5%88%9D%E9%AB%94%E9%A9%97&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[4] https://www.youtube.com/watch?v=JGf6P52LO5c&amp;amp;t=85s&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/8877481655658882296/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2025/02/attiny85-002attiny85-attiny85-in.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8877481655658882296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8877481655658882296'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2025/02/attiny85-002attiny85-attiny85-in.html' title=' [ATtiny85]-002_ATtiny85 DigisPark開發環境 (ATtiny85 Digispark in Arduino IDE)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEgEEFoeOUCEhyFH2oSUDZ5x_rWoID2OoVAfBvpncqsmpBVtg5iTcLvtgYfpOYTeek_GFDtIRDR89McGC7HzbX9rraIZEI1R84X3AiVENkgeq3vdwX9IYUNteTDkr42M3d-rm5SuLgTmrLur2GsyTWMapDmILkCGtm9cyQ6CgbsbrysBpX4YX3zr52ku4npt/s72-w224-h640-c/0001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-7472445767839902439</id><published>2024-07-24T23:22:00.003+08:00</published><updated>2025-02-26T10:12:53.993+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATtiny85"/><title type='text'>[ATtiny85]-001_ATtiny85 Digispart初探 (Discove ATtiny85 Digispark)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[ATtiny85]-001_ATtiny85 Digispart初探 (Discove ATtiny85 Digispark)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;ATtiny是Atmel公司推出的8 bit AVR微控制器，基本上有三種型號ATtiny25、&lt;/span&gt;&lt;span&gt;ATtiny45及&lt;/span&gt;&lt;span&gt;ATtiny85，這三種型號主要差在內部的記憶體大小，分別為2K Bytes、4&lt;/span&gt;&lt;span&gt;K Bytes及8&lt;/span&gt;&lt;span&gt;K Bytes，價格都很便宜，常見的有像下圖有USB接口的模組，一般稱為&lt;span style=&quot;color: #2b00fe;&quot;&gt;ATtiny85 Digispark&lt;/span&gt;，我也不太確定為什麼要叫這個名字，是不是第一個把ATtiny85做成這樣模組化形式的廠商是digispark？這樣的模組對於使用者來說相幫方便，因為可以直接接上USB來直接燒錄程式。&lt;/span&gt;&lt;span&gt;當然也可以直接單買ATtiny85的晶片，直接與專案結合，如果是直接買ATtint85的晶片，以下的方式就會不適用，需要另外用ISP來燒錄程式到ATtiny85。&lt;/span&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEg62m38IP69dTKUZa6ZDccnXeidue3gcmhBp7rZ9D7TSw3Zi825WtYx26crl_f4ZiXrOHDJiPh0MM4_wpNhfLTiZrMOv0njgaHTT79XE49OAbSKvaCkmlbkkaGwHSFZe5u8lUlM_3aeBu3-N5CMqbe8_ky8ZZ6Ofyr_Eum85i09WjYEPx5ENjnNq4Ng1GB-/s448/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20140855.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;335&quot; data-original-width=&quot;448&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg62m38IP69dTKUZa6ZDccnXeidue3gcmhBp7rZ9D7TSw3Zi825WtYx26crl_f4ZiXrOHDJiPh0MM4_wpNhfLTiZrMOv0njgaHTT79XE49OAbSKvaCkmlbkkaGwHSFZe5u8lUlM_3aeBu3-N5CMqbe8_ky8ZZ6Ofyr_Eum85i09WjYEPx5ENjnNq4Ng1GB-/s320/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20140855.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;ATtiny85 IC pinout如下，可以看出雖然只有8個腳位，但是功能不少，有一般的GPIO、I2C、SPI等功能，但是這些功能只能擇一使用，所以這非常適合小專案使用。其他更詳細資料可以參考原廠規格書。&lt;/span&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/b/R29vZ2xl/AVvXsEjqxySOrAhzKPVBbrOquJ1aY6FxMZ4tWbLuoRnadkkOwVfH5IWDh32zXrGU2s-B1VpYKAt5HG3It7QQZ4wCsBlK2AARAeWgGCm4kT6kVItirAn1c2rXEm01WLYpFeeeFTDATXbm631F44Tl69HjKkpSHYGDA1VCt3B79EyyWhYjhT_6XlJCMJQAVFD4Fa5r/s1049/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20142013.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;223&quot; data-original-width=&quot;1049&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqxySOrAhzKPVBbrOquJ1aY6FxMZ4tWbLuoRnadkkOwVfH5IWDh32zXrGU2s-B1VpYKAt5HG3It7QQZ4wCsBlK2AARAeWgGCm4kT6kVItirAn1c2rXEm01WLYpFeeeFTDATXbm631F44Tl69HjKkpSHYGDA1VCt3B79EyyWhYjhT_6XlJCMJQAVFD4Fa5r/w640-h136/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20142013.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;ATtiny85模組電路圖。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;雖然Arduino UNO使用起來很方便，但有時得專案很小，所以使用Arduino UNO就會顯得大材小用了，而且體積及價格也不是最佳方案，所以找了ATtiny85作為小專案的控制器就顯得非常合適。我們同樣使用Arduino IDE來作為ATtiny85的開發環境，雖然網路上有許多教學，但是我試了好一陣子還是不能成功，最後整理出一個成功的方式，讓大家可以更容易地使用ATtiny85及進行專案。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;步驟一：安裝驅動程式&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;1. 下載驅動程式：&lt;/span&gt;&lt;span&gt;https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2. 將下載的驅動程式解壓縮。&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;如果是64位元的作業系統，執行Install drivers.exe&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;如果是32位元的作業系統，執行DPinst64.exe&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEgEEFoeOUCEhyFH2oSUDZ5x_rWoID2OoVAfBvpncqsmpBVtg5iTcLvtgYfpOYTeek_GFDtIRDR89McGC7HzbX9rraIZEI1R84X3AiVENkgeq3vdwX9IYUNteTDkr42M3d-rm5SuLgTmrLur2GsyTWMapDmILkCGtm9cyQ6CgbsbrysBpX4YX3zr52ku4npt/s667/0001.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;667&quot; data-original-width=&quot;234&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEEFoeOUCEhyFH2oSUDZ5x_rWoID2OoVAfBvpncqsmpBVtg5iTcLvtgYfpOYTeek_GFDtIRDR89McGC7HzbX9rraIZEI1R84X3AiVENkgeq3vdwX9IYUNteTDkr42M3d-rm5SuLgTmrLur2GsyTWMapDmILkCGtm9cyQ6CgbsbrysBpX4YX3zr52ku4npt/w224-h640/0001.png&quot; width=&quot;224&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;span&gt;步驟二：新增開發版管理員網址&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;1. 開啟Arduino IDE，選擇〝檔案〞中的&lt;/span&gt;&lt;span&gt;〝&lt;/span&gt;&lt;span&gt;喜好設定&lt;/span&gt;&lt;span&gt;〞&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEguYedXw_qUxWTuzYri9OEaS_aNPO7MKMZy5u9pebv9K6_lLTLvtbX5MfyrnW5i-epGTta2P5cUwaZsFSVRnXgFa0oh0kNXhxjQTdf733afFvF9ySipfbLbjlnMmyIbi2J7JAbIw2uBCE1JhfYD572DI0hB9MCIUiyhjxqmme1VOpIPa9NhBzErfI2J3ksm/s439/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133404.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;439&quot; data-original-width=&quot;262&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguYedXw_qUxWTuzYri9OEaS_aNPO7MKMZy5u9pebv9K6_lLTLvtbX5MfyrnW5i-epGTta2P5cUwaZsFSVRnXgFa0oh0kNXhxjQTdf733afFvF9ySipfbLbjlnMmyIbi2J7JAbIw2uBCE1JhfYD572DI0hB9MCIUiyhjxqmme1VOpIPa9NhBzErfI2J3ksm/w239-h400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133404.png&quot; width=&quot;239&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2. 點選其他開發版管理員網址，最右邊的圖示&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&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/b/R29vZ2xl/AVvXsEjFmjK5nqpgf0FSxaxsZN4vLtKy1cqnJDCumdyUQ0SwBY3p7DEMrNhpHmog_zc8k0leB8uzayQJkbd0PvhWmRBDZooqHXX1DDm1fyL6cV9RJyjfAslXFXswPJb6QMBKcE0h2Cw6bU5VO08uvUfRZFFaLctZTUB7ItQXZ5PDaRreI0MXbdQVfGIecVPpH8Xj/s958/0003.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;582&quot; data-original-width=&quot;958&quot; height=&quot;389&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFmjK5nqpgf0FSxaxsZN4vLtKy1cqnJDCumdyUQ0SwBY3p7DEMrNhpHmog_zc8k0leB8uzayQJkbd0PvhWmRBDZooqHXX1DDm1fyL6cV9RJyjfAslXFXswPJb6QMBKcE0h2Cw6bU5VO08uvUfRZFFaLctZTUB7ItQXZ5PDaRreI0MXbdQVfGIecVPpH8Xj/w640-h389/0003.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3. 在此對話框中，貼上&lt;span&gt;http://digistump.com/package_digistump_index.json。並按下確定。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEj3793SozSeHrjUYhEUpWIa1eKxLIySnuhFAjwJtCxRzhahpZlT6uGtjV5a5Ahgidf4GSyRVFjd2wStEO155tQaeC3jxk_c-ZIWaOo-ywi_Bl67GchOTVzQBzYeezU-i5iQwDOkUf9tpmJykjQL-OaBrotfWjsIRiXBbR6p_3I665h-czA6JzE4QNu1tWrx/s798/0004.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;331&quot; data-original-width=&quot;798&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3793SozSeHrjUYhEUpWIa1eKxLIySnuhFAjwJtCxRzhahpZlT6uGtjV5a5Ahgidf4GSyRVFjd2wStEO155tQaeC3jxk_c-ZIWaOo-ywi_Bl67GchOTVzQBzYeezU-i5iQwDOkUf9tpmJykjQL-OaBrotfWjsIRiXBbR6p_3I665h-czA6JzE4QNu1tWrx/w640-h266/0004.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4. 再按下確定，即可關閉此視窗。&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&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/AVvXsEgaGQ7rChqHd75y3sDfjQuAw574R4YcYNUjFS0uekVBLqwyW_RGXi4ba2SxYDIU67Lyugn7BgqUahP9C0ofza-aPnBGmX_OS5Bap6-TFaSrhDhdS-Pu3CF_fd-R4iM3sRu_WNTzlMyNX3p4Q_dmbqeZjxw4b9gtb5yRsgnpgg4KBWxl8ja4-MwBAZdafXaB/s953/0005.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;580&quot; data-original-width=&quot;953&quot; height=&quot;390&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaGQ7rChqHd75y3sDfjQuAw574R4YcYNUjFS0uekVBLqwyW_RGXi4ba2SxYDIU67Lyugn7BgqUahP9C0ofza-aPnBGmX_OS5Bap6-TFaSrhDhdS-Pu3CF_fd-R4iM3sRu_WNTzlMyNX3p4Q_dmbqeZjxw4b9gtb5yRsgnpgg4KBWxl8ja4-MwBAZdafXaB/w640-h390/0005.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5. 接下來，Arduino IDE便會下載並安裝相關的程式，但很不幸的是會出現下面的警告。看起來就像是無法連結到我們所設定的網址中，如果我們把這一行貼到網頁中搜尋，確實也是無法連結。如果這一步出現錯誤，好像就無法進行下一步動作了，但網路上似乎都是提供這個方法。&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiiszfeXrQR8BUVKrKy6TV7bWZfOdxC73G-51RX5uzaGnbQ5sNohT4NpG0IFZ022GjKsY0O5mZ1RyZVFApncGGzZa-BkRlY_1S-b8hGsZUcnR1kbnw2v1O1X7VB5PwmiGW7sAc6zA_D2WuDLMTUserT4xFktrCB0akVIPezQPZ20nduNPhrKVGQ69WzgD8X/s654/0006.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;153&quot; data-original-width=&quot;654&quot; height=&quot;94&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiszfeXrQR8BUVKrKy6TV7bWZfOdxC73G-51RX5uzaGnbQ5sNohT4NpG0IFZ022GjKsY0O5mZ1RyZVFApncGGzZa-BkRlY_1S-b8hGsZUcnR1kbnw2v1O1X7VB5PwmiGW7sAc6zA_D2WuDLMTUserT4xFktrCB0akVIPezQPZ20nduNPhrKVGQ69WzgD8X/w400-h94/0006.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;所以我又再找到了另一個開發版管理員網址，將剛剛的&lt;span&gt;http://digistump.com/package_digistump_index.json刪除，改成下面的網址就沒問題了。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #2b00fe; font-size: medium;&quot;&gt;&lt;b&gt;https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&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/b/R29vZ2xl/AVvXsEjuJ6ED7WDQnGIekPkRUgk4rH-HouT1UcNuyuptUr_N-XCwQ_niHWDvUf3yWB9-afEwxv6_BaQ5G9aKEIFqDwjLdS7ROV8tUvMZjbUIAI6TQKvsbSxuSC-Z9H_gBSxb55G9qjnN6mnpypytQ2vKCV3IG6kzjsHfzZZZPMDtTB_UXAyO1mIhPQJBGjXbME3i/s916/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20135744.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;564&quot; data-original-width=&quot;916&quot; height=&quot;394&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuJ6ED7WDQnGIekPkRUgk4rH-HouT1UcNuyuptUr_N-XCwQ_niHWDvUf3yWB9-afEwxv6_BaQ5G9aKEIFqDwjLdS7ROV8tUvMZjbUIAI6TQKvsbSxuSC-Z9H_gBSxb55G9qjnN6mnpypytQ2vKCV3IG6kzjsHfzZZZPMDtTB_UXAyO1mIhPQJBGjXbME3i/w640-h394/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20135744.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;步驟三：&lt;/span&gt;&lt;span&gt;安裝Board Pckage&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1. 在Arduino IDE中，點選最左側的第二個圖示(開發板管理員)，並在搜尋框中打上DIGI，便出現Digistump AVR Boards，並安裝。&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEgEQ_fLqVQ6JkeCjbomDHdWMbifXqgPTMb0eCqqWE39rtvFDt35YV1YCFlXKvjwcHcb7L4iK-K6PExvaBM67nf9GYAiTCwQKLsyLmvLuh4xMNyir_qW2nBr4-gx5Bro5och3TWbhKxKM4jTi5YqOiUz4V5efG_0aXhFhPBAdbB4Crdn1_XRUyyeqUhM6Fhx/s654/0007.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;467&quot; data-original-width=&quot;654&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEQ_fLqVQ6JkeCjbomDHdWMbifXqgPTMb0eCqqWE39rtvFDt35YV1YCFlXKvjwcHcb7L4iK-K6PExvaBM67nf9GYAiTCwQKLsyLmvLuh4xMNyir_qW2nBr4-gx5Bro5och3TWbhKxKM4jTi5YqOiUz4V5efG_0aXhFhPBAdbB4Crdn1_XRUyyeqUhM6Fhx/w640-h458/0007.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;步驟四：選擇開發板型號&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1. 工具 &amp;gt;&amp;gt;&amp;gt; 開發板&amp;gt;&amp;gt;&amp;gt; Digistump AVR Boards &amp;gt;&amp;gt;&amp;gt; Digispark (Dafault - 16.5MHz)&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&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/AVvXsEhz0AOWgkI1GnoYeqOzVBTaaMi55oDy-WQCA3S3dly8ZoWh9jN6ZUDwadwisQ4b28HErmym7yRrqhWu2MvhI1J-2d9dhzeJPonyYHwTans1LwVbWiKOkpoAmpuusxO1xOSx02Ey7Dgrh0QNrhEIB0tmct_xurkCTKLkyG2H4UmyHlFJlqpQBpDFZQYL6bWw/s1258/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133322.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;596&quot; data-original-width=&quot;1258&quot; height=&quot;304&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz0AOWgkI1GnoYeqOzVBTaaMi55oDy-WQCA3S3dly8ZoWh9jN6ZUDwadwisQ4b28HErmym7yRrqhWu2MvhI1J-2d9dhzeJPonyYHwTans1LwVbWiKOkpoAmpuusxO1xOSx02Ey7Dgrh0QNrhEIB0tmct_xurkCTKLkyG2H4UmyHlFJlqpQBpDFZQYL6bWw/w640-h304/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20133322.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;要注意的是，在這裡和一般Arduino的板子不同，使用ATTINT85的時候不用選擇連接埠(PORT)，所以接上ATtiny85的時候，在工作管理員是看不到連接埠(COM PORT)的。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;步驟五：開始第一個程式&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;1. 先讓ATTINY85板上附帶的LED閃爍(一秒閃爍)，測試一下是否可以正常燒錄到ATtiny85上。板上附帶的LED燈是接在P1上，所以程式如下，&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_lPJzQImy-p2b7J-rmR5-sRf3AuUmCDHPKPNbOBiQGRhaVjao5uNJFGC_xrEamsHaL69KuVCB8tmFolRDWrDktFFXqrymLwRsAiTSp0UbtaeI94eOPdzdoF9stP7m4J8SbuD5E5vMNnTJY7DFuFxrMgjy6fI-e8wJjy16XtVDL-DC2Fsd1bd3ynC37e4/s718/0010.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;453&quot; data-original-width=&quot;718&quot; height=&quot;404&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_lPJzQImy-p2b7J-rmR5-sRf3AuUmCDHPKPNbOBiQGRhaVjao5uNJFGC_xrEamsHaL69KuVCB8tmFolRDWrDktFFXqrymLwRsAiTSp0UbtaeI94eOPdzdoF9stP7m4J8SbuD5E5vMNnTJY7DFuFxrMgjy6fI-e8wJjy16XtVDL-DC2Fsd1bd3ynC37e4/w640-h404/0010.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;2. &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;這裡要先注意一下，上傳程式時，先不要接上ATtiny85，等到下面的程式進度中出現Plug in device now...，再接上ATtiny85。&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&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/b/R29vZ2xl/AVvXsEiRtvzSje5vQpaI3SVO-CbcrBBaBthVYf28X2dCBhpXyb8K7y1HlTx3jap-7ScEZw-l7VOcSbRic-pkkAjHwVEY2cUmrZL1GXjoQNSWrgEkRwIUyMqM-H_-9kwIwwmdtGKDX8G8Q-csiwKHLHk4JOxjp96DlWYrxmW-_Ln3IL5ykHR8dbF560cnrQMI7dsv/s747/0011.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;723&quot; data-original-width=&quot;747&quot; height=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtvzSje5vQpaI3SVO-CbcrBBaBthVYf28X2dCBhpXyb8K7y1HlTx3jap-7ScEZw-l7VOcSbRic-pkkAjHwVEY2cUmrZL1GXjoQNSWrgEkRwIUyMqM-H_-9kwIwwmdtGKDX8G8Q-csiwKHLHk4JOxjp96DlWYrxmW-_Ln3IL5ykHR8dbF560cnrQMI7dsv/w640-h620/0011.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3. 之後就可以看到燒錄進度繼續往下執行了，等完成後，應該就可以看到ATtiny85上面的紅色LED燈在一閃一閃了。&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/b/R29vZ2xl/AVvXsEj7tta1A5sev9ZKv4gX8GVMiPtlEcJ_p8SMhwSU7qUtJRPhlacIsj9yCmOwzIfZMEHygSrrDBdnGXYzGdCaCqQI5G0v4PfkywLOdnavt5gKr7pA4ssqyNT1Px0OXkEBYvDIkwiD7FzuWnfuVtwhbqd1tF9nvhA78ZA1QbXb8r8dBHPHM8tyO3hxYUXlFArC/s1015/0012.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1015&quot; data-original-width=&quot;711&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7tta1A5sev9ZKv4gX8GVMiPtlEcJ_p8SMhwSU7qUtJRPhlacIsj9yCmOwzIfZMEHygSrrDBdnGXYzGdCaCqQI5G0v4PfkywLOdnavt5gKr7pA4ssqyNT1Px0OXkEBYvDIkwiD7FzuWnfuVtwhbqd1tF9nvhA78ZA1QbXb8r8dBHPHM8tyO3hxYUXlFArC/w448-h640/0012.png&quot; width=&quot;448&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;參考資料:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[1] https://projecthub.arduino.cc/alaspuresujay/use-an-attiny85-with-arduino-ide-d847c5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[2] https://ruten-proteus.blogspot.com/2015/03/attiny85-dev-board-guide.html&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[3] https://sites.google.com/site/wenyunotify/13-attiny85/01-attiny85%E5%88%9D%E9%AB%94%E9%A9%97&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[4] https://www.youtube.com/watch?v=JGf6P52LO5c&amp;amp;t=85s&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/7472445767839902439/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2024/07/attiny85-001attiny85.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7472445767839902439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7472445767839902439'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2024/07/attiny85-001attiny85.html' title='[ATtiny85]-001_ATtiny85 Digispart初探 (Discove ATtiny85 Digispark)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEg62m38IP69dTKUZa6ZDccnXeidue3gcmhBp7rZ9D7TSw3Zi825WtYx26crl_f4ZiXrOHDJiPh0MM4_wpNhfLTiZrMOv0njgaHTT79XE49OAbSKvaCkmlbkkaGwHSFZe5u8lUlM_3aeBu3-N5CMqbe8_ky8ZZ6Ofyr_Eum85i09WjYEPx5ENjnNq4Ng1GB-/s72-c/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2%202025-02-19%20140855.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-7929278205915111932</id><published>2023-02-05T21:22:00.005+08:00</published><updated>2023-02-05T21:22:49.114+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>[Arduino]-004_Arduino UNO腳位說明</title><content type='html'>&lt;p&gt;&amp;nbsp;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;&lt;p&gt;[Arduino]-004_Arduino UNO腳位說明&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/7929278205915111932/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2023/02/arduino-004arduino-uno.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7929278205915111932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/7929278205915111932'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2023/02/arduino-004arduino-uno.html' title='[Arduino]-004_Arduino UNO腳位說明'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-3808253076946155054</id><published>2023-01-28T22:06:00.001+08:00</published><updated>2023-01-28T22:06:23.401+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSP430"/><title type='text'>[MSP430]-005_按鈕控制</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[MSP430]-005_按鈕控制&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhDKQbNw89BxlasZaIRxzrrJuI7WI2pV5PcAFzlEnyfmFdSQNpC7StK8pnXtJk9K77uxWK6v7U9MxQNdYL2j9Ing3_NY6RbE6aBjLb9-CJUn6ZhYww1iKqX3q0zyyu6OjeYI1WeybUnahgAttYoEuWA4jYqY7mwGEfSgANTvHmzDrkFWF7UNADOuOvFyQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;438&quot; data-original-width=&quot;766&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhDKQbNw89BxlasZaIRxzrrJuI7WI2pV5PcAFzlEnyfmFdSQNpC7StK8pnXtJk9K77uxWK6v7U9MxQNdYL2j9Ing3_NY6RbE6aBjLb9-CJUn6ZhYww1iKqX3q0zyyu6OjeYI1WeybUnahgAttYoEuWA4jYqY7mwGEfSgANTvHmzDrkFWF7UNADOuOvFyQ=w640-h366&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&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/AVvXsEieOtmwSNkdqb31bvARj8tA6tKSxXqCnqHlHAKxx4zi7lAXfpy8btl8Bg0u8R_j8_oVdRFc3uHFB3XED_pmcIvjWu2Cd3vBhSkLZoKgl2M5Vh2SYoyfrPuT9ibcNXgZyJLKjqPsydOESnGbq7HBGr4ULqLxoJyKNqr4UiIjuQCagspADhVh1cCjyJmeEw&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;918&quot; data-original-width=&quot;616&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEieOtmwSNkdqb31bvARj8tA6tKSxXqCnqHlHAKxx4zi7lAXfpy8btl8Bg0u8R_j8_oVdRFc3uHFB3XED_pmcIvjWu2Cd3vBhSkLZoKgl2M5Vh2SYoyfrPuT9ibcNXgZyJLKjqPsydOESnGbq7HBGr4ULqLxoJyKNqr4UiIjuQCagspADhVh1cCjyJmeEw=s16000&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;分析程式結構與語法，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1.&amp;nbsp; 在“ // ”之後的程式或文字，編譯程式會自動略過這些內容，不會成為程式的一部分，所以可以用來作為程式的註解或是說明，日後可以快速地了解程式內容。要注意的是，這只是將一行的程式或是文字作為註解，當第二行也要成為註解文字，則在第二行也要打上“ // ”。&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2.&amp;nbsp; “ /* ”及“ */ ”這兩個符號有別於“ // ”，是可以將整段文字或是程式作為註解，編譯程式會自動略過這些內容。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;const&amp;nbsp; int&amp;nbsp; butonPin = PUSH2;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;將PUSH2定義為buttonPin，這是將MSP-EXP430G2這張開發板板左下角的按鈕(板上印刷為S2)命名為buttonPin。這個PUSH2是一個特殊的名稱，特指板上的P1.3這個腳位，所以PUSH2這個名稱就不能再用了喔。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;const&amp;nbsp; int&amp;nbsp; ledPin = GREEN_LED;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;將GREEN_LED定義為ledPin，這是將板上綠色的LED燈定義成ledPin這個名稱。GREEN_LED是一個特殊的名稱，特指板上的P1.6這個腳位，所以GREEN_LED這個名稱就不能再用了喔。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;int&amp;nbsp; buttonState = 0;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;這裡命名一個資料結構為int的變數buttonStatus(按鈕狀態)，且將此變數的初始值設為0。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;6.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;void setup (){&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; pinMode (ledPin, OUTPUT);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; pinMode (buttonPin, INPUT_PULLUP);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;void setup () { }&lt;/span&gt;，這段程式是固定寫法，也就是將一開機要設定參數寫在這個大括號中，也就是說這個大括號中的指令只會執行一次，除非再重開MSP430開發板一次。在這個大括號裡面有兩條指令：&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;pinMode(ledPin, OUTPUT);&lt;/span&gt;&amp;nbsp; &amp;nbsp; 這可以解讀成將ledPin這個腳位的腳位模式pinMode定義為輸出OUTPUT。&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;/blockquote&gt;&lt;span style=&quot;background-color: #cccccc; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: large;&quot;&gt;pinMode (buttonPin, INPUT_PULLUP);&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;這可以解讀成將buttonPin這個腳位的腳位模式pinMode定義為上拉形式的輸入(INPUT_PULLUP)。&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;7.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;void loop (){&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; buttonState = digitalRead (buttonPin);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (buttonStat == HIGH) {&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; digitalWrite (ledPin, HIGH);&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; else {&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; digitalWrite&amp;nbsp;(ledPin, LOW);&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: medium;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;void loop () {}&lt;/span&gt;&amp;nbsp; &amp;nbsp; 這段程式是固定寫法，當執行完前面的void setup(){}之後就會執行此段程式，且如同它的名稱一樣，此段程式會一直執行，就像是一個迴圈(loop)一樣。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;8.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;buttonState = digitalRead (buttonPin);&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt; &amp;nbsp; 可以解讀成用數位讀取(digitalRead)的方式來讀取buttonPin這個腳位的狀態，並將此狀態存入變數buttonState中。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;9.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (buttonState == HIGH) {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; digitalWrite (ledPin, HIGH);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;這裡新學到一個語法，就是if的判斷式，小括號中的buttonState == HIGH，是判斷條件，如果符合這個條件，就會執行大括號中的指令digitalWritw(ledPin, HIGH)。如果不符合判斷條件，就會跳到else並執行其大括號的指令。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;這段程式的意思是如果butonState(按鈕狀態)是HIGH(高電位)，則將ledPin這個腳位寫成HIGH(高電位)，ledPin如果是高電位，則這個綠色的LED燈就會亮。(由[MSP430-004]的實驗中知道當內建的LED腳位為高電位時，則LED會被點亮)。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;在此說明，因為之前有一條指令&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;pinMode (buttonPin, INPUT_PULLUP);&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-size: large;&quot;&gt;&amp;nbsp; ，這是先將buttonPin設定成高電位，所以鬆開按鈕(不按下)的時候，是屬於高電位的狀態。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;10.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; digitalWrite&amp;nbsp;(ledPin, LOW);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;else之後執行的指令，可以想成與前面 if 的指令相反，也就是說剛剛 if 內的指令是，如果按鈕沒被按下，則LED會被點亮。else內的指令就表示如果按鈕被按下，則LED會熄滅。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;程式分析完，可以上傳程式到MSP430開發板中，看看結果囉。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/3808253076946155054/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2023/01/msp430-005.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3808253076946155054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3808253076946155054'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2023/01/msp430-005.html' title='[MSP430]-005_按鈕控制'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEhDKQbNw89BxlasZaIRxzrrJuI7WI2pV5PcAFzlEnyfmFdSQNpC7StK8pnXtJk9K77uxWK6v7U9MxQNdYL2j9Ing3_NY6RbE6aBjLb9-CJUn6ZhYww1iKqX3q0zyyu6OjeYI1WeybUnahgAttYoEuWA4jYqY7mwGEfSgANTvHmzDrkFWF7UNADOuOvFyQ=s72-w640-h366-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-8504262401320681106</id><published>2022-12-11T20:56:00.004+08:00</published><updated>2022-12-11T22:51:00.082+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSP430"/><title type='text'>[MSP430]-004_點亮板上的LED燈</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[MSP430]-004_點亮板上的LED燈&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;要注意MSP-EXP430G2與MSP-EXP430G2ET，這兩個個開發板非常相似。主要差異在於&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Board: MSP-EXP430G2&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;IDE: energia&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEjL4bNUe2PAdTbRtWpChHVNq0v3ZlCEMO7PqdKgjShT_PMgB9r6PcY5u-D3cr22I7Hmf3S1bh4rAtbiQnnAEjNdJWdlPKO-GH858esJAn63NPB7yK8_Srx81LCAlSPMAjMJTkeAkBFTtbpG-VzwvXItz-xJVfHBg4X4sVZwNGLMuLz9y-cuoSw5GdIfKA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;578&quot; data-original-width=&quot;962&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjL4bNUe2PAdTbRtWpChHVNq0v3ZlCEMO7PqdKgjShT_PMgB9r6PcY5u-D3cr22I7Hmf3S1bh4rAtbiQnnAEjNdJWdlPKO-GH858esJAn63NPB7yK8_Srx81LCAlSPMAjMJTkeAkBFTtbpG-VzwvXItz-xJVfHBg4X4sVZwNGLMuLz9y-cuoSw5GdIfKA=w640-h384&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 開始寫程式時，要先選擇開發板的型號。&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;選擇“工具” &amp;gt;&amp;gt;&amp;gt;“開發板”&amp;gt;&amp;gt;&amp;gt;“MSP-EXPG2 w/MSP430G2553”&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&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/AVvXsEgjSlf0E4O7yigJymPO4LPmiUs6gPAja_bnS3EWuUy11XTYpjYDmIcC9-p6MYr_2E7kDYdAS6_vbLqa6UdXaGlVf1vlwnYg-CmtvxO0ua995GPHnSehxB-7ZxQOaHZxeTYpaTFe9dw0JapmbdTtw4BT0lTMnaLA9ZnIWHfnZ5hcf0sXIpLGbVyHVPyEEA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;604&quot; data-original-width=&quot;900&quot; height=&quot;430&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgjSlf0E4O7yigJymPO4LPmiUs6gPAja_bnS3EWuUy11XTYpjYDmIcC9-p6MYr_2E7kDYdAS6_vbLqa6UdXaGlVf1vlwnYg-CmtvxO0ua995GPHnSehxB-7ZxQOaHZxeTYpaTFe9dw0JapmbdTtw4BT0lTMnaLA9ZnIWHfnZ5hcf0sXIpLGbVyHVPyEEA=w640-h430&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;另外還要更新程式的版本到1.07版，不然上傳程式碼的時候會出錯喔。選擇“工具” &amp;gt;&amp;gt;&amp;gt;“開發板”&amp;gt;&amp;gt;&amp;gt;“開發版管理員”&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&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/AVvXsEgu6W8h2M2b35oji1hPOA0I9FmOhCTkS4epQY-7q903c7aMflqDMa6CR--DdEYcy9UCUkQPSucwkZGCmwMVMAmjhyeSS-SHFTVeB6o9IidYhCcH7ntfrpfCoeSQd8VW6aV31K7fneAPPqtCK4I99P8O6AckmVF5GxOWhydp07PfXsjZojH28iuDfAjXSQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;603&quot; data-original-width=&quot;901&quot; height=&quot;428&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgu6W8h2M2b35oji1hPOA0I9FmOhCTkS4epQY-7q903c7aMflqDMa6CR--DdEYcy9UCUkQPSucwkZGCmwMVMAmjhyeSS-SHFTVeB6o9IidYhCcH7ntfrpfCoeSQd8VW6aV31K7fneAPPqtCK4I99P8O6AckmVF5GxOWhydp07PfXsjZojH28iuDfAjXSQ=w640-h428&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;進入開發板管理員中，點選1.07版，並選擇安裝，如此就完成版本更新了。&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjoVYOVdF2aPe_6Zsg6rX67rL2tdyaotWZYCHESQA32N_7Ia9XOiAIwIUVTSFfl7LozYKuy-tT_LxOE8N9XulGJ0sdMKk_lm7FA0Ky8JwU1ZY3UDYYwfwnjJL0uPVRLEQ1jeFJ6TsyYOZ1ePsO9EXVLqMEJyfnSUhlw_TPfBTMu8h2VC9YeM-hWte6BYg&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;393&quot; data-original-width=&quot;977&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjoVYOVdF2aPe_6Zsg6rX67rL2tdyaotWZYCHESQA32N_7Ia9XOiAIwIUVTSFfl7LozYKuy-tT_LxOE8N9XulGJ0sdMKk_lm7FA0Ky8JwU1ZY3UDYYwfwnjJL0uPVRLEQ1jeFJ6TsyYOZ1ePsO9EXVLqMEJyfnSUhlw_TPfBTMu8h2VC9YeM-hWte6BYg=w640-h258&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;選擇序列埠&lt;/span&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/AVvXsEh_zaJx317AgyaA1OXhRf-QplA_CuF54sCk7m0E-mKxURh_jLF2VDdZI9X9gXjTCWYAaNPVBWqFmyOBzyxeBQQyYLa5UMIAYpZtFee_ELaI1Vo5EWO44jmcA2Yi-yYhnrs47JCI-RI8Vq3n6klUwRhrk3ZgOMlD3POoy0xZ4yj02RIj-QOIfh8Oxg8vJg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;310&quot; data-original-width=&quot;687&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh_zaJx317AgyaA1OXhRf-QplA_CuF54sCk7m0E-mKxURh_jLF2VDdZI9X9gXjTCWYAaNPVBWqFmyOBzyxeBQQyYLa5UMIAYpZtFee_ELaI1Vo5EWO44jmcA2Yi-yYhnrs47JCI-RI8Vq3n6klUwRhrk3ZgOMlD3POoy0xZ4yj02RIj-QOIfh8Oxg8vJg=w640-h288&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 剛開始學寫程式，當還不熟悉語法及環境時，從模仿並解讀現有的程式一定是比較快的方式。Energia也有內建範例程式，這些範例程式可以幫助初學者快速的熟悉程式寫法。現在就先開啟內建的Bilnk程式，並試著分析這個程式的寫法。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEhXbtjhSUXSIPVvkVU-1Mc9gutA7T0BkOuPrs8NEsg9r1mgDNlSaTEj3rnxZ5bLR_Y9dHeGHIAlf0WBDHRozNi41uHinnmMKEf9hnjnpZQL4SgNBHEXIJ_K-PMcjLBxjH8JaFyIVMAAySUoiWNchaAiLFTDChf3IdOzZL3AGuIbFXRbyeNfFBqlxKJLwg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;438&quot; data-original-width=&quot;747&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhXbtjhSUXSIPVvkVU-1Mc9gutA7T0BkOuPrs8NEsg9r1mgDNlSaTEj3rnxZ5bLR_Y9dHeGHIAlf0WBDHRozNi41uHinnmMKEf9hnjnpZQL4SgNBHEXIJ_K-PMcjLBxjH8JaFyIVMAAySUoiWNchaAiLFTDChf3IdOzZL3AGuIbFXRbyeNfFBqlxKJLwg=w640-h376&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj3JocMe37BkQPY2fu_BF-kGOqg69TKyw5ZO9N4oATtv0YP4uKiPujQwsZt_5h9D1Xxo0A8oU5Wpk4RdMnBOwYj3uoE1ajOEWIosG5DvpGSfEk7knUD4yM59XQPK5Tzp7MrA5plfTh25EKLNgi7oNzuBrQGGuiTENKfJUVvMBMWdiRTXbLlBXlzukAZBw&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;915&quot; data-original-width=&quot;617&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj3JocMe37BkQPY2fu_BF-kGOqg69TKyw5ZO9N4oATtv0YP4uKiPujQwsZt_5h9D1Xxo0A8oU5Wpk4RdMnBOwYj3uoE1ajOEWIosG5DvpGSfEk7knUD4yM59XQPK5Tzp7MrA5plfTh25EKLNgi7oNzuBrQGGuiTENKfJUVvMBMWdiRTXbLlBXlzukAZBw=s16000&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;先看一下程式結構，&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1.&amp;nbsp; 在“ // ”之後的程式或文字，編譯程式會自動略過這些內容，不會成為程式的一部分，所以可以用來作為程式的註解或是說明，日後可以快速地了解程式內容。要注意的是，這只是將一行的程式或是文字作為註解，當第二行也要成為註解文字，則在第二行也要打上“ // ”。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2.&amp;nbsp; “ /* ”及“ */ ”這兩個符號有別於“ // ”，是可以將整段文字或是程式作為註解，編譯程式會自動略過這些內容。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;#define LED RED_LED&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;將RED_LED定義為LED，這是將板上紅色的LED燈定義成LED這個名稱。MSP-EXP430G2這張開發板板上有紅綠兩個LED燈，所以RED_LED就是一個特殊的名稱，特指板上的P1.0這個腳位，所以RED_LED這個名稱就不能再用了喔。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;#define LED GREEN_LED&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;將GREEN_LED定義為LED，這是將板上綠色的LED燈定義成LED這個名稱。與前面的RED_LED相同，GREEN_LED也是一個特殊的名稱，特指板上的P1.6這個腳位，所以GREEN_LED這個名稱就不能再用了喔。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;void setup (){&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; pinMode (LED, OUTPUT);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;void setup () { }&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;，這段程式是固定寫法，也就是將一開機要設定參數寫在這個大括號中，也就是說這個大括號中的指令只會執行一次，除非再重開MSP430開發板一次。在這個大括號裡面有條指令&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;pinMode(LED, OUTPUT);&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; 這可以解讀成將LED這個腳位的腳位模式pinMode定義為輸出OUTPUT。這裡要先補充一個電子知識，要用MSP430或是其他微處理器的腳位來點亮LED，要先將該腳位定義成“輸出”模式，這樣這個腳位才能輸出電壓及電流，這樣外接的電子零件才能動作。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;void loop() {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; digitalWrite (LED, HIGH);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; delay (1000);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; digitalWrite (LED, LOW);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;delay (1000);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;void loop () {}&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; 這段程式是固定寫法，當執行完前面的void setup(){}之後就會執行此段程式，且如同它的名稱一樣，此段程式會一直執行，就像是一個迴圈(loop)一樣。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;digitalWrite (LED, HIGH);&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; 可以解讀成用數位寫入(digitalWrite)的方式將LED這個腳位寫入HIGH的電位。依照MSP-EXP430G2開發板的電路圖，紅色LED燈的陽極端(A)接在P1.0，陰極端(K)接在ground，所以當P1.0的輸出電壓為高電壓，則在LED形成順偏，則這個LED燈就會亮起來了。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;delay (1000);&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; 可以解讀成用延遲(delay)1000毫秒。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;digitalWrite (LED, LOW);&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; 可以解讀成用數位寫入(digitalWrite)的方式將LED這個腳位寫入LOW的電位，即0V。如此這個LED就無法形成順偏，也就是熄滅的狀態。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;要注意&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#define LED RED_LED&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;及&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#define LED GREEN_LED&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;這兩條指令，RED_LED及GREEN_LED這兩個LED燈都定義成LED這個名稱，觀察程式的順序，是先將RED_LED定義成LED，再將GREEN_LED定義成LED，所以最後LED會是GREEN_LED，而不是RED_LED，&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;所以執行digitalWrite (LED, HIGH)這條指令時，只會亮起綠色的LED燈。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;可以預測這個程式的結果應該是綠色的LED亮一秒，滅一秒，接著亮一秒，滅一秒，如此循環。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;上傳程式碼到MSP-EXP430G2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiYRg1e0q6lU2DwNKiPFWUhO8OGbDstTazDGhNeP-hemS88w3Tw9ji3vLMEkk2ZXzQZfjvD23dZm5v_qmhpisEzfqJ60Qe_O2rVfNf-3O4poQdDBQJ4EzPC4SsZvYs-sP7RSVuZ3i6Ec5Hps82np9jZHHUJ9_zomOsP_-OO9hwg-yRD9u5K3306FKXAVg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;241&quot; data-original-width=&quot;383&quot; height=&quot;402&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiYRg1e0q6lU2DwNKiPFWUhO8OGbDstTazDGhNeP-hemS88w3Tw9ji3vLMEkk2ZXzQZfjvD23dZm5v_qmhpisEzfqJ60Qe_O2rVfNf-3O4poQdDBQJ4EzPC4SsZvYs-sP7RSVuZ3i6Ec5Hps82np9jZHHUJ9_zomOsP_-OO9hwg-yRD9u5K3306FKXAVg=w640-h402&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiDaJ8R75tgbyS0RZIvPapBITiu7EyjdRtU-45CPK1WlV_Cy4fcY2w7Xb8O3RIY7qRujrwx8v1_leEgWoHLM_Ql6i9iC5SBjodb-aVAX1AXSRLmWy_22HjaIOYwoIn5b652bNBZQYMNRwLz8D78TF6GPYoXWD7cYKqOqgKVTynNP9BPbSJw5kuD7yDT3Q&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;140&quot; data-original-width=&quot;231&quot; height=&quot;243&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiDaJ8R75tgbyS0RZIvPapBITiu7EyjdRtU-45CPK1WlV_Cy4fcY2w7Xb8O3RIY7qRujrwx8v1_leEgWoHLM_Ql6i9iC5SBjodb-aVAX1AXSRLmWy_22HjaIOYwoIn5b652bNBZQYMNRwLz8D78TF6GPYoXWD7cYKqOqgKVTynNP9BPbSJw5kuD7yDT3Q=w400-h243&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;上傳完畢&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhrNt7R91q6E0bETTtoPWYZ-THcp97TCZKl-hVa4TDcYaviy4lSwfIeLysTGMfJay5WKRlSQUtccyYLgIPKRET251S3Bou18zTAURTadXrWt80hZxt8hwqiQ-gSZYTGDrmRZCVmxPluGyM0nAQRR4vWL4rHPvah4eJ1276uCehHcL-qt9wGiahO1KvDKQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;335&quot; data-original-width=&quot;314&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhrNt7R91q6E0bETTtoPWYZ-THcp97TCZKl-hVa4TDcYaviy4lSwfIeLysTGMfJay5WKRlSQUtccyYLgIPKRET251S3Bou18zTAURTadXrWt80hZxt8hwqiQ-gSZYTGDrmRZCVmxPluGyM0nAQRR4vWL4rHPvah4eJ1276uCehHcL-qt9wGiahO1KvDKQ=w375-h400&quot; width=&quot;375&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;程式結果&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/8504262401320681106/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-004led.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8504262401320681106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8504262401320681106'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-004led.html' title='[MSP430]-004_點亮板上的LED燈'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEjL4bNUe2PAdTbRtWpChHVNq0v3ZlCEMO7PqdKgjShT_PMgB9r6PcY5u-D3cr22I7Hmf3S1bh4rAtbiQnnAEjNdJWdlPKO-GH858esJAn63NPB7yK8_Srx81LCAlSPMAjMJTkeAkBFTtbpG-VzwvXItz-xJVfHBg4X4sVZwNGLMuLz9y-cuoSw5GdIfKA=s72-w640-h384-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-5533518903723049966</id><published>2022-12-10T21:02:00.001+08:00</published><updated>2022-12-10T21:02:00.222+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSP430"/><title type='text'>[MSP430]-002_程式開發環境(CCS)</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/5533518903723049966/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-002ccs.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5533518903723049966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/5533518903723049966'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-002ccs.html' title='[MSP430]-002_程式開發環境(CCS)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-1148659981298099215</id><published>2022-12-06T21:56:00.005+08:00</published><updated>2022-12-06T21:56:43.061+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSP430"/><title type='text'>[MSP430]-003_程式開發環境(energia)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[MSP430]-003_程式開發環境(energia)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;TyponineSans Light 17&amp;quot;; vertical-align: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Energia 是一個開源的電子及程式開發&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TyponineSans Light 17&amp;quot;; vertical-align: inherit;&quot;&gt;平台，由 Robert Wessels 於 2012 年 1 月創立，目標是將 Wiring 和 Arduino 框架引入德州儀器的 MSP430 設計中。這樣可以讓原本習慣於Arduino使用者可以更方便的使用MSP430做為開發使用。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Energia官方網站&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;https://energia.nu/&lt;/span&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/AVvXsEgBoGwC-tfL7Hu6REDLT1Oti16UD4ObykmLVMZBVNLeH_eh2Vm1tz3X7btDsZ_7JQlblJkML2L7Nq7YAAfBPfC53Hwz3t5PnpO1YLBQ8x84lDDiHYPQjqZZzNw8guaW_ZXuz5ozX8TF8eepXI6FudWitvQZaDiOijfcF1fJpQiZoLNjj4-G3gSpnngnJA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;765&quot; data-original-width=&quot;998&quot; height=&quot;491&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgBoGwC-tfL7Hu6REDLT1Oti16UD4ObykmLVMZBVNLeH_eh2Vm1tz3X7btDsZ_7JQlblJkML2L7Nq7YAAfBPfC53Hwz3t5PnpO1YLBQ8x84lDDiHYPQjqZZzNw8guaW_ZXuz5ozX8TF8eepXI6FudWitvQZaDiOijfcF1fJpQiZoLNjj4-G3gSpnngnJA=w640-h491&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEjVLMIXmBM0s3Uo3-0WskAgiAmRcVZBQHr3Vot68_Mto83h2o4DT5B3nKAXpAnTwwCycg79_FrIx86Xf6vjRcCNYdMFDdrm-p9PzoHNkMJ8Lci0bXmP9yToKEJ5g4XmlPbRNr_qY-9P3PogIlZkQq0mCsuxkWC94r7LjbdcfwbWLDli1RGensH1q4vJ8w&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;848&quot; data-original-width=&quot;1236&quot; height=&quot;440&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjVLMIXmBM0s3Uo3-0WskAgiAmRcVZBQHr3Vot68_Mto83h2o4DT5B3nKAXpAnTwwCycg79_FrIx86Xf6vjRcCNYdMFDdrm-p9PzoHNkMJ8Lci0bXmP9yToKEJ5g4XmlPbRNr_qY-9P3PogIlZkQq0mCsuxkWC94r7LjbdcfwbWLDli1RGensH1q4vJ8w=w640-h440&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;和Arduino的IDE可以說是幾乎一模一樣啊！操左選單也是相同的，甚至連程式庫及上傳程式的方式也是相同的。比較明顯的差異大概就是Energia的操作介面是紅色的吧。這些類似的操作介面對於以前學Arduino的人可真的是一大好消息。&lt;/span&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/AVvXsEhREzvvyHC4352rxb73UTo2o70ei_beHiaHsOyuqQvLq7QrIUrVuZPTkujpEem1_arq0QC4JHuu8d3h2OvuNVH2ghXohlJ5ckPby3Zxr2Z_sz7gE-lv9vObxN_i-w3g3Q9USAzT_BSjf_Ul0rtBWt50MoKRAEKKp01TAHe6H98lz0YnYywfhxZbDAEGQw&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;592&quot; data-original-width=&quot;484&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhREzvvyHC4352rxb73UTo2o70ei_beHiaHsOyuqQvLq7QrIUrVuZPTkujpEem1_arq0QC4JHuu8d3h2OvuNVH2ghXohlJ5ckPby3Zxr2Z_sz7gE-lv9vObxN_i-w3g3Q9USAzT_BSjf_Ul0rtBWt50MoKRAEKKp01TAHe6H98lz0YnYywfhxZbDAEGQw=w523-h640&quot; width=&quot;523&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&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/AVvXsEipglDtmyEQez4PLr4hKcyx_tZvAujxhyR8nfvCA1hO2pGlRpunYTvEw3Wn5q2Pr2DqKbnnF8Qrkm7LY5rbH1lOm4gWe0zngcRYjV3M3zQGzYGd6OZzQ-JmLkPb3ukZ7hXPcHzR_S3a5mPdQz0tkXCUGybsjF52_7bxMRk7BZxDuXgLM3kSti1e6R7eEQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;592&quot; data-original-width=&quot;484&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEipglDtmyEQez4PLr4hKcyx_tZvAujxhyR8nfvCA1hO2pGlRpunYTvEw3Wn5q2Pr2DqKbnnF8Qrkm7LY5rbH1lOm4gWe0zngcRYjV3M3zQGzYGd6OZzQ-JmLkPb3ukZ7hXPcHzR_S3a5mPdQz0tkXCUGybsjF52_7bxMRk7BZxDuXgLM3kSti1e6R7eEQ=w523-h640&quot; width=&quot;523&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;接下來會用Arduino的專案來直接套用在MSP430+Energia來比較看看兩者是否類似。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/1148659981298099215/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-003energia.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/1148659981298099215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/1148659981298099215'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-003energia.html' title='[MSP430]-003_程式開發環境(energia)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEgBoGwC-tfL7Hu6REDLT1Oti16UD4ObykmLVMZBVNLeH_eh2Vm1tz3X7btDsZ_7JQlblJkML2L7Nq7YAAfBPfC53Hwz3t5PnpO1YLBQ8x84lDDiHYPQjqZZzNw8guaW_ZXuz5ozX8TF8eepXI6FudWitvQZaDiOijfcF1fJpQiZoLNjj4-G3gSpnngnJA=s72-w640-h491-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-6793558370488881258</id><published>2022-12-06T20:49:00.008+08:00</published><updated>2022-12-11T21:22:00.051+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSP430"/><title type='text'>[MSP430]-001_初探及版本選擇</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;[MSP430]-001_初探及版本選擇&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 目前微處理器有非常多的選擇，且各大晶片廠也有推出各自的微處理器，但市面上還是以Arduino最為熱門，受到創客或是初學者們的喜愛。Arduino得力於簡易的程式語法及容易在網上查到許多應用，所以這幾年來一直很火熱。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 此篇要要介紹的&lt;/span&gt;&lt;span&gt;是TI (德州儀器)所推出的16位元，且低成本的嵌入式為處理器，MSP430。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 其實在幾年前就已經購買過MSP430的開發版，還記的整個開發板的的價錢才10美金，要注意一下，這是原廠的售價喔，不像是Arduino的開發板，就算是最便宜的Arduino Micro，原廠的要20美金左右，只有買副廠或是所謂的相容板才有可能低於10美金。就算只買MCU，Arduino上面使用的是Atmel的ATMEGA328P，單買這顆IC就要新台幣100元左右，而MS430最便宜的IC居然只要新台幣20元而已，而且MSP430的型號眾多，絕對可以挑到最適合自己的CHIP，可以不用遷就於較而貴的Arduino。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 關於MSP430的詳細資料可以查閱TI的官方網站。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;https://www.ti.com/microcontrollers-mcus-processors/microcontrollers/msp430-microcontrollers/overview.html&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MSP430的型號眾多，可以依照應用、記憶體大小及腳為數量來精確選擇所需的CHIP，選定所需的型號後，也可以直接在TI網站上查詢價格或購買，非常的方便。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi7F3BmSAEYiWZDzS8gxEKBQomVDj8Qx8v0geITEQKrQijPN45GCkYVUkLnd0agqV7INCyhoGGViNiDW-3tcD68-yJMN1hECtPSp-4hYUOqAbPaaLJxMkGOiaNSfXdGqYq2BIKlF_vd9BWPYB6V_AuIbZ_BL772L--W6JyqGYgn-fUWKwv4qzY1D9tJqw&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;885&quot; data-original-width=&quot;999&quot; height=&quot;567&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi7F3BmSAEYiWZDzS8gxEKBQomVDj8Qx8v0geITEQKrQijPN45GCkYVUkLnd0agqV7INCyhoGGViNiDW-3tcD68-yJMN1hECtPSp-4hYUOqAbPaaLJxMkGOiaNSfXdGqYq2BIKlF_vd9BWPYB6V_AuIbZ_BL772L--W6JyqGYgn-fUWKwv4qzY1D9tJqw=w640-h567&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;TI MSP430晶片選擇&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 至於為什麼沒有繼續使用MSP430，那是因為軟體的開發環境，有點不太容易上手，所以沒寫幾次就放棄了，所以這幾年就改用Arduino做為開發了，但最近上網查資料的時候，發現MSP430也有類似的開發環境，而且跟Arduino IDE非常類似，所以又重新燃起了學習的動力。&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 這次用的MSP430開發板用的是MSP-EXP430G2，也就是可以買到的最低價的開發板了，除了便宜好入手之外，且上傳程式碼到開發板也只要一條USB線即可，開發環境也是免費好取得。日後當然還是會使用其他的開發板，但是在此之前的基礎實驗都會是這一開發板來完成。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjsL33etoRkQ7rfDPa-cmDh2G8Gfkk_MTSaL95NgPvBLmCByXe1us6MGoqGmi13-CUaSNEr11YD1Jjp8W0oHLb6GP-T8EK8MmPytHIEkHVe-BmwrslCb-sESSOug8y9jxd7ZatbY0gYITERwe8AI0R5HPEYsQGupDL2bfW9TVUOzt0XMKELRlk2tYvtlQ&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;348&quot; data-original-width=&quot;261&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjsL33etoRkQ7rfDPa-cmDh2G8Gfkk_MTSaL95NgPvBLmCByXe1us6MGoqGmi13-CUaSNEr11YD1Jjp8W0oHLb6GP-T8EK8MmPytHIEkHVe-BmwrslCb-sESSOug8y9jxd7ZatbY0gYITERwe8AI0R5HPEYsQGupDL2bfW9TVUOzt0XMKELRlk2tYvtlQ=w480-h640&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;MSP-EXP430G2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;資料連結：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. MSP-EXP430G2實驗板資料&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;https://datasheet.octopart.com/MSP-EXP430G2-Texas-Instruments-datasheet-10979810.pdf&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/6793558370488881258/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-01.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6793558370488881258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6793558370488881258'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/12/msp430-01.html' title='[MSP430]-001_初探及版本選擇'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEi7F3BmSAEYiWZDzS8gxEKBQomVDj8Qx8v0geITEQKrQijPN45GCkYVUkLnd0agqV7INCyhoGGViNiDW-3tcD68-yJMN1hECtPSp-4hYUOqAbPaaLJxMkGOiaNSfXdGqYq2BIKlF_vd9BWPYB6V_AuIbZ_BL772L--W6JyqGYgn-fUWKwv4qzY1D9tJqw=s72-w640-h567-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-6558860683734006143</id><published>2022-10-02T21:58:00.000+08:00</published><updated>2023-02-05T21:26:21.169+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>[Arduino]-003_點亮Arduino UNO板上的LED燈</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/6558860683734006143/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-003arduino-unoled.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6558860683734006143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/6558860683734006143'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-003arduino-unoled.html' title='[Arduino]-003_點亮Arduino UNO板上的LED燈'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-8132581984747789922</id><published>2022-09-25T21:58:00.003+08:00</published><updated>2023-02-05T21:46:35.840+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>[Arduino]-002_程式開發環境</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;可以在搜尋引擎中輸入arduino並搜尋arduino的官網，或是直接在瀏覽器位置欄中直接輸入Arduino.cc來進入arduino的官網。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;進入Arduino精美的官網中，可以看到有許多的文宣和資源可以參考。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjSKJZ_IGYS4mHYLcc_nuz1kDolm_4lfFbkpZhipQ0HpOGVN9NkIQxqAF1fMVCCYKrQmEhXa0GGkSBD3RGmvV3k9S_puXOqeDZo6BwHkK8YdtMFFzW4MfvyQIzrpJHkNyCrnwFIFARbP0RNWGwSgSLItMA7NRFw3hpjl2HK84mIcX68sZjH9ob0ZjWI2w&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;944&quot; data-original-width=&quot;1777&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjSKJZ_IGYS4mHYLcc_nuz1kDolm_4lfFbkpZhipQ0HpOGVN9NkIQxqAF1fMVCCYKrQmEhXa0GGkSBD3RGmvV3k9S_puXOqeDZo6BwHkK8YdtMFFzW4MfvyQIzrpJHkNyCrnwFIFARbP0RNWGwSgSLItMA7NRFw3hpjl2HK84mIcX68sZjH9ob0ZjWI2w=w640-h340&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;在官網上方，點選SOFTWARE，並下在Arduino的開發工具，Arduino IDE。&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEja8K-UgXt6oR6h955ebGHi6LU3DovssbU5xu2joXqCInXSFR5OQCdw43ajI3ZqmjwP40XjbZho_3Bap3dHqjP7yEDRU5MCia3BIYRMm8XNybSjCnLIEMIfWCB0kQdtm5-gMFJOK3NqYmpKEZKwDRvB-eKh3Fjl1BabgBDVuS6lQaQE_9Mup5GYe3Ax9A&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;121&quot; data-original-width=&quot;993&quot; height=&quot;78&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEja8K-UgXt6oR6h955ebGHi6LU3DovssbU5xu2joXqCInXSFR5OQCdw43ajI3ZqmjwP40XjbZho_3Bap3dHqjP7yEDRU5MCia3BIYRMm8XNybSjCnLIEMIfWCB0kQdtm5-gMFJOK3NqYmpKEZKwDRvB-eKh3Fjl1BabgBDVuS6lQaQE_9Mup5GYe3Ax9A=w640-h78&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;在下載頁面中，可以依據自己電腦的作業系統來安裝對應Arduino IDE。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&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/AVvXsEg-agJlF_SEvRlh51ZpjspuKrwgnrWcC3cxJ2BJAiFAc_wEcO9eBvl7BnsnOdf3UA4q3zYDHn86H8fGbxIbjojD3HXlLBMcRZKqgrGW-r4HAD5p9oLLce-3MHaehdNykF3sMtolw68SqOZFeBTzM1CaZD1ripSVz__0WZI_tUuDIS2UGLlTYMtzWSgw3Q&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;627&quot; data-original-width=&quot;1105&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg-agJlF_SEvRlh51ZpjspuKrwgnrWcC3cxJ2BJAiFAc_wEcO9eBvl7BnsnOdf3UA4q3zYDHn86H8fGbxIbjojD3HXlLBMcRZKqgrGW-r4HAD5p9oLLce-3MHaehdNykF3sMtolw68SqOZFeBTzM1CaZD1ripSVz__0WZI_tUuDIS2UGLlTYMtzWSgw3Q=w640-h364&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&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;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;在下載之前，會跳出一個視窗，希望可以捐款贊助Arduino的發展，這部分就依據自身的經濟條件來決定囉。也可以直接點選JUST DOWNLOAD即可。&lt;/span&gt;&lt;/div&gt;&lt;/div&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;div style=&quot;text-align: left;&quot;&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/AVvXsEjdpWBS-k6a6ngGelA0IEmFcY97ozcbAAcsJNWK4h2Zdnt1WEKAh6rCOxE1v1G4pg_Kjr5VhQeFlhdL8wj8mlYXAKqRtaUzCW8o3J4kMTwdW_y8auqfb6iIhSikDesGhcYIubiPwj_qVUp8G-FMjkx0EHIoJi31uUQBuOC1yfMy0CpcZZe03leStzK0nQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;364&quot; data-original-width=&quot;725&quot; height=&quot;322&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjdpWBS-k6a6ngGelA0IEmFcY97ozcbAAcsJNWK4h2Zdnt1WEKAh6rCOxE1v1G4pg_Kjr5VhQeFlhdL8wj8mlYXAKqRtaUzCW8o3J4kMTwdW_y8auqfb6iIhSikDesGhcYIubiPwj_qVUp8G-FMjkx0EHIoJi31uUQBuOC1yfMy0CpcZZe03leStzK0nQ=w640-h322&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;下載完程式之後，可以直接安裝，在安裝過程中都一直按下一步即可完成安裝。安裝完程式會自動啟動Arduino IDE，在第一次執行IDE時，程式會自動安裝一些更新程式，等他自己跑完即可。&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi4d6LpotxSN0Uxy_96RSE9yYiMWOSGsLleQKngGi32o_OrbhnHtozM2v02tcczGyBwS9j6sXysTDhoC205uZSPdDXFinfNUf0OWYvotEAkbmi58K7p-L1aBQ0BnO2nXkIiLiy6RwVY4uSzA6V2uXZJDu2HcGF73MOLaHQUsH_ZLRLFVSy61GfQsDFN1w&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;712&quot; data-original-width=&quot;1263&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi4d6LpotxSN0Uxy_96RSE9yYiMWOSGsLleQKngGi32o_OrbhnHtozM2v02tcczGyBwS9j6sXysTDhoC205uZSPdDXFinfNUf0OWYvotEAkbmi58K7p-L1aBQ0BnO2nXkIiLiy6RwVY4uSzA6V2uXZJDu2HcGF73MOLaHQUsH_ZLRLFVSy61GfQsDFN1w=w640-h360&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;最後會跳出Arduino USB的驅動程式，也是直接按安裝即可。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&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/AVvXsEgjwVQ0SJYuOk2FS7EWfNBwL9ileiplJVAI7iEy_7AASMAgBrboGtDXZD7_mGlwowWb3M-g6uKTIpViNPfmZ6RIuMvAtncnoXiITv0Mh0chKD5abtENJiE6s1bDRIoPsl0gHulI-LvXQGm1Cc4l41kHA6NPYcS2gdilJQYaZiL75jU5GZBCZCHbSapU6Q&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;280&quot; data-original-width=&quot;559&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgjwVQ0SJYuOk2FS7EWfNBwL9ileiplJVAI7iEy_7AASMAgBrboGtDXZD7_mGlwowWb3M-g6uKTIpViNPfmZ6RIuMvAtncnoXiITv0Mh0chKD5abtENJiE6s1bDRIoPsl0gHulI-LvXQGm1Cc4l41kHA6NPYcS2gdilJQYaZiL75jU5GZBCZCHbSapU6Q=w400-h200&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/8132581984747789922/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-002.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8132581984747789922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/8132581984747789922'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-002.html' title='[Arduino]-002_程式開發環境'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEjSKJZ_IGYS4mHYLcc_nuz1kDolm_4lfFbkpZhipQ0HpOGVN9NkIQxqAF1fMVCCYKrQmEhXa0GGkSBD3RGmvV3k9S_puXOqeDZo6BwHkK8YdtMFFzW4MfvyQIzrpJHkNyCrnwFIFARbP0RNWGwSgSLItMA7NRFw3hpjl2HK84mIcX68sZjH9ob0ZjWI2w=s72-w640-h340-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5741591232295546050.post-2961851725130491437</id><published>2022-09-16T22:47:00.003+08:00</published><updated>2022-12-06T21:57:55.422+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>[Arduino]-001_初探及選擇Arduino版本</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/2961851725130491437/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-01arduino.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/2961851725130491437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/2961851725130491437'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/09/arduino-01arduino.html' title='[Arduino]-001_初探及選擇Arduino版本'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-2572491609608661901</id><published>2022-07-09T10:46:00.001+08:00</published><updated>2022-07-09T10:46:00.202+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電子電路"/><title type='text'>[電子電路]變容二極體介紹(2)_Varactor diode(2)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;[電子電路]變容二極體介紹(2)_Varactor diode(2)&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/2572491609608661901/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/07/2varactor-diode2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/2572491609608661901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/2572491609608661901'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/07/2varactor-diode2.html' title='[電子電路]變容二極體介紹(2)_Varactor diode(2)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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-5741591232295546050.post-3296087659213119051</id><published>2022-07-01T22:45:00.003+08:00</published><updated>2022-07-01T22:45:36.562+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電子電路"/><title type='text'>[電子電路]變容二極體介紹(1)_Varactor diode(1)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif;&quot;&gt;電子電路&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif;&quot;&gt;變容二極體介紹(1)&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;_Varactor Diode(1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;變容二極體&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(varactor diode)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，中文翻譯很清楚明瞭，就是這個二極體的內部電容性會依偏壓的改變而改變動。一般常看到的英文有&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;varactor diode&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;或&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;tuning diode&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，不管中英文，都可以從字義中看出變容二極體中特性可調或可變動的性質。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;以下是變容二極體常見的電路符號，通常是在負極&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(Cathode)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;端，加上一個代表電容的一組平行線。這樣的符號可以清楚的表達變容二極體的特性，就像是一個二極體加上一個可變電容的結合。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&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/AVvXsEgWF3Qka-QlpPoECdz632j_y6Pp5sQYdg-HlArPdEesWiQPH2dwsvTX_SOE7KgQtvDprwLZcDnHP_HTfjvKp6y-Nvl3FpyZAytP57DDgE9YTG0BCV__TfwRiR4yUmidMVeJfxNV5tDwAJW7WNF8-dkuprIXooe-Sc8Kw-4yk3YY5HbjmyZkxa2XMMIm9w&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;108&quot; data-original-width=&quot;1063&quot; height=&quot;66&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgWF3Qka-QlpPoECdz632j_y6Pp5sQYdg-HlArPdEesWiQPH2dwsvTX_SOE7KgQtvDprwLZcDnHP_HTfjvKp6y-Nvl3FpyZAytP57DDgE9YTG0BCV__TfwRiR4yUmidMVeJfxNV5tDwAJW7WNF8-dkuprIXooe-Sc8Kw-4yk3YY5HbjmyZkxa2XMMIm9w=w640-h66&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;變容二極體的偏壓時的電壓及電流特性就和一般的二極體一樣，如圖。當順偏電壓大於臨界電壓&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Vth (&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;0.7V)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;時，則二極體內部電阻很小，整個二極體接近於導通的狀態。當逆偏電壓大於崩潰電壓&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Vb&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;時，則二極體也會有大量的逆向電流。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&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/AVvXsEg2C4_nTGJ5_mihKeJBsvKVxH5Lu8RqOvdrmgGa4WMQfhO98arokfWK4-XBekFka3FpYd8LzbK2DOfrbM3GXVwfxad1KJt7D5Z7h_-Voh7cjqxkef65-BcNUxwq7KAAhGM-NjkwNgxWxDXLCQdYZu0vKy7X-aXp8LdRhEUkp-3_w8WWeTsX1o5qgmZ2xQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;545&quot; data-original-width=&quot;709&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg2C4_nTGJ5_mihKeJBsvKVxH5Lu8RqOvdrmgGa4WMQfhO98arokfWK4-XBekFka3FpYd8LzbK2DOfrbM3GXVwfxad1KJt7D5Z7h_-Voh7cjqxkef65-BcNUxwq7KAAhGM-NjkwNgxWxDXLCQdYZu0vKy7X-aXp8LdRhEUkp-3_w8WWeTsX1o5qgmZ2xQ=w400-h308&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;從變容二極體的物理結構中，可以分析其電容特性的產生及變化。變容二極體可以看成是一個&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;PN&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;介面&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(PN junction)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，當在此&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;PN&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;介面上加一逆向電壓，則&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;中的電洞會被吸引到電源的負極，而&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;N&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;中的電子會被吸引到電源的正極，此一來，在此&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;PN&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;介面的中間則會產生一個沒有電洞也沒有電子的區域，稱之為空乏區，此空乏區的寬度會隨著逆向電壓的變化而變化。當逆向電壓變大，則空乏區的寬度會變大，造成此變容二極體的電容量變小。當減小逆向電壓，則空乏區的寬度會變小，造成此變容二極體的電容量變大。利用這樣的特性，就可以利用電壓來控制變容二極體的電容大小。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&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/AVvXsEg29aYSN2DyEZzzXuDnT-DOp9Yos7We2rMA4G2eCDi4XrLOTgRR0zV1I_XbGP5cA_M2H88Xql-iuNlRxRlcNzE_84XDgScQdczI60FFLmR-P5EQLqwHJ_cWG-sYd1gNTBqZJg00n-EccCikpNd6KMYWG6rycaMOiuLgMFLfkABds-b_v12rcqva7qWcAg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;473&quot; data-original-width=&quot;709&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg29aYSN2DyEZzzXuDnT-DOp9Yos7We2rMA4G2eCDi4XrLOTgRR0zV1I_XbGP5cA_M2H88Xql-iuNlRxRlcNzE_84XDgScQdczI60FFLmR-P5EQLqwHJ_cWG-sYd1gNTBqZJg00n-EccCikpNd6KMYWG6rycaMOiuLgMFLfkABds-b_v12rcqva7qWcAg=w400-h266&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;了解變容二極體的原理之後，可以將變容二極體等效成以下的電路模型。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Lp&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;為因零件封裝&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(package)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;所造成的寄生電感，&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Cp&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;為零件封裝所造成的寄生電容&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(Cp)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Cj(v)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;PN&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;介面&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(junction)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;因逆偏電壓所造成的電容特性，&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Cj(v)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;是逆偏電壓&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;V&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;的函數。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Rs(v)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;則是逆偏電壓所造成的的電阻特性，&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Rs(v)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;也是逆偏電壓&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;V&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;的函數。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&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/AVvXsEgn5Ci6kmNd7JfCUQT3SwF9gEIei8k-pJ2yrWTB_UX4J3W8SRTxjQFxBHLALYsRsmosP-YOmN6mpYRYQXwYMlOkgNjuVWyxCYurZ-w-d_K14nhnW1u3pxE3QIGJqeOhRejopzRUJBaXf1jGWa2MYaoa-oZzcwUd3JNRgqKgAeyfSfM1WYGib8rsjymHog&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;317&quot; data-original-width=&quot;709&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgn5Ci6kmNd7JfCUQT3SwF9gEIei8k-pJ2yrWTB_UX4J3W8SRTxjQFxBHLALYsRsmosP-YOmN6mpYRYQXwYMlOkgNjuVWyxCYurZ-w-d_K14nhnW1u3pxE3QIGJqeOhRejopzRUJBaXf1jGWa2MYaoa-oZzcwUd3JNRgqKgAeyfSfM1WYGib8rsjymHog=w400-h179&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;在選擇變容二極體時，有幾個關鍵參數需要注意。&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;逆向崩潰電壓及逆向漏電流&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;電容值及電容對電壓特性&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;電容值對溫度變化的特性&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;品質參數&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;封裝&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;逆向崩潰電壓及逆向漏電流&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;電容值及電容對電壓特性&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;變容二極體由外加逆向偏壓而造成電容量的變更，可以描繪出電壓對應於電容的特性圖，如下圖。其中電容及電壓值均取對數值，則此特性曲線的斜率為稱之為此變容二極體的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Gamma&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值。變容二極體的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;gamma&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值約為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;0.5&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;或&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;0.47&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，一般稱之為陡峭型變容二極體&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(abrupt varactor diode)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;。其中Φ為變容二極體內部的電位值。若是矽&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(silicon)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;材料製成的變容二極體，Φ值約為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;0.7V&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，而使用鎵&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(gallium)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;材料製成的變容二極體，Φ值約為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;1.3V&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;。還有一些&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;gamma&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值大於&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;0.5&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;的變容二極體，會被稱之為超陡峭型變容二極體&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(hyperabrupt varactor diode)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEiFc6sqF479zEG7pEO-E4EOKQP8kbnov_VNVUqusvQasdUq3iE46TPenfeRoDaTpU78FqadxIJO2moMk5kh5jREFCpT99XTojDCU60lGQeMUH7RNkHbIb17dnc_GVymHKXr-yiWkaB5Uv65Fm-8RrWwrTWdWB6o3ENoR7hgdOCeko1m5CqiCEDpQ6ky7Q&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;443&quot; data-original-width=&quot;709&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiFc6sqF479zEG7pEO-E4EOKQP8kbnov_VNVUqusvQasdUq3iE46TPenfeRoDaTpU78FqadxIJO2moMk5kh5jREFCpT99XTojDCU60lGQeMUH7RNkHbIb17dnc_GVymHKXr-yiWkaB5Uv65Fm-8RrWwrTWdWB6o3ENoR7hgdOCeko1m5CqiCEDpQ6ky7Q=w400-h250&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&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/a/AVvXsEgSjeeh-qPrFs5nX6Vh9vmQgRLhfarB5ElfNVz1pi62-xmqzjEd3BMpUmGeP-_SVJlaCazle0RAG_Jp6OqIK91ZtxIMYflkKfMLmdUWRGjPYNCseN97TVxgUDHGOe-u91ujpu0w9Qspok2qYpv_xdNbHZuA5E5yRxSop-Zy4iVZED2ItcQ5E58C53hkPQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;443&quot; data-original-width=&quot;709&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgSjeeh-qPrFs5nX6Vh9vmQgRLhfarB5ElfNVz1pi62-xmqzjEd3BMpUmGeP-_SVJlaCazle0RAG_Jp6OqIK91ZtxIMYflkKfMLmdUWRGjPYNCseN97TVxgUDHGOe-u91ujpu0w9Qspok2qYpv_xdNbHZuA5E5yRxSop-Zy4iVZED2ItcQ5E58C53hkPQ=w400-h250&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;電容值對溫度變化的特性&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;變容二極體的電容量是隨著溫度上升而增加，隨著溫度下降而降低。一般是使用每變化一度攝氏溫度而改變的電容值，單位為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;ppm&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;。以下是個常用的電容值及溫度的經驗關係式。陡峭型變容二極體的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;K&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值一般是取&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;2300&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;，而超陡峭型變容二極體的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;K&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值一般是取&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;1700&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;。&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;由此關係式，可以推論出通常&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;gamma&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;越高，則電容值對於溫度的變化越敏感。且超陡峭型變容二極體的電容值對於溫度的變化也會比陡峭型變容二極體更敏感。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&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/AVvXsEjrE1RvtcAUspDQBfjuuAH2vH8o1-384ncdoQWPDDrPjJ4Lh0JUsDKCUnF791deBNbof3POuJg2N1YP6qxXbJgwflJTCGRZcZpac7uU9QbNtIXQ9glBI2aakwr3eZ-x1E1ryonsp4MSvz1GVJsK1gbtG7mq5NxT2Oqm_3p4BKFXSwEG89zNAminwZ8q_g&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;123&quot; data-original-width=&quot;704&quot; height=&quot;70&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjrE1RvtcAUspDQBfjuuAH2vH8o1-384ncdoQWPDDrPjJ4Lh0JUsDKCUnF791deBNbof3POuJg2N1YP6qxXbJgwflJTCGRZcZpac7uU9QbNtIXQ9glBI2aakwr3eZ-x1E1ryonsp4MSvz1GVJsK1gbtG7mq5NxT2Oqm_3p4BKFXSwEG89zNAminwZ8q_g=w400-h70&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;品質參數&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;品質參數就是一般所說的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Q&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值，定義為儲存能量與散失能量的比值，越大越好。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Q&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值最直接會影響到變容二極體的操作頻率，越高的&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;Q&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;值就代表越少的能量散失。&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Q=Energy Stored / Energy Dissipated&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;封裝&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;越小的封裝通常有較小的寄生電感&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(Lp)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;及寄生電容&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(Cp)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;變容二極體可以利用外加的電壓來控制電容量大小，常見的應用多為調相&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(phase)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;、調頻&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(frequency)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;及諧調&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: large;&quot;&gt;(tuning)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif; font-size: large;&quot;&gt;電路。&lt;/span&gt;&lt;/div&gt;&lt;p&gt;













































&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yufan-fansbook.blogspot.com/feeds/3296087659213119051/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/07/1varactor-diode1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3296087659213119051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5741591232295546050/posts/default/3296087659213119051'/><link rel='alternate' type='text/html' href='http://yufan-fansbook.blogspot.com/2022/07/1varactor-diode1.html' title='[電子電路]變容二極體介紹(1)_Varactor diode(1)'/><author><name>yufan</name><uri>http://www.blogger.com/profile/13262767430523938386</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/AVvXsEgWF3Qka-QlpPoECdz632j_y6Pp5sQYdg-HlArPdEesWiQPH2dwsvTX_SOE7KgQtvDprwLZcDnHP_HTfjvKp6y-Nvl3FpyZAytP57DDgE9YTG0BCV__TfwRiR4yUmidMVeJfxNV5tDwAJW7WNF8-dkuprIXooe-Sc8Kw-4yk3YY5HbjmyZkxa2XMMIm9w=s72-w640-h66-c" height="72" width="72"/><thr:total>0</thr:total></entry></feed>