avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x73
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x61
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x77
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x61
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
What is the cause of this error?
Attached is my wiring diagram.
#include <ESP8266WiFi.h> // Include the Wi-Fi library
const char* ssid = "SSID";
const char* password = "password"; // The password of the Wi-Fi network
void setup() {
Serial.begin(115200); // Start the Serial communication to send messages to the computer
delay(10);
Serial.println('\n');
WiFi.begin(ssid, password); // Connect to the network
Serial.print("Connecting to ");
Serial.print(ssid);
Serial.println(" ...");
int i = 0;
while (WiFi.status() != WL_CONNECTED) { // Wait for the Wi-Fi to connect
delay(1000);
Serial.print(++i); Serial.print(' ');
}
Serial.println('\n');
Serial.println("Connection established!");
Serial.print("IP address:\t");
Serial.println(WiFi.localIP()); // Send the IP address of the ESP8266 to the computer
}
void loop() { }
Did I do something wrong about it? Am I on the right path now?
Well if you can ping 192.168.43.27 from a computer connected to your network (i.e. has ip address 192.168.xxx.xxx) you have successfully programmed ESP-01 to connect.
agrp87132:
Well if you can ping 192.168.43.27 from a computer connected to your network (i.e. has ip address 192.168.xxx.xxx) you have successfully programmed ESP-01 to connect.
I am not sure what you are asking??
Actually, I just want to know if I am on the right path. Since I used Arduino UNO as a USB-TTL converter, I want for my Arduino UNO to communicate with my ESP 01 module. How will I do it? I saw several tutorials about using SoftwareSerial library but how could I know that the ESP 01 received the data?
OninVR:
Given the above code and configuration, do you think I can still use AT commands? I tried sending AT commands but there is no response from the ESP 01
Sorry I did not see that you have overwritten the AT firmware.
You have to understand that you don't need the Arduino anymore since you have flashed the ESP-01 with the ESP8266 Arduino core firmware. That firmware is not a good idea for the ESP-01.
ieee488:
Sorry I did not see that you have overwritten the AT firmware.
So what I did is that I already have overwritten the AT firmware? Geez man. Thank you. So what am I gonna use now to make my ESP 01 and Arduino UNO communicate? Any suggestion?