Ive been playing around with a cheap car stereo i got from aliexpress and was thinking of expanding on its stock USB playback. The idea is to use the existing buttons on the headunit that select radio memory, cut their traces and feed them into an arduino that selects from multiple USB drives hidden inside the case. This way i can have a fast way of changing through my music genres and styles.
I was hoping this could be achieved by just using simple transistors on the positive rail of each USB disk?
So all the disk drives would be wired into the back of the USB port and the transitors would be breaking the connection to each 5v rail until one of them is pulled high via the microcontroller.
Would this work?