[開箱] Arduino UNO R3 義大利原廠開發板,入門使用教學

這是義大利原裝進口的 Arduino UNO R3 原廠開發板,適合用來開發各類的感測器或物聯網應用。

Arduino UNO

Arduino 是一個開放原始碼的開發平台,包含硬體與軟體都是以開放原始碼的方式釋出的,使用者可以使用它來開發各式各樣的應用,以下是簡單的開箱介紹。

這是原廠外盒。

Arduino UNO

內容物除了 Arduino UNO R3 的板子之外,還有簡單的說明書與貼紙。

Arduino UNO

Arduino UNO R3 正面照片,中間那個黑色的就是最主要的 ATmega328P 微控制器(MCU)。

Arduino UNO

這是背面的樣子。

Arduino UNO

側面有各個針腳的標示,這一側是電源(power)與類比輸入(analog in)。

Arduino UNO

這是另外一面,這邊是數位(digital)的部分。

Arduino UNO

在開始開發前,要準備一條標準的 USB 線(A 型轉 B 型,這種線通常是印表機在用的):


利用這條 USB 線連接電腦之後,就可以開始使用 Arduino UNO 了。

Arduino UNO

Arduino 有一個非常容易上手的 IDE 開發環境,請先到 Arduino 的官方網站下載 Arduino Software,它同時支援 Windows、Mac OS X 與各種的 Linux 系統,支援性非常好,請依照自己的系統類型來安裝。

安裝好之後,打開 Arduino 的 IDE,會像這個樣子:


在這裡我們就可以開始開發程式了,而對於初學者而言,可以先從範例程式開始學習。Arduino IDE 環境中有很多內建的範例,對於剛入門的初學者而言非常方便。

這裡我們隨便開啟一個 Blink 的範例程式。


Blink 這個範例是讓 Arduino 板子上面的 LED 燈閃爍,再打開程式之後,如果要把這個程式放進 Arduino UNO 中執行,只要按下上傳程式的按鈕即可。


當程式上傳完成後,下方會有 Done uploading 的訊息,另外還有一些空間使用率的資訊,以 Arduino UNO 而言,他只有 32 KB 的快閃記憶體(flash),而這個程式用掉了 1KB 左右(1,030 bytes)。

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

當程式上傳完畢之後,Arduino UNO 會自動執行剛剛上傳的程式,所以這時候板子上面的 LED 燈應該已經開始在閃了。

不過 Arduino UNO 出場預設燒錄的程式就會讓 LED 燈不斷閃爍,所以燒進這個程式可能感覺沒什麼變化,您可以更改程式中的延遲時間,例如將 delay(1000) 改為 delay(500),這樣就會有些不一樣了。

Arduino 的官方網站上有很多開發者資源,包含各種文件與範例,建議初學者多多利用。
本站已經搬家了,欲查看最新的文章,請至 G. T. Wang 新網站

31 則留言:

  1. It was an awesome post to be sure. I completely delighted in understanding it in my noon. Will without a doubt come and visit this blog all the more frequently. A debt of gratitude is in order for sharing 바카라사이트

    回覆刪除
  2. Your article reflects the issues people care about. The article provides timely information that reflects multi-dimensional views from multiple perspectives. 토토사이트

    回覆刪除
  3. In the recent years most of them are doing projects in Arduino. I need to know to more about Arduino. But anyway this one is a good project to try. Thanks for sharing this technical informative blog. Because of your blog I am much more curious to learn more about Arduino. Keep sharing more technical blogs. Protective Order In Virginia

    回覆刪除
  4. I've learned something exciting and educative from your post. Thank You. DUI Lawyer Dinwiddie VA

    回覆刪除
  5. A comprehensive and well-explained introduction to the Arduino UNO board for both beginners and enthusiasts. Great for learning and developing IoT applications! Divorcio en Nueva York Estado Costo

    回覆刪除
  6. Accidente de Camionero ConductorThe Arduino UNO R3 development board, imported from Italy, is a genuine product that is suitable for developing various sensors and Internet of Things (IoT) applications. The authenticity of the product is emphasized through the mention of "original" and "imported from Italy," adding a touch of quality to the description. The development board's primary function is in electronics and programming projects, and its reference to the Arduino UNO R3 model provides clarity for those familiar with Arduino products. The versatility of the board encourages a wide range of creative applications, and its inclusion of "sensors" and "Internet of Things applications" hints at its contemporary capabilities. The brevity of the passage makes it easy to understand the key features and applications of the Arduino UNO R3, appealing to those who associate Italian products with craftsmanship or quality.

    回覆刪除
  7. abogados de divorcio sin oposición virginia beacha touch of quality to the description. The development board's primary function is in electronics and programming projects, and its reference to the Arduino UNO R3 model provides clarity for those familiar with Arduino products. The versatility of the board encourages a wide range of creative applications, and its inclusion of "sensors"

    回覆刪除
  8. The Arduino UNO R3 is a versatile and user-friendly microcontroller board suitable for both beginners and experienced enthusiasts. Its compatibility with various sensors and peripherals makes it suitable for projects ranging from simple prototypes to complex robotics. Despite its compact design and affordability, some users may face compatibility issues or limited memory capacity for advanced projects. Despite these challenges, the Arduino UNO R3 offers excellent value and functionality for various electronic projects.
    New Jersey Domestic Violence Attorney Cherry Hill

    回覆刪除
  9. divorce custody lawyer hampton vaThe versatility of the board encourages a wide range of creative applications, and its inclusion of "sensors" and "Internet of Things applications" hints at its contemporary capabilities.

    回覆刪除
  10. Finding a knowledgeable DUI attorney is essential if you're facing a DUI arrest in Rockingham, Virginia. They can help you through the court system, defend your rights, and maybe lessen the effects. Never be reluctant to seek out knowledgeable legal counsel.
    dui lawyer rockingham va

    回覆刪除
  11. The Arduino UNO R3 is a versatile microcontroller board renowned for its ease of use and wide range of applications. With its robust design and extensive community support, it's an ideal choice for both beginners and experienced makers alike. From hobby projects to professional prototyping, the Arduino UNO R3 empowers creators to bring their ideas to life with ease and efficiency. best personal injury attorney in virginia

    回覆刪除
  12. The development board's primary function is in electronics and programming projects, and its reference to the Arduino UNO R3 model provides clarity for those familiar with Arduino products. The versatility of the board encourages a wide range of creative applications, and its inclusion of "sensors" To get a clear guidance about ex parte protective order virginia Our skilled legal team is here to help you.

    回覆刪除
  13. The Arduino UNO R3 is a versatile microcontroller board renowned for its ease of use and wide range of applications. With its robust design and extensive community support, it's an ideal choice for both beginners and experienced makers alike. From hobby projects to professional prototyping, the Arduino UNO R3 empowers creators to bring their ideas to life with ease and efficiency. Looking for a manassas motorcycle accident lawyer Our skilled legal team is here to help you.

    回覆刪除
  14. GTWang Blog: A digital oasis where typography and design converge in a symphony of creativity. With insights from industry experts and a passion for all things typographic, it illuminates the artistry behind letterforms and the nuances of visual communication. Dive into a world where words transcend mere text and become visual poetry.
    new jersey divorce law





    回覆刪除
  15. In the recent years most of them are doing projects in Arduino. I need to know to more about Arduino. But anyway this one is a good project to try. Thanks for sharing this technically informative blog. Because of your blog I am much more curious to learn more about Arduino. Keep sharing more technical blogs. To get a clear guidance about manassas auto accident lawyer Our skilled legal team is here to help you.

    回覆刪除
  16. alexandria va divorce lawyerThe Top 5 Free Things to Do in Maidstone" offers a concise yet insightful guide for budget-conscious travelers exploring the area. With recommendations ranging from scenic parks and historic landmarks to cultural attractions and local markets, this list provides a diverse array of experiences to suit every interest.

    回覆刪除
  17. alexandria va divorce lawyerThe development board's primary function is in electronics and programming projects, and its reference to the Arduino UNO R3 model provides clarity for those familiar with Arduino products. The versatility of the board encourages a wide range of creative applications, and its inclusion of "sensors" and "Internet of Things applications" hints at its contemporary capabilities

    回覆刪除
  18. virginia dui 7 day suspensionWith its robust design and extensive community support, it's an ideal choice for both beginners and experienced makers alike. From hobby projects to professional prototyping, the Arduino UNO R3 empowers creators to bring their ideas to life with ease and efficiency. Instead, the Fourth Amendment to the United States Constitution protects drivers from unreasonable search and seizure and gives drivers certain rights at sobriety checkpoints

    回覆刪除
  19. divorce lawyer in fredericksburgIts compatibility with various sensors and peripherals makes it suitable for projects ranging from simple prototypes to complex robotics. Despite its compact design and affordability, some users may face compatibility issues or limited memory capacity for advanced projects.Divorce lawyers, also recognized as family law attorneys, are legal professionals specialized in guiding individuals through the complexities of marital separation. Their expertise lies in navigating the intricate legal procedures and emotional challenges associated with divorce.

    回覆刪除
  20. Hello I am so delighted I located your blog,

    回覆刪除
  21. thank for a tremendous post and a all round entertaining website.

    回覆刪除
  22. Thank you so much for sharing this great blog.

    回覆刪除
  23. Very inspiring and helpful too.

    回覆刪除
  24. I m very pleased to read this article.

    回覆刪除
  25. This content data gives truly quality and unique information.

    回覆刪除
  26. I finally found great post here. Thank you!

    回覆刪除
  27. virginia tax lawyerDespite its compact design and affordability, some users may face compatibility issues or limited memory capacity for advanced projects. Despite these challenges, the Arduino UNO R3 offers excellent value and functionality for various electronic projects.
    Authorize a person to represent you before Virginia Tax with respect to the tax matters you specify, or • Revoke a prior power of attorney authorization. THIS IS A LEGAL DOCUMENT: When you submit Form PAR 101, you are authorizing the person you name in Section 4 to be your representative.

    回覆刪除
  28. how to win a custody battle as a father in VirginiaThrough almost every studied culture, fathers have assumed three primary roles: the protector, the provider, and the disciplinarian. Before we discuss each of these roles, it is important to note that in many two-parent families today, mothers are fulfilling these three roles as much as fathers.In order for a parent to get full custody of a child in Virginia if there isn't already a court order in place, then the parent seeking custody has to first petition the court services unit of the Juvenile and Domestic Relations Court for custody,

    回覆刪除