Hello everyone,
I have a raspberry 4b and I want to protect it from 18650 battery pack because i'm so afraid of damaging it with overcurrents or short current.
I'm not advanced in electronics although I drew a noob circuit (assuming that we are using two 18650 3.7v batteries as below)

1- I placed 3 LM1117 (5v voltage regulators) in series to get an output of 3A (each one has 5v - 1A output and 15v max input ) to supply the raspberry
2- Capacitors to stabilize current but I'm not sure about the value
3- Resistors to protect from overcurrent, not sure about the values too
4- And 1A diodes to prevent reverse current
I have a raspberry 4b and I want to protect it from 18650 battery pack because i'm so afraid of damaging it with overcurrents or short current.
I'm not advanced in electronics although I drew a noob circuit (assuming that we are using two 18650 3.7v batteries as below)

1- I placed 3 LM1117 (5v voltage regulators) in series to get an output of 3A (each one has 5v - 1A output and 15v max input ) to supply the raspberry
2- Capacitors to stabilize current but I'm not sure about the value
3- Resistors to protect from overcurrent, not sure about the values too
4- And 1A diodes to prevent reverse current