-
1Introduction to AMB23
Ameba is an easy-to-program platform for developing all kinds of IoT applications. AMB23 is equipped with various peripheral interfaces, including WiFi, GPIO INT, I2C, UART, SPI, PWM, ADC. Through these interfaces, AmebaD can connect with electronic components such as LED, switches, manometer, hygrometer, PM2.5 dust sensors, …etc.
The collected data can be uploaded via WiFi and be utilized by applications on smart devices to realize IoT implementation.
It has a smaller size than Arduino Uno, as shown in the above figure.
AMB23 uses Micro USB to supply power, which is common in many smart devices. On the bottom of the board, there is a micro SD card adapter in the middle of the board.
-
2File preparation
Insert the MicroSD card into your computer and copy the HTML file to your SD card (Note: put the file outside and do not put it inside of any folder in the SD card). Here is an HTML sample for testing, “Web_test.html”.
Then insert the MicroSD card into the onboard SD card reader of the RTL8722DM MINI board.
-
3Compile and Run the example
Open the example, “Files” -> “Examples” -> “AmebaFatfsSDIO” -> “read_html_from_SD_card”
Upload the code and press the reset button on Ameba once the upload is finished. When the connection is established, you should be able to see the message “To see this page in action, open a browser to http://xxx.xxx.xxx.xxx” in the serial monitor as shown in the figure:Next, open the address stated in the serial monitor in the browser of your laptop or cell phone under the same WiFi domain. You will see the following display in your browser:
Now you have successfully read and opened the HTML file saved on your SD card.
-
4More References
Please visit the following websites for more details about the board & other examples:
- AmebaIoT Official Website: https://www.amebaiot.com/en/
- AmebaIoT Official FB Page: https://www.facebook.com/groups/AmebaIoT
- AmebaIoT Forum: https://forum.amebaiot.com/
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.