Just started messing with ESP8266 since my boss wanted some temperature readings from the different offices at my workplace and I thought that a ESP8266 with a temp sensor would be the best solution!
I’ve tried to follow some guides around the interwebs but already running into some problems!
Flashing nodeMCU seems to be working just fine:
Connecting…
Erasing flash…
Took 1.92s to erase flash block
Wrote 413696 bytes at 0x00000000 in 40.3 seconds (82.0 kbit/s)…
Leaving…
But when I try to connect to it with esPlorer I just get a bunch of either squares or ???, see pastebin http://pastebin.com/NM3fH7Fy
Connections are correct with 3.3V on CH_PD and VCC? read somewhere that I should add 3.3V to Reset to but that doesn’t seem to matter…
It seems that you get a wdt reset (“watchdog timer reset”). Your chip might be doing a full reset. Have you tried to connect pin XPD ,GPIO 16 to reset without a cap?
The only thing I’ve done is flashed it (esptool.py -p /dev/tty.usbserial write_flash 0x000000 nodemcu-master-8-modules-2016-02-11-12-25-16-float.bin) and after that connected to it with esPlorer…
I used to have similar problems with ESP8266-01 at flashing it while powered just from USB-serial adapter in mini notebook. With regular notebook with power USB port I have not had such problems. Try reflashing the module with power supply from your supply adapter on breadboard as illustrated in your picture.
You should connect GND of the breadboard with GND of the USB-serial adaptor. Do not connect VCC of the adaptor to anything. Connect VCC of the breadboard with VCC of the ESP.
If you look for written hints to solve your problems then ask your boss to buy my book “Building an IoT Node for less than 15 $”
I use #NodeMCU as a very comfortable environment for such solutions. I my blog https://cknodemcu.wordpress.com/ you will find a description of a #DHT11 network communicating with #MQTT which should one solution for your task.
Thanks @Libor_Gabaj , that really helped! After flashing again now I get the right text back from the ESP. Still having problems getting it connected tough but atleast it’s a step!