What I want to do is put a dummy SD card (the connector going directly to the device with a cable going to a micro controller) into a device so that when the device tries to write a file the micro controller can intercept it and write it to another location, and then when the device wants to read it you can emulate the files that are supposed to be there except that they are stored on the micro controllers side.

Is there such a project that already exists? Is this even possible (i assume so as thats how most USB sticks work, kind of)? What would I need to do this project?

  • 2
    \$\begingroup\$ Yes it's possible. You just described a flash memory controller. \$\endgroup\$ – Passerby Feb 20 '16 at 5:22
  • \$\begingroup\$ Yeah, i guess but how would one go about implementing that if say you wanted to take data from 2-3 external devices at the same time, so that you can save them on one storage medium? So you have 3 things writing data to the micro controller at the same time but the MCU only has one storage medium to write to. \$\endgroup\$ – user3797758 Feb 20 '16 at 20:51
  • \$\begingroup\$ That's much much more complex. Connecting three pcs to one sd card (emulator) at the same time? You're better off with network storage protocol, ftp,smb,nfs, or even something like wireless SD cards do. A single pc to memory card emulator would be just designing to a standard. 3 pcs and your talking a significant undertaking. \$\endgroup\$ – Passerby Feb 20 '16 at 20:56
  • \$\begingroup\$ Well what I want to do is more of a work around for not being able to connect multiple cameras to an MCU, so what I want to do is emulate the SD cards that cheap point and shoot cameras use to save the images. So I wire up the triggers of the cameras to the MCU and grab the images directly from the SD slot in each camera. Hence why i need to keep track of 2-3 devices and save the data that they spew out. The storage could be an SSD which would be faster than the 3 SD cards can take data in the first place so the camera shouldn't know the difference while the MCU works \$\endgroup\$ – user3797758 Feb 20 '16 at 21:07
  • \$\begingroup\$ Wireless sd cards are only 10~30 bucks. 3, with a small pc like an RPi pulling the data, which can then either process it itself or pass it to an mcu. \$\endgroup\$ – Passerby Feb 20 '16 at 21:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.