Finally got it working !!! It seems the problem with the mosfets was a matter of grounding the controller (D1 Mini) with the battery; this is the final schema design (D1 Mini is powered vía USB with a power adapter, not included in the schema). Just hope not to make a fire at home ...
Hi,
Now you have it working, you need to make a schematic using electronic engineering symbols.
I have done this circuit for you.
I use a CAD program due to medical problems with fingers, you can just do a pen(cil) and paper circuit.
Hand drawn circuits can sometimes be done quicker during experimenting/developing your project.
220k:22k will give poor A/D resolution for battery measurements.
The 22k is even ~20.6 because of the 220k:100k divider already built-in in the WeMos.
So only about 30% of the A/D is currently used.
Just replace the divider with a single 1Megohm resistor between battery and A0.
Leo..