Close
0%
0%

Use FATFS to create folder

Fatfs is a generic FAT/exFAT file system module for small embedded systems.

Public Chat
Similar projects worth following
FatFs is a generic FAT/exFAT file system module for small embedded systems. The FatFs module is written in compliance with ANSI C (C89) and completely separated from the disk I/O layer. Therefore it is independent of the platform. It can be incorporated into small microcontrollers with limited resource, such as 8051, PIC, AVR, ARM, Z80, RX and etc.

Ameba RTL8722DM_MINI is a low-power dual-band WLAN and Bluetooth Low Energy SoC by Realtek. It 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.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

  • 1 × Ameba D [RTL8722DM_MINI] microcontroller
  • 1 × MicroSD card Electronic Components / Misc. Electronic Components

  • 1
    Setup

    Insert a MicroSD card into the onboard SD card reader of RTL8722DM_MINI board

  • 2
    Programming

    The programming of the Ameba RTL8722DM can be done using Arduino IDE which makes it very easy to write code and upload code to the Ameba Board.

    To open the code, go to "Files" - > "Examples" -> "AmebaFatfsSDIO" -> "create_folder".

  • 3
    Final Results!

    Verify and upload the code. Press the reset button on Ameba once the uploading is complete.

    In the sample code, we first create a folder “testdir”, then text file “test.txt” with content “hello world!”. Read the file and print content to serial monitor.

    Next, insert SD card into card reader, and check whether the operations succeeded.

View all 3 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates