Connecting the dy-sv17f module to both a laptop and an Arduino simultaneously

I have a problem:

I have written a Python script on my laptop that downloads certain files in real-time and stores them on the dy-sv17f module. Afterward, I want to play these files using an Arduino. I have made the connections according to the image below:

However, I haven't connected one pin, which is the 5V pin, because I think I shouldn't connect it simultaneously to both the laptop and the Arduino. Well, when I connect all the wires, except for the 5V pin, and also connect the module to my laptop, it automatically transfers the file to the module. But nothing plays (after transferring from the laptop, I disconnect it, then connect the 5V pin, and if I turn the Arduino off and on once, the file plays). What should I do? I want to avoid damaging the module and be able to both transfer files to it and play them with the Arduino simultaneously.

Thank you very much for your assistance.

Is your concern that the arduino will draw too much current and burn the USB port? You could use a meter to test how much current your setup is pulling, while connected to a different power source (not connected to your laptop) . The arduino spec says the 5v pin can pull up to 0.8Amps, my guess is you are comfortably under that limit, but you can test.

Also perhaps you could get a separate 5v power source, so that you don't over-draw current from the USB port. Get a battery pack and a 5v regulator chip

Let me know if this helps !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.