jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

esp-12f esp8266 help #423

Open simtcrom opened 5 years ago

simtcrom commented 5 years ago

I used NODEMCU FLASHWARE PROGRAMMER to flash Release 3.0.14 to esp-12f esp8266 with below config

nodemcu_config

I saw the upload progress and finally below screen with AP MAC address STA MAC

nodemcu_success

After this if I remove all connections from esp-12f esp8266 and simply provide 3.3v to vcc and gnd to gnd, am I supposed to see this as a wifi network when I search for it?

Blimpyway commented 5 years ago

According to https://github.com/jeelabs/esp-link/blob/master/FLASHING.md user1.bin should go at 0x1000 not 0x10000

simtcrom commented 5 years ago

According to https://github.com/jeelabs/esp-link/blob/master/FLASHING.md user1.bin should go at 0x1000 not 0x10000

I re flashed again with user1.bin going to 0x1000 Now, how do I boot esp8266 to normal mode and connect to it via wifi?

yesyesuk commented 5 years ago

You need to read up on how to wire up an ESP8266. You need more than just Vcc and GND.

Blimpyway commented 5 years ago

assuming your flashing went fine, then you should see the ESP8266's new SSID in your computer's wifi AP list. I often found the esp module manufacturer SSID was there instead of the expected "ESP-Link..." id, and I failed to recognize it. Just refresh Wifi AP list after you power on the ESP, should see a new, unsecured SSID.

On Wed, Dec 12, 2018 at 11:48 PM yesyesuk notifications@github.com wrote:

You need to read up on how to wire up an ESP8266. You need more than just Vcc and GND.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jeelabs/esp-link/issues/423#issuecomment-446756761, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab_a_WeSyMWZ8NIRXlljLhWzD8urNIZUks5u4Xm7gaJpZM4ZQaMr .

simtcrom commented 5 years ago

assuming your flashing went fine, then you should see the ESP8266's new SSID in your computer's wifi AP list. I often found the esp module manufacturer SSID was there instead of the expected "ESP-Link..." id, and I failed to recognize it. Just refresh Wifi AP list after you power on the ESP, should see a new, unsecured SSID. On Wed, Dec 12, 2018 at 11:48 PM yesyesuk @.***> wrote: You need to read up on how to wire up an ESP8266. You need more than just Vcc and GND. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#423 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab_a_WeSyMWZ8NIRXlljLhWzD8urNIZUks5u4Xm7gaJpZM4ZQaMr .

I wired, GPIO15 to GND GND to GND VCC to 3.3V EN to VCC.

Now I am able to find it in available wifi networks and connect to it. I can also access the page 192.168.4.1.

Some instructions says to connect below as well for normal operation, I have not done it. Is that ok? GPIO0 to VCC GPIO2 to VCC,

Some instructions says to use pull up resistors, I have not done it. Is that ok too? between EN and VCC between GPIO15 and GND.

Blimpyway commented 5 years ago

I'm using mostly ESP-01s, and in my particular case I'm fine with just linking directly CH_PD and reset pins to vcc. GPIO-0 Is used to reset an arduino board, and works just fine without any extra pullups. More important seems to be the capacitors between GND and VCC, both >220uF electrolitic and >100nF ceramic, in parallel

The difference between pull-up/down resistor and wiring directly to vcc/gnd is the resistor allows you to use that pin in any way it was intended to be used. e,g, a pullup for reset pin allows you to pull it down to gnd with a button without shorting your supply when you push reset button.

Same for other pins - e.g. gpio0 needs to be pulled down only during flashing.

So chosing between pullup resistors and direct connection to vcc depends on if/how do you intend to (re)use the respective pin.