Had trouble finding a complete guide to get my new ESP8266 / ESP-12 going. Lots of information out there but much conflicting info and most guides are missing something.
Here’s what worked for me with this particular ESP-12 board.
If the Ebay listing is dead, the seller name is tomyuen007.
Plugged in the Arduino and uploaded the BareMinimum sample sketch.
On the ESP12 board, connect GPIO15 to GND. Then connect GPIO0, GPIO2, and CH_PD to VCC.
I used a two tiny breadboards because of the awkward spacing of the pins on the board.
Connected ESP TX to Arduino TX.
Connected ESP RX to Arduino RX.
Opened Arduino Serial Monitor and set line ending to “Both NL & CR” and set baud to 115200.
Connected ESP12 GND to Arduino GND
Connected ESP12 VCC to Arduino 3.3V (Many sources say you need a dedicated power supply, but I didn’t have one and this is working so far.)
The ESP12 booted up immediately and I got a “ready” message, preceded by some gibberish.
I tried every baud rate and only 115200 gave me the ready message. All other settings gave me only gibberish.
More to come…
Was going to check Wi-Fi settings on my phone and use them to configure the ESP when I noticed it was set up as an access point by default with SSID: AP-THINKER_FE2B43
Connected with Windows and checked IP address: 192.168.4.3 with gateway 192.168.4.1
Tried HTTP browser connection to 192.168.4.1 but connection refused.
AT Commmands to get going…
AT+CWMODE=1 – This changed the mode from AP to Sta
AT+CWLAP – Lists access points. Before setting CWMODE, this would return error