hi, im trying to do a project with arduino uno, esp8266 and i get “failed to diable echo”. i am using “AI-v0.9.5.0 AT Firmware” is this the latest? i am having trouble locating firmware, could someone link me to the latest please.
Check out this Instructables
i dont own a mac.i tried the bin file down the bottom of the website. my flasher said it was complete. But now i cant get a response to “AT” on any baud.
I was able to get it working without AT commands. The steps of the tutorial after flashing should be the same regardless of what computer you’re using. Try using the wiring scheme in the tutorial (with GP0 disconnected from ground) as well as the code I provided
The Most annoying part in in any Blybk ESP8266 project is the correct firmware
as this hassle is always hard and no proper FULL guide for that available the best i found is @nolmath project
but the problem that he covers only the ESP8266 part for MAC users Only.
i just received my USB to Serial programmers (three FTDI , CH40 , FT232RL ) to make sure that atleast one of them will work.
i successfully updated the ESP-01 firmware on windows using a USB to serial programmer to AT v22 SDK 1.0.
but the errors sems it’s software issue
my code is
#include <ESP8266.h>
#include <SPI.h>
#include <BlynkSimpleShieldEsp8266.h>
#define EspSerial Serial
ESP8266 wifi(EspSerial);
char auth[] = "YourAuth";
// Declare Constants
const int ledPin = 13; // Built-in LED
void setup()
{
EspSerial.begin(115200); // Set ESP8266 baud rate
delay(10);
Blynk.begin(auth, wifi, "YourSSID", "YourPSK");
pinMode(ledPin, OUTPUT);
}
void loop()
{
Blynk.run();
}
errors is
In file included from C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:18:0,
from sketch_sep07a.ino:3:
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkApiArduino.h: In member function 'void BlynkApi<Proto>::processCmd(const void*, size_t)':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkApiArduino.h:94:82: note: #pragma message: Good! Analog pins can be referenced on this device by name.
#pragma message("Good! Analog pins can be referenced on this device by name.")
^
In file included from sketch_sep07a.ino:3:0:
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h: In member function 'void BlynkTransportShieldEsp8266::onData(uint8_t, uint32_t)':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:31:25: error: 'class ESP8266' has no member named 'getUart'
if (client->getUart()->available()) {
^
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:32:37: error: 'class ESP8266' has no member named 'getUart'
uint8_t b = client->getUart()->read();
^
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h: In member function 'void BlynkTransportShieldEsp8266::begin_domain(ESP8266*, const char*, uint16_t)':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:51:17: error: 'class ESP8266' has no member named 'setOnData'
client->setOnData(onData, this);
^
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h: In member function 'size_t BlynkTransportShieldEsp8266::read(void*, size_t)':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:72:21: error: 'class ESP8266' has no member named 'run'
client->run();
^
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h: In member function 'int BlynkTransportShieldEsp8266::available()':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:86:17: error: 'class ESP8266' has no member named 'run'
client->run();
^
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h: In member function 'bool BlynkWifi::connectWiFi(const char*, const char*)':
C:\Users\scrop\Documents\Arduino\libraries\blynk-library-0.3.0/BlynkSimpleShieldEsp8266.h:111:20: error: 'class ESP8266' has no member named 'setEcho'
if (!wifi->setEcho(0)) {
^
Error compiling.
any suggestion
Do you have the Blynk esp8266 library that I have posted on the tutorial?
YES , and i uninstalled Arduino IDE and removed all the libraries and installed every thing from scratch.
shall i try that again in windows 7 as maybe this is because of windows 10
Esp8266 01 as wifi shield works fine for me on windows 10. Sometimes the connections fails and says"failed to disable echo" but then i unplug power from the esp and put it back directly after i restarted the arduino. (at version 0.20)
sorry for my english
Do you remember where you downloaded the firmware? can i have a link please?
Yeah me too. So thats not my issue then
nolmath on your instructable you said http://www.instructables.com/id/Connect-to-Blynk-using-ESP8266-as-Arduino-Uno-wifi/step11/Wiring-the-Arduino-and-ESP8266/ the tx pin was in a different spot to my data sheet? mine says it would be the bottom right looking at your picture. (seen in this page down the bottom https://nurdspace.nl/ESP8266#Datasheet )
i tried both anyways same result
So what ive done is:
install ITEADLIB_Arduino_WeeESP8266-master library
add #define ESP8266_USE_SOFTWARE_SERIAL
upload the firmware v0.20
its works cause i can do “AT” command and get “ok” in response
then i plug my arduino uno in and upload the esp8266_shield code with my authenication number and wifi ssid and pass
also change the code to:
// Set ESP8266 Serial object
//#define EspSerial Serial1
// This can be a SoftwareSerial object (remember to also edit ESP8266.h):
SoftwareSerial EspSerial(2, 3); // RX, TX"
plug in the esp 8266 with rx to tx (pin3) and tx to rx (pin 2)
run blynkk app
go to serial monitor
says failed to disable echo
The firmware in my tutorial is v0.22 " link: http://esp8266.ru/download/esp8266-firmware/AT22SDK100-2015-03-20-boot1.2.bin ". If that doesn’t work, I would also say try #define EspSerial Serial instead of soft serial. Feel free to use the Arduino sketch code from my tutorial.
Also, you’re absolutely right about my esp8266 diagram. I wanted to add a better picture than I originally posted for the diagram and I accidentally messed it up. Thanks for the catch! It’s fixed now
Let me know if that doesn’t work and I’ll help you as best I can, but you will want to move those potential issues to a more relevant topic if it’s not relating to firmware.
ok thanks for helping.
So ive used the code youve put on your instructable this time and im getting this error for the line “ESP8266 wifi(EspSerial)”
Error is " No matching function for call to ‘ESP8266::ESP8266(HardwareSerial&)’
Hi all, Check out the latest library release, it comes bundled with some required libraries for ESP8266 Shield and improved stability: https://github.com/blynkkk/blynk-library/releases/latest