Sending beacon frames on BW16 (RTL8720DN)
- Ai-Thinker BW16 RTL8720DN Development Board
-
Download Arduino IDE from here according to your Operating System.
-
Install it.
-
Go to
File→Preferences→Additional Boards Manager URLs. -
Paste the following link :
https://github.com/ambiot/ambd_arduino/raw/master/Arduino_package/package_realtek_amebad_index.json -
Click on
OK. -
Go to
Tools→Board→Board Manager. -
Search
Realtek Ameba Boards (32-Bits ARM Cortex-M33@200MHz)byRealtek. -
Install it.
-
Restart the Arduino IDE.
-
Done!
- Download or Clone the Repository.
- Open the folder and open
beaconspamv1.inoorbeaconspamv2in Arduino IDE. - Select board from the
Tools→Board→AmebaD ARM (32-bits) Boards.- It is
Ai-Thinker BW16 (RTL8720DN).
- It is
- Select the port of that board.
- Go to
Tools→Board→Auto Flash Modeand selectEnable. - Upload the code.
- Firmware will start working immediately.
version1 (beaconspamv1.ino) It's made simpler. Creates a lot of unnecessary output in the terminal. But it works.
version2 (beaconspamv2.ino) More deeply developed, quite terminal output. ALSO GOOD WORK ON ANDROID/IOS
Power consumption ~180-205mA, warning board can be offheat
Code for educational purposes, good luck