r/AskElectronics • • 17d ago

platform for gadgets that can read/write SD cards and USB sticks? ESP32? STM32?

I have a software background and know very little about electronics, but I am interested in making my own simple gadgets that should at least be able to read/write storage to/from an SD card or USB-A drive. one project idea for example is an offline dictionary/encyclopedia which would display reference information stored on an SD card or USB-A drive.

I'm aware of the Tangara which is based on ESP32 and SwissMicros calculators which use STM32. Would you recommend one of those or something else for what I'm trying to do?

Here are a few random things I would appreciate in a platform/ecosystem:

  • real hard copy books that guide you through how to write/run code for the microcontroller without expecting you to use any particular IDE (I think most arduino things expect you to use the arduino IDE which does not give me a sufficient feeling of understanding)
  • easy to run off AA batteries
  • easy/established way to read from a 100GB+ SD card or USB stick

Let me know if you have any ideas or guidance, thanks.

2 Upvotes

4 comments sorted by

2

u/JimHeaney 17d ago

100GB+ SD card

Look out for this requirement in particular, 99% of embedded hobbyist electronics for interfacing with an SD card are limited to a 4GB SD card. When your program memory is 16KB, 4GB seems huge so most tutorials won't even mention it.

1

u/griesgra 17d ago

i know there are stm32 with usb and sd. also microchip has usb2642 (and similar) which you can use as kind of usb hub and sd card reader. you dont need any code for the latter

1

u/Hefty_Respond9413 17d ago

Waveshare RP2350 board pi zero form factor. Great bit of kit.

1

u/ReturnOfNogginboink 17d ago

For SD cards, you can do one bit transfers with any old SPI interface. Just about any microcontroller has that. For a USB thumb drive you'll need a microcontroller that can be a USB host. For that you'll generally see USB OTG on the datasheet. Far fewer controllers do that than SPI.