Arduino-ESP8266 sketch upload issue!

Hey guys,

Im trying to get my sketch uploaded to the ESP8266 which is connected to my Arduino. I have done the connections properly(http://www.teomaragakis.com/wp-content/uploads/2015/10/uno_esp_connection.png) and also the sketch compiles successfully. The issue occurs when i try to upload the sketch. The following errors are displayed:

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Would be great if you guys can help me out!Thanks cheers!

Most newbies are easily confused when it comes to this.

You have a ESP-01.

You have two choices:

  1. continue to use the AT command firmware that ships with the module and use it to communicate between the Arduino and the ESP-01 module
    or
  2. replace the firmware with the code that you have developed using the ESP8266 Arduino Core.
    The Arduino Uno becomes irrelevant.

Which path do you want to take?

In addition, you need to purchase a dedicated 3.3V power supply for the ESP-01.
The Arduino Uno's 3.3V is not enough.

.

Hey ieee488!

I would like to go ahead with the first option - use AT and use it to communicate between Arduino and ESP-01.
I have my server setup with a few RESTAPIs.My main objective is to connect the ESP-01 to the internet,send http requests and obtain the value from it. This value should be passed to the arduino and the arduino must control devices.I can manage once I get the value to the arduino.

If you can please guide me on how I can make http requests using my ESP01 and pass the value to the arduino, it would be very helpful! It would be great if you can share some links that can help me out.

Thanks for the reply!Much appreciated!Cheers!

Spidev:
Hey ieee488!

I would like to go ahead with the first option - use AT and use it to communicate between Arduino and ESP-01.
I have my server setup with a few RESTAPIs.My main objective is to connect the ESP-01 to the internet,send http requests and obtain the value from it. This value should be passed to the arduino and the arduino must control devices.I can manage once I get the value to the arduino.

If you can please guide me on how I can make http requests using my ESP01 and pass the value to the arduino, it would be very helpful! It would be great if you can share some links that can help me out.

Thanks for the reply!Much appreciated!Cheers!

No clue about REST APIs whatsoever.

I suggest you download the Espressif's AT command manual and/or Google.

.

ok thanks!! Cheers!