ESP32 s3 file injector
-
Segamegadrive
- Posts: 4
- Joined: Wed Apr 09, 2025 8:28 am
ESP32 s3 file injector
Hello, I would like to know how could I make my ESP32 s3 act as a file injector where when the esp would be connected to a device it would create a really small string for example “hello” in its internal memory and automatically paste it as a txt file into the root folder of the device.
Re: ESP32 s3 file injector
You need to be a bit more clear on what you want: what device are we talking about, how do you expect the ESP32S3 to interface with it (USB, Samba, SPI, ...?), were does the string come from, ...?
-
Segamegadrive
- Posts: 4
- Joined: Wed Apr 09, 2025 8:28 am
Re: ESP32 s3 file injector
The device would be a graphing calculator that I wanted to interface with through usb. I want to make this as a proof of concept so I was thinking if the string would only be a 1-3 bytes it could be stored directly on the esp.
Last edited by Segamegadrive on Wed Apr 09, 2025 10:31 am, edited 1 time in total.
Re: ESP32 s3 file injector
Okay, sounds like it is possible. Does the calculator just look like an USB stick if you plug it into a PC, or do you need to run special software to talk to it?
-
Segamegadrive
- Posts: 4
- Joined: Wed Apr 09, 2025 8:28 am
Re: ESP32 s3 file injector
It pops up in the file explorer and I can read/write files from and to it without any 3rd party apps
Re: ESP32 s3 file injector
Sounds like it works like a standard USB mass storage device then. In that case, this example should already do most of what you want.
-
Segamegadrive
- Posts: 4
- Joined: Wed Apr 09, 2025 8:28 am
-
Segamegadrive
- Posts: 4
- Joined: Wed Apr 09, 2025 8:28 am
Re: ESP32 s3 file injector
Posting an update. Everything worked perfectly and the esp creates a folder in the calculator with files inside. Big thanks to sprite for helping me find the example I needed and I will no be able to continue working on the project
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 0 guests
