Hello,
I am trying to create a way to wirelessly upload to a media player using a ESP32-s3.
Materials:
- ESP32-S3
- 9 pin microSD card module
- microSD Card slot extender (attached to the media player) : https://www.adafruit.com/product/4395#description
- ADG1434 Analog switch x2
The flow:
- User uploads file to webserver hosted by ESP
- ESP takes file and uploads it to SD card module it is wired to
- ESP unmounts SD card and sets CTRL GPIO pin high
- ADG1434 sees the high and switches the SD card module's lines to the SD card slot extender (which is connected to the media player)
- Now the media player can access the wirelessly uploaded files
Right now, the only lines being fed into the analog switch are CMD, D0, CLK from the ESP(it's in 1 bit mode since 4 bit mode just isn't working) and CMD, CLK, D0-D3 from the SD card slot extender. The 'D' pins on the analog switch are connected to the SD card module's CMD, CLK, D0-D3.
When I tried to test this, the ESP failed to mount the SD card despite the analog switch seemingly working.
Questions:
1) I am not sure what the problem could possibly be in the above setup, so I would appreciate any guidance there.
2) I have found that SD MUXes do exist: https://www.onsemi.com/products/interfaces/analog-switches/fssd06 Would this be helpful in my situation?
3) Would the FSSD06 be able to switch from a device accessing the SD card in 1 bit mode (like my ESP) and another device that uses all SD card pins (like the slot extender)?
4) How would I power everything? Right now, the SD card slot extender is being powered by the media player. The ESP is being powered by my PC since I hook it up via USB to look at logs. How should I power the SD card module and the ADG1434? I'm currently using a 12V single supply for the analog switch, but I am unsure on what order to power everything.
5) If I do use the FSSD06, how would I power everything in that situation?
Feel free to ask me for my code or physical setup.
Help would be appreciated!
I am trying to create a way to wirelessly upload to a media player using a ESP32-s3.
Materials:
- ESP32-S3
- 9 pin microSD card module
- microSD Card slot extender (attached to the media player) : https://www.adafruit.com/product/4395#description
- ADG1434 Analog switch x2
The flow:
- User uploads file to webserver hosted by ESP
- ESP takes file and uploads it to SD card module it is wired to
- ESP unmounts SD card and sets CTRL GPIO pin high
- ADG1434 sees the high and switches the SD card module's lines to the SD card slot extender (which is connected to the media player)
- Now the media player can access the wirelessly uploaded files
Right now, the only lines being fed into the analog switch are CMD, D0, CLK from the ESP(it's in 1 bit mode since 4 bit mode just isn't working) and CMD, CLK, D0-D3 from the SD card slot extender. The 'D' pins on the analog switch are connected to the SD card module's CMD, CLK, D0-D3.
When I tried to test this, the ESP failed to mount the SD card despite the analog switch seemingly working.
Questions:
1) I am not sure what the problem could possibly be in the above setup, so I would appreciate any guidance there.
2) I have found that SD MUXes do exist: https://www.onsemi.com/products/interfaces/analog-switches/fssd06 Would this be helpful in my situation?
3) Would the FSSD06 be able to switch from a device accessing the SD card in 1 bit mode (like my ESP) and another device that uses all SD card pins (like the slot extender)?
4) How would I power everything? Right now, the SD card slot extender is being powered by the media player. The ESP is being powered by my PC since I hook it up via USB to look at logs. How should I power the SD card module and the ADG1434? I'm currently using a 12V single supply for the analog switch, but I am unsure on what order to power everything.
5) If I do use the FSSD06, how would I power everything in that situation?
Feel free to ask me for my code or physical setup.
Help would be appreciated!