That's why I'm researching ways to do this through the USB path. Virtual Flash Drive by FreeSoft Software Groups is an application for encrypting data stored on the HDD. It could be a way to get some data and short commands out of a smart device's USB port to perform rudimentary control of an external device, since smart devices (tablets and phones) are often locked down from doing any data out from the USB port without expensive cables or MFi certification in the case of iPhones.Īlternately, can an ESP32 'look' into the memory chip of a flash drive while the flash drive is connected to the host computer? That might work also.Īlso, I obviously know I can connect the smartphone or tablet to the ESP32 with BLE or WiFi, but a client wants to have hardware USB control of the ESP32 from a smartphone or tablet. Protecting sensitive data is always paramount if we want to prevent users from deleting or stealing them. What is the advantage? Well, the ESP32 could monitor the contents of the flash drive and respond to changes in files or file content such as JPEG image tags.
Then, when the assembly is plugged into a Mac or PC or smartphone or tablet device with a USB port, it shows up as a generic flash drive to that computer. Would be possible (practical) to make an ESP32 mimic a USB flash drive?įor example, an ESP-WROOM32 module could be set up on a small board to tap and regulate power from a USB male connector, has an FTDI or Silicon Labs C8051F327 USB controller, and maybe a small flash memory IC (probably not needed since the ESP32 has internal flash).