Hi everyone! Just started messing with ESP8266 since my boss wanted some temperature readings

Hi everyone!

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…

Any ideas?

  1. 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?
  2. What code are you using?if you have somethin like “while(1)” you should comment it. Someone else had a similar problem (http://www.esp8266.com/viewtopic.php?f=9&t=3146 )

Thats the strange thing, I’m not having any program running on it! Just wanted to see if I managed to get it connected to the wifi at work!
This is how it’s connected right now: https://photos.google.com/share/AF1QipNydRyezJMwV3YCXU-YfnHlC2Vwm3nbCpUr_sDKn8jpJv9LuPwK_j5O_5uwN0yTKQ?key=d3RTWGxnVUNrSFdIYjdoMU1Ec3pUUk1kVE9CNldB
Nothing fancy, power to vcc & ch_pd, gnd to gnd, and then tx&rx. (the green unconnected is the earth for GPIO0 when flashing)

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.

Will try that, should I connect the gnd and vcc from the USB to the breadboard lines to?

I have tried with nodemcu but incomfortable totally. You shoud go with esp8266 arduino or c programming sdk

I have tried with nodemcu but incomfortable totally. You shoud go with esp8266 arduino or c programming sdk

It shouldn’t be that complicated @Saytinh , I’m just trying to follow a couple of guides:

But my problem seems to be that after flashing it I only get gibberish from it in the console when I should be getting text like this: http://www.xess.com/static/media/uploads/blog/devbisme/2014-12-09/change_speed.jpg

I’ve tried connecting the ESP to my 3.3V supply now and only running the tx & rx cables to the USB cable but then my flasher can’t find the card!

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 $” :wink:
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!

Great suggestion with using the NodeMCU @Claus_Kuhnel , found a great guide online doing exactly what I want so I’ll try that to! http://vaasa.hacklab.fi/2016/02/06/esp8266-on-nodemcu-board-ds18b20-arduinoide-thingspeak/