Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By stang
#22652 This is not really a problem but I would like to understand it. Caveat - I am using an OSX/Mac environment!

1. I have a couple of adafruit Huzzah's and they work fine in arduino environment - I hit the gpio0 button, hit reset and the modules go into bootloader mode and I can download a new sketch .

2. I recently got a couple of these - http://www.banggood.com/NodeMcu-Lua-WIFI-Development-Board-For-ESP8266-Module-p-976440.html and last night tried one of them.

Firstly the only light that operates is a pretty blue one. Holding down the gpio0 button and hitting reset seems to do nothing - however.

I tried to download a sketch - downloaded fine, and ran (it binds to wifi and acts as a udp responder (uses mdnsresponder)).

I then made a little change and recompiled and downloaded - the module downloaded the new sketch with out needing buttons being pressed (acts just like a regular arduino in fact).

This module has (presumably) a ftdi/serial adapter on board - I just plug in usb cable. Would this be pulling 0 low automagically when I attempt to download a sketch?

ALl of this is good behaviour for me and the module appears to be very nice - it came with nodemcu on board - which worked however I wanted to overwrite which it did with no issues.

Stan
User avatar
By mhogan
#22803 I have two of them. The only "problem" I've seen is that out of the box they only supported the AT command (no Lua). I used the nodemcu-flasher (all defaults) and flashed it. After that everything worked fine (except for all of the problems with the 8266 firmware). If you can help me get my v1.0 board working that would be great!
User avatar
By torntrousers
#22820 Yes they work pretty much as you describe. The Arduino IDE now has auto-reset support and with that board when you do an upload it automatically switches to fashing mode and uploads the sketch. So its really convenient to use. The only times i've found that doesn't work is if you've a sketch using deepsleep then it doesn't always auto-reset so you have to hold down the button and disconnect/reconect the usb cable to re-flash it.
User avatar
By Tawhiz20
#22826
mhogan wrote:If you can help me get my v1.0 board working that would be great!

Hi,

I had some serious problems with my V1 also... after a LOT of failures I managed to reflash NodeMCU on it with this procedure : http://www.electrodragon.com/w/ESP8266_ ... Flash_Note
(see also this: http://www.electrodragon.com/w/File:Nod ... _flash.png)

Now it works fine..

GRTZ