ESP8266 ESP-01 doesn't react #5623
Replies: 1 comment
-
Posted at 2016-12-22 by Frida When you are flashing gpio0 shall be grounded. When running, shall gpio0 be left ungrounded, or pulled up with a resistor. Remenber to put ch_pd to 3.3 volt to enable it. Posted at 2016-12-22 by Wilberforce In the IDE check tht the baud rate is 115200. It defaults to 9600 and that needs to be changed. Posted at 2016-12-23 by Mac @frida, yes, I tried to disconnect gpio0 after flashing, but the result is the same. @wilberforce, yes, I set it to 115200. Does By the way, when I'm trying to write any text in the console a small LED on USB-TTL is flashing on every button push, but the console is still empty. Posted at 2016-12-23 by Ollie @user71504 I'd try rule out a glitch with the IDE - it's not unheard of for things to break between the chrome app and the OS version - so maybe try connect from the command line using the 'screen' command. I'd also consider using esptool's 'erase_flash' option before flashing. This will wipe the ESP8266-01. Failing this, I'd be looking at the board itself. If you have another try that. Posted at 2016-12-23 by Mac @ollie, yes, I tried Before Espruino I used Arduino IDE to write firmware for it and it worked without problems. Posted at 2016-12-23 by Ollie Oh. I only have two more suggestions then - flash at a lower baud rate - I can't tell what the speed was from the snippet, and lastly try an earlier version of the binary - and maybe not just the combined file try the user1.bin, blank.bin and boot_v1.6.bin approach. I have 1.87. Posted at 2016-12-23 by Mac @ollie, I just tried 1.87 and console started giving a response. I disconnected gpio0 and launched the Web IDE:
But when I tried to upload a simple sketch I received errors: Sketch:
Output:
Posted at 2016-12-23 by Ollie I'm going to say power is unstable/insufficient. Do you have a capacitor between GND and 3.3v on the ESP8266-01? It's been a while since I used an Posted at 2016-12-23 by Mac I'm using this schema. Just unplug GPOI0 from the ground after flashing. Attachments: Posted at 2016-12-23 by Ollie Maybe try the capacitor, between VCC and GND. Also without being connected to wifi - do you have more success loading a sketch? Posted at 2016-12-23 by Mac I tried it without Wi-Fi connection too. Which capacitor should I use? Posted at 2016-12-23 by Ollie I think 47uF is recommended in the docs but you can go bigger. I think I might have used 100uF Posted at 2017-01-01 by Mac Finally bought a capacitor (47uF, 16V) and ESP8266 started working! Thank you very much, @ollie! And Happy New Year to all! Posted at 2017-01-01 by Ollie That's made my year ;) As an aside, I started with the ESP8266-01 boards but eventually left them alone in favour of ESP8266-12 boards, or more specifically, development boards like the NodeMCU. 01 has really limited pin outs, less flash and you need to supply the power via FTDI and faff with flashing routines. My current favourite is the D1 Mini (and replicas of). It's tiny and comes with pin header but you decide whether to solder it. The NodeMCU is probably the best board in terms of exposing ESP8266 pins but it comes with pre-soldered pin header - great for breadboarding but it you want to use it in your application you need to pull all that out to keep it small. Hope that's useful. Glad you are up and running! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-12-22 by Mac
Hi!
I can't make ESP8266 work with Espruino. I'm using USB-TTL converter. Flashing works without any problems:
After that, I disconnect it from the computer and connect again (GPIO to ground) and launch Espruino Web IDE. I choose
/dev/tty.usbserial
and the connection is established. But I can't write anything in the console at the left.What should I do to make it work?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions