You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IoT-For-Beginners/translations/tw/hardware.md

119 lines
8.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--
CO_OP_TRANSLATOR_METADATA:
{
"original_hash": "3dce18fab38adf93ff30b8c221b1eec5",
"translation_date": "2025-08-24T21:01:56+00:00",
"source_file": "hardware.md",
"language_code": "tw"
}
-->
# 硬體
在物聯網 (IoT) 中,**T** 代表 **Things**,指的是與周圍世界互動的設備。每個專案都基於學生和愛好者可用的實體硬體。我們提供了兩種物聯網硬體選擇,根據個人偏好、程式語言知識或喜好、學習目標以及可用性進行選擇。此外,我們還提供了「虛擬硬體」版本,適合那些無法取得硬體或希望在購買前進一步了解的人。
> 💁 您不需要購買任何物聯網硬體即可完成作業。您可以使用虛擬物聯網硬體完成所有內容。
實體硬體選擇包括 Arduino 和 Raspberry Pi。每個平台都有其優勢和劣勢這些都會在初期課程中進行介紹。如果您尚未決定使用哪個硬體平台可以查看[第一個專案的第二課](./1-getting-started/lessons/2-deeper-dive/README.md),以決定您最感興趣的硬體平台。
我們選擇特定硬體以降低課程和作業的複雜性。雖然其他硬體可能也能運作,但我們無法保證所有作業都能在您的設備上支援,除非額外添加硬體。例如,許多 Arduino 設備不具備 WiFi 功能,而 WiFi 是連接雲端所需的功能——因此我們選擇了內建 WiFi 的 Wio Terminal。
此外,您還需要一些非技術性物品,例如土壤或盆栽植物,以及水果或蔬菜。
## 購買套件
![Seeed Studios 的標誌](../../translated_images/seeed-logo.74732b6b482b6e8e8bdcc06f0541fc92b1dabf5e3e8f37afb91e04393a8cb977.tw.png)
Seeed Studios 非常貼心地將所有硬體整合成易於購買的套件:
### Arduino - Wio Terminal
**[Seeed 與 Microsoft 合作的物聯網入門 - Wio Terminal 初學者套件](https://www.seeedstudio.com/IoT-for-beginners-with-Seeed-and-Microsoft-Wio-Terminal-Starter-Kit-p-5006.html)**
[![Wio Terminal 硬體套件](../../translated_images/wio-hardware-kit.4c70c48b85e4283a1d73e248d87d49587c0cd077eeb69cb3eca803166f63c9a5.tw.png)](https://www.seeedstudio.com/IoT-for-beginners-with-Seeed-and-Microsoft-Wio-Terminal-Starter-Kit-p-5006.html)
### Raspberry Pi
**[Seeed 與 Microsoft 合作的物聯網入門 - Raspberry Pi 4 初學者套件](https://www.seeedstudio.com/IoT-for-beginners-with-Seeed-and-Microsoft-Raspberry-Pi-Starter-Kit-p-5004.html)**
[![Raspberry Pi 硬體套件](../../translated_images/pi-hardware-kit.26dbadaedb7dd44c73b0131d5d68ea29472ed0a9744f90d5866c6d82f2d16380.tw.png)](https://www.seeedstudio.com/IoT-for-beginners-with-Seeed-and-Microsoft-Raspberry-Pi-Starter-Kit-p-5004.html)
## Arduino
所有 Arduino 的設備程式碼均使用 C++ 編寫。要完成所有作業,您需要以下物品:
### Arduino 硬體
* [Wio Terminal](https://www.seeedstudio.com/Wio-Terminal-p-4509.html)
* *可選* - USB-C 連接線或 USB-A 至 USB-C 轉接器。Wio Terminal 配備 USB-C 端口,並附帶 USB-C 至 USB-A 連接線。如果您的 PC 或 Mac 只有 USB-C 端口,您需要 USB-C 連接線或 USB-A 至 USB-C 轉接器。
### Arduino 特定感測器與致動器
這些是專門用於 Wio Terminal Arduino 設備的,與 Raspberry Pi 無關。
* [ArduCam Mini 2MP Plus - OV2640](https://www.arducam.com/product/arducam-2mp-spi-camera-b0067-arduino/)
* [ReSpeaker 2-Mics Pi HAT](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT.html)
* [麵包板跳線](https://www.seeedstudio.com/Breadboard-Jumper-Wire-Pack-241mm-200mm-160mm-117m-p-234.html)
* 耳機或其他帶 3.5mm 插孔的揚聲器,或 JST 揚聲器,例如:
* [Mono Enclosed Speaker - 2W 6 Ohm](https://www.seeedstudio.com/Mono-Enclosed-Speaker-2W-6-Ohm-p-2832.html)
* microSD 卡16GB 或以下),以及一個連接器以便在電腦上使用 SD 卡(如果您的電腦沒有內建 SD 卡插槽)。**注意** - Wio Terminal 僅支援容量不超過 16GB 的 SD 卡。
## Raspberry Pi
所有 Raspberry Pi 的設備程式碼均使用 Python 編寫。要完成所有作業,您需要以下物品:
### Raspberry Pi 硬體
* [Raspberry Pi](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/)
> 💁 從 Pi 2B 及以上版本應該都能完成這些課程中的作業。如果您計劃直接在 Pi 上運行 VS Code則需要 Pi 4 並配備 2GB 或以上的 RAM。如果您打算遠端存取 Pi則任何 Pi 2B 及以上版本都可以使用。
* microSD 卡(您可以購買附帶 microSD 卡的 Raspberry Pi 套件),以及一個連接器以便在電腦上使用 SD 卡(如果您的電腦沒有內建 SD 卡插槽)。
* USB 電源供應器(您可以購買附帶電源供應器的 Raspberry Pi 4 套件)。如果您使用 Raspberry Pi 4則需要 USB-C 電源供應器,早期版本則需要 micro-USB 電源供應器。
### Raspberry Pi 特定感測器與致動器
這些是專門用於 Raspberry Pi 的,與 Arduino 設備無關。
* [Grove Pi 基座帽](https://www.seeedstudio.com/Grove-Base-Hat-for-Raspberry-Pi.html)
* [Raspberry Pi 相機模組](https://www.raspberrypi.org/products/camera-module-v2/)
* 麥克風與揚聲器:
使用以下任一選項(或同等設備):
* 任意 USB 麥克風搭配任意 USB 揚聲器,或帶 3.5mm 插孔的揚聲器,或使用 HDMI 音頻輸出(如果您的 Raspberry Pi 連接到帶揚聲器的顯示器或電視)
* 任意內建麥克風的 USB 耳機
* [ReSpeaker 2-Mics Pi HAT](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT.html) 搭配
* 耳機或其他帶 3.5mm 插孔的揚聲器,或 JST 揚聲器,例如:
* [Mono Enclosed Speaker - 2W 6 Ohm](https://www.seeedstudio.com/Mono-Enclosed-Speaker-2W-6-Ohm-p-2832.html)
* [USB Speakerphone](https://www.amazon.com/USB-Speakerphone-Conference-Business-Microphones/dp/B07Q3D7F8S/ref=sr_1_1?dchild=1&keywords=m0&qid=1614647389&sr=8-1)
* [Grove 光感測器](https://www.seeedstudio.com/Grove-Light-Sensor-v1-2-LS06-S-phototransistor.html)
* [Grove 按鈕](https://www.seeedstudio.com/Grove-Button.html)
## 感測器與致動器
大多數所需的感測器與致動器可用於 Arduino 和 Raspberry Pi 學習路徑:
* [Grove LED](https://www.seeedstudio.com/Grove-LED-Pack-p-4364.html) x 2
* [Grove 濕度與溫度感測器](https://www.seeedstudio.com/Grove-Temperature-Humidity-Sensor-DHT11.html)
* [Grove 電容式土壤濕度感測器](https://www.seeedstudio.com/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant.html)
* [Grove 繼電器](https://www.seeedstudio.com/Grove-Relay.html)
* [Grove GPS (Air530)](https://www.seeedstudio.com/Grove-GPS-Air530-p-4584.html)
* [Grove 飛行時間距離感測器](https://www.seeedstudio.com/Grove-Time-of-Flight-Distance-Sensor-VL53L0X.html)
## 可選硬體
自動澆水課程使用繼電器。作為選項,您可以將此繼電器連接到 USB 供電的水泵,使用以下硬體:
* [6V 水泵](https://www.seeedstudio.com/6V-Mini-Water-Pump-p-1945.html)
* [USB 端子](https://www.adafruit.com/product/3628)
* 矽膠管
* 紅色與黑色電線
* 小型平頭螺絲起子
## 虛擬硬體
虛擬硬體路徑提供感測器與致動器的模擬器,使用 Python 實現。根據您的硬體可用性,您可以在正常的開發設備(例如 Mac、PC上運行或在 Raspberry Pi 上運行並僅模擬您缺少的硬體。例如,如果您有 Raspberry Pi 相機但沒有 Grove 感測器,您可以在 Pi 上運行虛擬設備程式碼,模擬 Grove 感測器,但使用實體相機。
虛擬硬體將使用 [CounterFit 專案](https://github.com/CounterFit-IoT/CounterFit)。
要完成這些課程,您需要擁有網路攝影機、麥克風和音頻輸出設備,例如揚聲器或耳機。這些設備可以是內建或外接的,並需要配置為與您的操作系統兼容,且可供所有應用程式使用。
**免責聲明**
本文件使用 AI 翻譯服務 [Co-op Translator](https://github.com/Azure/co-op-translator) 進行翻譯。雖然我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。原始文件的母語版本應被視為權威來源。對於關鍵資訊,建議使用專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或錯誤解釋不承擔責任。