Need help with my wiring, fried my mp3 tf 16p

Hi everyone ! I need help on my project. I wired everything but I fried my mp3 tf 16p module (it started smoking :confused: ) I did a fritzing project to show you my wiring. (everything worked until I thought of adding this rocker switch into my project between the batteries and the servo But I don't see how I can wire it differently because battery pack needs common gnd...)
(sorry that I edited the rocker switch with photoshop, wasn't able to find one in frizting)
Any help or tips would be appreciated as I'm still beginning.

That rocker switch is wired such that it will short out the battery if turned off.

Also when turned on and with the Arduino not powered in any other way, it will cause parasitic powering of the Arduino which could damage it.

How can I fix my wiring then ? because as I said I need a common ground because of the battery...
I power my board with a jack connector.

You don't need to connect the rocker switch to ground at all. Remove it. You can still have a common ground without connecting it to a rocker switch,

Fit a 1K resistor in the signal wire between the Arduino and the servo control wire.

You also seem to have wired the power to the DF player direct to 5V which will also burn it out, along with not using level converters on it.

Ok I understood the part with the resistor between arduino and signal wire.
I'm a bit lost in the part where I have to connect the common ground from the battery without going through the switch.
As for the DF player, it's wired on the +5V pin aswell as my button with the built in led.

Just do not make any connection to the rocker switch with the ground wire, but keep them together.

Yes will your DF player not burn out with 5V most of them do?

Ok I'll try to check how to do it.

All the exemples I saw on the web were using +5V to power it :confused:

What is there to check? Just do not connect connect anything to that third rocker terminal.

And so it must be true? Check with the data sheet of the DF player you purchased, that way you know for sure.

Datasheet says : VCC Input Voltage DC3.2~5.0V ;Type: DC4.2V
And it worked until the rocker switch was added to the circuit

I just don't understand how I'm supposed to wire it without connecting anything to the third rocker terminal.
Because each pin is needed (I think ?) :

  • Left pin = power to red wire from servo
  • Middle pin = input power from battery
  • Right pin (the golden one) = gnd from battery,gnd from servo and common gnd for the battery.
    As I said I'm still beginning, but thanks for trying to help !

No each pin is not needed. A rocker switch works by connecting the middle pin to either to top pin or the bottom pin depending on what way it is switched. Can you not see if you wire it like you have one way will provide power to the servo and the other way will connect the positive of the battery to the negative of the battery, thus shorting it out, damaging the contacts in your rocker switch and draining your batteries.

Now you, a complete beginner, are telling me, some one who has been doing electronics since the age of 9 years old and I am now 70 that I don't know how to wire up a rocker switch. Who do you think might be right?

I never said that ?
Sorry if it felt that way, I never said you were wrong I said that I don't get how to use it because all infos I got from searching are telling "Golden pin is GND, Middle is Power and the other pin has to go to your device that you want to control with the switch.
So that's what I did, power from battery pack to middle pin, gnd from battery to golden pin and the other one to my servo.

So if I get it I have to remove the cable that I circled in blue ?
image
Because that's the common GND, and at the beginning I forgot to connect the battery to common ground on the arduino ( I didn't even know that I had to connect it to gnd from arduino), and the servo didn't work because of that

Where did you read that? It is rubbish or you have misunderstood what it was saying.

NO you did not get it. Keep all the wires you circled in blue and remove the connection to the rocker switch. You need to wire everything you have wired already, just don't take it to the rocker switch.

Wire it like this

So nothing at all on the GND pin from rocker ?

See my last post.

Ok thanks for the help

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