I followed a youtube tutorial for this part, his worked. Please tell me what changes should be made. Sorry for being such a hassle, I am new to this stuff.
Any suggestions what should be done instead?
To keep things simple I would use a replacable 18650 battery and forget about the charger. Charge the battery with an external charger.
Yes, I'm using the TP4056 module (with USB input), and I'm powering the rest of the circuit via the OUT+ and OUTβ pins β not directly from BAT+. So the Arduino and servos draw power only after the battery has been regulated and protected.
The battery is only connected to BAT+/-, and the load side (Arduino, DFPlayer, servos) connects through a boost converter (MT3608) from OUT+. I am still thinking if i should connect some switch to disconnect the circuit while it is charging, though. Would appreciate if you could provide some intellect on that.
You still have the problem of how to power the Uno.
Well, that's the thing, now i am thinking if i should power the uno with 4x AA batteries through vin or something. That aside, if i remove the diodes and caps from the servo and opt for a replaceable and separately charged battery( it is still gonne be charged from TP4056 ). it would look something like this.
Any suggestions? Should I add 100uF capacitor across the servos.
Yes
The voltage divider is still backwards.
Do you mean MT3068 OR MT3608
I've never used MT3608 and I don't know how clean the output is.
The problem is that if you feed 5V to the Uno 5V pin it must be well regulated and noise free. If not, you may encounter problems with eratic operation.
I would breadboard everything first to see if it works.
Put the 100uF caps on the servos.
Got it, I would see if the output of MT3608 is stable 5v or not. If not i could use 4x AA Batteries through vin. And I'll put back the 100uF caps on the servos. But if I order it now, it might take about 7 days to arrive, so ig we would have to wait till then to test it. If it does work then I would be troubling you lot a lot with my code as well, sorry for that in advanceβ:grin:
.Thank you though, your help meant a lot.
So should I order it now? The TP4056 and MT3608, I mean.
Any other suggestions, to make the useless box even better like putting some wheels on it or something.
Awaiting your response ![]()
You would need at least 5.
I say yes order the parts and a few 0.1uF capatitors. They might be necessary to filter out high frequency noise.
NOTE:
Do not have a power source connected to the 5V output pin and USB connection or Vin or barrel jack at the same time, bad things could happen.
Aye Aye Captain. Uhh..that is too cringe ig. Thanks none the less.
There is one other option:
Use two batteries in series and connect them to the Uno Vin and to a 5V Buck converter for everything else. However you cannot charge batteries in series so you would need to remove them to charge. However, this does have the advantage that it will last longer because you have two batteries.
Sounds good.
I surfed the internet and found these three, can you help me pick the right one.
- LM2596S DC-DC Step-down module
- LM2596 NSC TO-263 3A Step-Down 5V Regulator
- Dc-Dc Xl4005 Dsn5000 5A Current Adjustable Step Down Power Supply
Also, does that mean I don't need the MT3608 ?
The first one, LM2596S module is the best choice.
Have no idea what that second one is but it's not a LM2596.
Also, does that mean I don't need the MT3608 ?
Yes
But realize you now have two batteries to charge and you can only charge one at a time with the TP4056
Is there a module that let you charge both? If there actually is, that would the nail in the coffin...
If your TP4056 module looks identical to that photo, then it has over-discharge protection.

