# BW16 模組 入門與相關資料收集整理 ## 簡介 Realtek RTL8720DN 是一款 Wi-Fi 和藍牙 IC,支持 2.4GHz 和 5GHz 雙頻 Wi-Fi 通信,以及藍牙低功耗 (BLE) 5.0。 BW16 模組由 B&T 生產,該模組是以 RTL8720DN 為主要SoC(System on Chip)的高度集成的 Wi-Fi 和藍牙模塊,可以看作是典型 SBC 的 Wi-Fi 和藍牙應用的 SoC。 BW16 是與模塊集成的開發板。 BW16 開發板有2塊,BW16 和 BW6-TypeC。 1. [Ameba ARDUINO: Getting Started with BW16](https://www.amebaiot.com/zh/amebad-bw16-arduino-getting-started/) 2. [BW16-rtlduino開光儀式](https://hackmd.io/DtDSniy9RO6fqJ3Os1Liuw?view) ## 問題 * 支援 micropython ? [Is it possible run MicroPython on RTL8720DN(BW16)?](https://forum.amebaiot.com/t/is-it-possible-run-micropython-on-rtl8720dn-bw16/1167) bw16 ram 不夠。 * 能否多增加 ADC ? 改動一下,PB1 PB2 PB3 可以設為 ADC ### 開發板 使用 BW16 模組的開發板清單。 由社群共同開發 * [伴伴板 (RTL8720DN Accomdemy EVB)](https://hackmd.io/y3AZWm9URGGaHvRV8FjrMg) 由 Kevin 開發 * [[Ameba] A1 Gyro / RTL8720DN / (BW16) 開發板](https://www.makdev.net/2022/04/ameba-a1-gyro-rtl8720dn.html) * [[Ameba] A1 PICO / RTL8720DN (BW16) 開發板](https://www.makdev.net/2021/09/ameba-ameba-bw16-arduino-ide.html) * [[Ameba] A1 Lite / RTL8720DN (BW16) 開發板 ](https://www.makdev.net/2022/01/ameba-a1-lite-bw16-arduino-ide.html) ## 參考資料 ### 教學 [[Ameba] A1 PICO / RTL8720DN (BW16) 開發板 與 Arduino IDE](https://www.makdev.net/2021/09/ameba-ameba-bw16-arduino-ide.html) ### 函式庫 * [Porting Dabble to RTL8720 (AmebaD)](https://github.com/jojoling/DabbleAmebaD) joe 爸移植 * [V7RC測試程式 by Will](https://github.com/be1ieve/mearm_bw16/) * [WiFiManager](https://github.com/khoih-prog/WiFiManager_RTL8720) 這是一個憑證/WiFi連線管理器,允許在配置門戶中新增自定義引數。 然後,引數將自動儲存,而無需複雜的回撥函式來處理資料儲存/檢索。 * [RTLduino-RTL8720DN-board-fritzing-part](https://github.com/HuangYuTse/RTLduino-RTL8720DN-board-fritzing-part) * [RTL8720_RTC](https://github.com/khoih-prog/RTL8720_RTC) 這是基於RTL8720的RTC的Arduino庫 這些示例將演示如何從NTP伺服器獲取UTC時間,然後更新RTC以確保時間完全正確。 * [FlashStorage_RTL8720](https://github.com/khoih-prog/FlashStorage_RTL8720) FlashStorage_RTL8720庫的靈感來自Cristian Maglie的FlashStorage,提供了一種方便的方式,從RTL8720的非易失性快閃記憶體中儲存和使用FlashStorage儲存和檢索使用者資料。 * [RTL8720_TimerInterrupt](https://github.com/khoih-prog/RTL8720_TimerInterrupt) 此庫允許您在基於RTL8720的主機板上使用硬體計時器中斷,例如RTL8720DN、RTL8722DM和RTL8722CSM。 ### 專案 * [Ameba_BW16_robot_arm](https://github.com/ESPGyro/Ameba_BW16_robot_arm) Mason 製作,使用 Ameba BW16 晶片的 A1 Gyro 開發板來控制五軸的機械手臂。 * [BW16 Stamp - Tiny 5GHz WiFi Dev Board](https://hackaday.io/project/183644-bw16-stamp-tiny-5ghz-wifi-dev-board) * [LED Lamp with WS2812B](https://hackaday.io/project/185303-led-lamp-with-ws2812b) * [Ameba Neo Matrix](https://hackaday.io/project/186335-ameba-neo-matrix) * [E-Paper - Display Image](https://hackaday.io/project/186925-e-paper-display-image) * [Running Game with BW16](https://hackaday.io/project/186629-running-game-with-bw16) * [Universal IR remote controller](https://hackaday.io/project/178252-universal-ir-remote-controller) * [RTL8720-Sniffer](https://github.com/alexus2033/RTL8720-Sniffer) 使用RTL8720DN 2.4G/5G雙頻WiFi模組進行存在檢測 ### 影片 * [BitBastelei #450 - RTL8720DN: ESP32-Alternative mit 5GHz-WLAN? (RTLDuino/BW16)](https://www.youtube.com/watch?v=IZtISVl3Y2M) * [#405 Riddles? The First Arduino compatible 5GHz Wi-Fi Chip (RTL8720 )](https://www.youtube.com/watch?v=T10xCiM_4cw) ## Maker [陳亮手痕定律](https://twitter.com/moononournation)