Hi,
I'm currently prototyping a self-built version of a microcontroller using an ESP12-E and micro-USB + ch340c for communication with my pc.
The ch340 is connecting properly to my pc and is recognised by it.
when I connect the ESP though it draws constantly more than 600mA and gets hot really fast. I once got it to start uploading the blink sketch but got an error at about 27%. On this one the current draw was at a normal 80mA. The other times I try to upload the code I get this error message:
Serial port /dev/cu.usbserial-1434440
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: e8:db:84:8b:61:34
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
A fatal esptool.py error occurred: Timed out waiting for packet header
I already checked all the soldering connections and the wiring.
One weird thing I noticed is that on its own the A1117 regulates power to 3.3V properly, but when connected to the circuit it outputs about 3.6V. On one try it was at 3.8V without me changing anything.
Does anyone know if there is a reason for the high current draw and if it correlates with the power voltage and/or the temperature? Also why did it upload up to 27% percent once but never again, with the exact same setup.
This is my schematic:
Few Notes to the wiring:
Power is supplied from 2 sources:
- the USB-Port (V+ Net) through a Diode into the main +5V net.
- The connected batteries also supply into the +5V net.
The voltage regulator outputs a +3.3V net for the ESP and the CH340.
The connections to the ULN, Servo and Stepper only use IO Pins and should not be relevant for this issue.
Both resistors are 10K, C1 is 100nF, C2 is 100uF
Thanks for any help!