I'm new to the ESP8266 world and struggling to get a couple of ESP-12 boards to work. I got five of these from an indiegogo campaign and don't exactly know what firmware is installed (maybe none?).
Reading a ton of different sites with mostly the same but sometimes conflicting information I ended up with the hardware setup described below.
Connecting with a terminal program at 77400 baud I'm able to see the boot message like "ets Jan 8 2013,rst cause:1, boot mode:(1,7)" with the values changing depending on power-up vs reset and depending on the state of GPIO0. I guess that means at least the ESP->PC direction of the communication is working fine. No matter what baud rate I chose (9600 / 57600 / 115200) I don't get any additional information on boot/reset.
I can't flash another firmware either:
- Connecting GPIO0 to GND and the powering up the module, then starting the nodemcu firmware programmer tool (latest version) it shows the two MAC addresses and then starts loading but at ~5% it stopps
- Connecting GPIO0 to GND and the powering up the module, then starting the flash program it starts with "deleting flash" but then after a few seconds shows the "invalid packet header" error message
Hardware:
CH340 based USB serial adapter switched to 3.3V - GND connected to power supply GND
separate power supply (1A USB phone charger at 5V connected through low drop voltage regulator with proper caps)
ESP-12:
- VCC/GND - connected to voltage regulator output with additional 100uF close to the module
- CH_PW - connected via 12k R to VCC
- REST - connected via 12k R to VCC and push-button to GND for reset
- TXD - connected to RXD of CH340
- RXD - connected to TXD of CH340
- GPIO0 - connected via 12k R to VCC and Jumper to GND for flash mode
- GPIO2 - connected via 12k R to VCC
- GPIO15 - connected via 12k R to GND
- all other pins floating