I found this diagram on the internet which seems to divide the voltage down to 5V and still be able to deliver 1A with the 7805 just like I want.
It will use a 12V lead acid battery and a 12V IN transformator. The 5V OUT is for the RPi and the 12V OUT is for a solenoid I'll be using in my project.
My question is, why do we need the 1k resistor in this? Also, does the 1N4007's make the battery charge from the 12V IN or what are their purpose?
I found this diagram on the internet
Can you provide a link to that? (Please edit your question with the link) Right now this question is extremely vague and we have no context for this circuit. \$\endgroup\$ – KingDuken Jun 13 at 20:29Also, does the 1N4007's make..
Which one, D2 or D3? (From context probably D2, still, please use the component's reference designator . \$\endgroup\$ – Huisman Jun 13 at 20:33