DEV Community

Thilak Kumar
Thilak Kumar

Posted on

Why I Added SD Card Support to My ESP32 Project

When building my ESP32-based project, I wanted the device to save important data directly inside the system instead of losing everything after reboot.

My project mainly works with:

  • IR signal capture
  • NFC card operations

Because of this, I needed a simple and reliable storage system.

That’s why I decided to add SD card support to my project, IRUTESAM V1.0.


Why I Needed Storage Support

One of the biggest reasons I added storage support was to save captured data for later use.

Without storage:

  • Captured IR signals would be lost
  • NFC card information could not be reused
  • Data would disappear after restarting the device

I wanted the system to work like a standalone embedded tool, so saving data became very important.


Why I Chose an SD Card Module

I selected an SD card module because it provided:

  • Low-cost storage
  • Easy ESP32 integration
  • Simple file management
  • Reliable data saving

The SD card module worked perfectly for storing the project data I needed.


Saving IR Signals

One of the main uses of the SD card in my project is storing captured IR signals.

This allows the system to:

  • Save remote signals
  • Reload saved signals
  • Replay stored IR commands later

This made the IR module much more useful and practical.


Saving NFC Card Data

The SD card is also used to save NFC card information captured using the PN532 module.

The system stores:

  • NFC UID data
  • Saved card records
  • Emulation-related information

This allows previously scanned cards to be reused without rescanning them every time.


Easy ESP32 Integration

The SD card module communicates with the ESP32 using SPI communication.

Using Arduino libraries, I was able to:

  • Create files
  • Save records
  • Read stored data
  • Load saved information

The integration process was simple and stable during testing.


Better User Experience

Adding storage support improved the overall experience of the device.

Users can:

  • Save important IR signals
  • Store NFC card data
  • Reload saved records easily
  • Use the system without repeating scans every time

This made the project feel more complete and practical.


How I Used It in IRUTESAM V1.0

In IRUTESAM V1.0, the SD card module is mainly used for:

  • IR signal storage
  • NFC card data saving
  • Record loading
  • Embedded file management

The storage system works together with:

  • ESP32
  • PN532 NFC module
  • IR receiver and transmitter
  • TFT touchscreen interface

inside the same embedded platform.


Final Thoughts

Adding SD card support turned out to be an important feature in my ESP32 project.

It provided:

  • Reliable storage
  • Better usability
  • Easy data management
  • Simple ESP32 integration
  • Improved standalone operation

For projects involving IR or NFC operations, external storage can make the system much more practical and user-friendly.

Thanks for reading ✨

Top comments (0)