One of the bigger problems of embedded microcontrollers is the limited memory available. In case of need of large storage size, external memories can be used, like EEPROM or FLASH… but to read data written inside those memories is not a easy task in common environment like PC, smartphones, etc…
With the use of SD-Card (and microSD-Cards) with the FAT32 File System, data written inside the memories is 100% compatible with both microcontrollers and PCs. Just plug the card on your board, or on your PC slot… and you can exchange data between so different worlds.
Also, the storage size of SD-Cards using FAT32 can be up to 2 Gigabyte… and it is really a large storage size for embedded devices!
The implementation of FAT32 File System was done using the FatFs File System Module. Those library is developed by elm-chan.org, and is free and opensource!
It’s modular structure permits to customize its features, and reduce the program and data memory occupation of FLYPORT’s microcontroller.
With this library, FLYPORT modules can read, write, create, delete files and folders.
Those libraries can be insert in every project, and can be used for dataloggers of sensors datas, or settings parameters save, etc…
The hardware used is the protoNEST with SD-Card holder and very few connections between FLYPORT and memorycard. Hand solder those component is a easy job, and hobbyist and maker can have lots of fun!
Posted by Simone