2024年3月15日星期五

[AMEBA] Datalogger (RTL8720DF) 應用板

Datalogger (RTL8720DF) IOT 應用板

Datalogger 的核心是 Realtek RTL8720DF 。它是一款 Wi-Fi 和藍牙 IC,支持 2.4GHz 和 5GHz 雙頻 Wi-Fi 通信,以及藍牙低功耗 (BLE) 5.0。 可以看作是典型SBC的Wi-Fi和藍牙應用的SoC。 Datalogger 使用 USB TypeC 連接器,且具有自動上傳電路。

這個名為 Datalogger 的應用板,由 UART 、I2C(Qwiic)、RS485 齊聚一身。融合業界的規格及 Marker 的概念,有 DC 6V ~ 24V 的寬電壓輸入及延伸的 UART 應用,符合業界對 UART 的需求。有 Arduino Uno 相同的PCB 外框及定位孔,可以延伸 Uno 各類的擴展板。

核心

RTL8720DF
32-bit KM4 (Arm Cortex-M33 compatible)
32-bit KM0 (Arm Cortex-M23 compatible)
512KB SRAM + 4MB Flash

KEY FEATURES

Integrated WiFi 4 (802.11b/g/n 1x1) SoC
Dual-band, 2.4Ghz or 5GHzBluetooth LE 5.0
Bluetooth high-power mode up 10dB
Low Power Mode
Auto Download Mode
3 UART interface
1 I2C interface
2 SPI interface
12 PWM interface
1 IR interface
Max 18 GPIO

 

 

安裝及使用

2024年2月26日星期一

2024 物聯網 IOT 課程計畫


課程包含以下內容

  • 課程長度約 10 小時
  • 10 個基本課程單元 + 3 個補充課程單元
  • 範例程式碼
  • 群組互動學習
  • 教材組合包

影片課程將 無期限、不限觀看次數 + 不定期的 線上QA課程

購買課程隨附上教材

課程大綱



課程主講介紹-專訪




學員見證


課程計畫

課程諮詢



加入好友

 

2023年3月31日星期五

[Ameba] A1 PICO / RTL8720DN (BW16) and Arduino IDE (EN)

RTL8720DN

Realtek RTL8720DN is a wireless chip that supports both Wifi and Bluetooth, with Wifi supporting dual modes (802.11 a/b/g/n 1x1, 2.4GHz & 5GHz) and low-power BLE 5. The processor core is designed with dual processors, integrating ARM V8M Cortex-M33 (instruction set compatible with Cortex-M4F) and ARM V8M Cortex-M23 (compatible with Cortex-M0+). Wifi and BT share the same set of antennas, making hardware design simpler. The BW16 is a SOC module designed based on the RTL8720DN, which connects commonly used pins and uses a PCB antenna to make development easier.

Summary:
The core consists of KM4 Arm Cortex-M4 core @ 200 MHz and KM0 Arm Cortex-M0 core @ 20 MHz. WiFi supports 2.4G and 5G protocols, with a bandwidth range of 2.412-2.484GHz & 5.180-5.825GHz.

  • It supports HT20/HT40 modes
  • low-power mode
  • Bluetooth 5.0 LE
  • with a bandwidth range of 2.402GHz – 2.480GHz.
  • Operating modes include AP, Station, AP/Client. 
  • WiFi and BT share the same antenna.
  • 1 ADC
  • 2 UART interfaces
  • 1 I2C
  • 1 SPI
  • 4 PWM
  • and all pins can be used as GPIO.

 

To make it more convenient to use the RTL8720DN (BW16), I designed the A1 PICO development board.

Development highlights:

  • Built-in USB 5V self-recovery fuse.
  • Battery connection interface JST 2.00mm.It is not convenient to connect a fixed power source in many applications, so it will be more convenient in applications. If USB 5V is connected at the same time, it will automatically switch to USB as the main power source.
  • Because battery applications are required, I specially selected an LDO with good efficiency to maximize the battery's performance. The default voltage range is 3.6V ~ 4.2V.
  • Pre-installed I2C pull-up resistors.When used in I2C applications, pull-up resistors are always needed, and sometimes they cannot be found temporarily. Now, you only need to connect the short circuit pin.
  • Supporting Auto Flash function is also a major modification this time.


Connection diagram

RTL8720DN,BW16,ESP32


UART Driver

CH9102F
https://www.wch.cn/products/CH9102.html

Circuit diagram

RTL8720DN,BW16,ESP32


Arduino IDE

To get started, you need to install the Ameba board support package (BSP) for the Arduino IDE. Follow these steps:

  1. Open the Arduino IDE and click on File -> Preferences.
  2. In the Additional Boards Manager URLs field, enter the following URL:https://github.com/ambiot/ambd_arduino/raw/master/Arduino_package/package_realtek.com_amebad_index.json
  3. Click OK to save the changes.
  4. Next, open the Boards Manager by clicking on Tools -> Board -> Boards Manager.
  5. Search for "ameba" and select the "Realtek AmebaD Boards" package.
  6. Click on Install to install the BSP.
  7. After installation, select the "Ameba RTL8720DN / BW16" board from the Tools -> Board menu.

You are now ready to program the Ameba board using the Arduino IDE.
Please enable the Auto Upload mode as this development board has the Auto flash feature for automatic uploading.


Demo video

Resources


2023年3月30日星期四

2024物聯網 IOT 課程計畫


課程包含以下內容

  • 課程長度約 10 小時
  • 10 個基本課程單元 + 3 個補充課程單元
  • 範例程式碼
  • 群組互動學習
  • 教材組合包

影片課程將 無期限、不限觀看次數 + 不定期的 線上QA課程

購買課程隨附上教材

課程大綱



學員見證


課程計畫

課程諮詢



加入好友