# Exhiberry Pi kick off -- Arduino CLI Getting Started ## 議程 * [開場調查](https://rate.cx/rate?QEaptd) * 關於 Exhiberry Pi * [開源錄像藝術同步播放器開發計畫](https://hackmd.io/@openlabtaipei/S1U7nC3q8) * 遠端更新 * OTA on ESP32 vs Other Arduino Boards * OTA * 終端系統加入 OTA 機制 * 建立 OTA server * 設計 OTA 觸發機制 * 維護 OTA 流程(韌體發佈、版本管理、異常追蹤...) * [IR 功能外包的概念](https://gw.alicdn.com/imgextra/i1/739771706/TB20I4FotbJ8KJjy1zjXXaqapXa_!!739771706.png) * [Cloud Storage]-- network --[Linux Board]-- usb --[Arduino Boards] * 硬體選擇 * Banana Pi BPI-M2 Zero * ethernet port * 官方 wiki -- Linux images * Armbian * armbian => debian for ARM * Armbian * 特性 * DHCP * auto-expand SD * enabled sshd:22 * password: 1234 * 版本 * bullseye, buster * focal * current vs edge * 環境設定 * sudo dpkg-reconfigure dash * sudo update-alternatives --config editor * https://github.com/andrewintw/skel-home.git * Arduino-CLI * 官方文件 * install.sh * PATH * ~/.arduino15/ * package_index.json * library_index.json * 掃雷: board list * 使用 Arduino-CLI * board list * board listall * board search * core list * core search -a * core install * core list --all * Nano detect issue * serial-discovery * sketch new * compile * upload * avrdude * sketch attach ## 共筆 (隨意寫下你想記錄的事情) >[color=orange][name=Paoyung Chang][time=Fri, Jul 1, 2022 12:39 AM] 偵測工具: [arduino/board-discovery](https://github.com/arduino/board-discovery) 輸出如下:(需從 VID:PID 再做判斷) ```shell $ board-discovery git:(master) ✗ go run 0701.go DEVICES: SERIAL: - VENDOR ID (VID): 0x10c4 PRODUCT ID (PID): 0xea60 SERIAL NUMBER: 029CTMHA CONNECTED ON PORT: /dev/ttyUSB0 - VENDOR ID (VID): 0x2341 PRODUCT ID (PID): 0x0043 SERIAL NUMBER: 95635333630351C0F161 CONNECTED ON PORT: /dev/ttyACM0 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up