Thx for your time,
I guess the LDO were a bit optimistic^^, i replaced the 5V one with an MT2492 (Buck), and hooked the 3V3 un the 5V output.
I wont use the ESP32 wireless modem, so the raw current draw of the ESP will be about 20mA according to the datasheet.
@runger
You wrote that the LED PWM would work, so i will give it a try, because the S2 dont need a separate chip for usb programming. See tinyS2
I think i have to provide more info:
- voltage should be 12V, one rail
- it just has to drive a 2805 (35mm dia.) Gimbal Motor, about 0.5-0.8 A.
- I dont need more than 2000 rpm (probably not more than 1000).
- i just need an accuracy about 30 CPR, but more is always better.
- i thought i could make a encoder with small magnets and 2 hall sensors, i tried it int the meantime, it didnt work well, so im removing them.
- Maybe i dont need closed loop at all^^
- As mentioned the AEDR-8300 could be easy to use as encoder, so reserved it a place on the pcb, if both GP2S60A wont work.
I think i dont need more capacity on the 12V rail, since its more or less a gimbal controller for just 1 motor, which never have big capacitors. Even the B-G431B-ESC1 has just about 200uf.
Also snubber can be omitted for such low power i guess.
The ESP32 S2 circuit is drawn after this:
https://unexpectedmaker.com/tinys2
I just dont use the antenna circuit and battery charger.
I cleaned and updated the schematic: