• 1
    Introduction 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.

    get-start-1

    It has a smaller size than Arduino Uno, as shown in the above figure.

    get-start-2

    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.

  • 2
    File 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”.

    1Then insert the MicroSD card into the onboard SD card reader of the RTL8722DM MINI board.

  • 3
    Compile 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:

    1

    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:

    1

    Now you have successfully read and opened the HTML file saved on your SD card.