RTL8722DM is a low-power dual-band WLAN and Bluetooth Low Energy SoC by Realtek. The RTL8722DM also include memory for Wi-Fi protocol functions and application making it simple for anyone to develop various kind of IoT applications. At the same time it has a wide range of peripheral interfaces. With all these interfaces, it can connect to most of the electronics components like LEDs, temperature and humidity sensors, and so on.
For the LED, the longer is the positive pole while the shorter pin is the negative pole. Therefore, connect the shorter pin to the GND and the longer pin D13 on the Ameba. In addition, to limit the current through the LED and prevent it from damage, we have to connect a resistor to the positive pole.
2
Programming
The programming can done using Arduino IDE which makes it very easy to write code and upload to the Ameba board.
Open “File” -> “Examples” -> “AmebaWiFi” -> “SimpleWebServerWiFi”
3
Final Results!
When the programming and setup is done.
Open the browser of a computer or a cell phone under the same Wifi network as the Ameba, then enter the IP address of the Ameba.
And in this webpage you can turn on or turn off the LED.