I got an PM from mr. Paul__B helping me with the schematic, thought I’d share it here in case somebody else have these kind of questions
Paul__B gave me the following things to fix with my circuit;
There are quite a few blunders in that circuit, so it will certainly need a bit of work!
“Q1” is drawn upside down. It confuses yourself and others if you show a ground symbol pointing upward. The ground symbol should be below the transistor and indeed, connect to the emitter, while the “LOCK” connection will be the collector. The current limiting resistor in series with the base is missing as indeed are those for your Vcc switching transistors.
The diodes and resistor to ADC6 should not be there as they would be applying 12 V to that input. Whatever purpose you intended will need to be figured out when the rest of the circuit is fixed.
The “Mailman” and “Admin” inputs should switch to ground, not 12 V. Via diodes, they can pull down the gate of a P-channel FET whose source is BATT+ and whose drain feeds HOLDV. A 10k pull-up would be between gate and source. While you can use transistors, the proper FET makes it a whole lot simpler. Then an NPN transistor with emitter to ground (downwards!) and collector to the FET gate will hold the circuit on when the 22k resistor in series with its base connects to “HOLD”.
If you have a go at drafting those things out, we can then check it again to see if you are getting it right.
PS; Thank you for reaching out
Attached is the new schematic, I did some changes, I read about the voltage divider so I used that 3 places, on the two switches, and on the input that had the two diodes before (ADC6) this is to be used to check the battery voltage.
The Q4 (previous Q1) has been flipped and gotten an resistor, AND is now the right way with the ground symbol at the bottom
The two switches is still leading positive volt, but do now have an voltage divider so the 7,4V goes to the 7805 circuit, while the divider steps it down to 5V and goes to an input of the chip.
I will be looking into FET and MOSFET as they are after what I read, essential! I have now used a relay. This is not essential since I really want to learn all about this kind of electronics, but I also want to order the PCB so I can jump on the next project
I actually printed out the schematic and brought an yellow marker to chech it all, so I am glad I got help