Chat freely about anything...

User avatar
By PeppePegasus
#60307 Hi guys I am new on esp8266. I am trying to realize a simple meto station with Arduino and this shield:
http://www.banggood.com/ESP8266-Web-Ser ... =myorderIf
I installed into Arduino IDE the support for esp8266. If I try to load on the board with Arduino IDE an example sketch, for example the blink:

Code: Select all/*
 ESP8266 Blink by Simon Peter
 Blink the blue LED on the ESP-01 module
 This example code is in the public domain
 
 The blue LED on the ESP-01 module is connected to GPIO1
 (which is also the TXD pin; so we cannot use Serial.print() at the same time)
 
 Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                    // but actually the LED is on; this is because
                                    // it is acive low on the ESP-01)
  delay(1000);                      // Wait for a second
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}


I have the errors:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed

reading some tutorial on posts it seems is a firmware problem. So I try to flash a new firmware following this tutorial:
https://learn.adafruit.com/micropython- ... l?view=all
but I receive the error:

A fatal error occurred: Failed to connect to ESP8266

Can someone help me to solve this problem?
Thanks.
Giuseppe
User avatar
By GengusKahn
#60315 Hi there, this is a Combined Arduino(A328P) and ESP8266 in a single device mounted on a shield.......

Look here for some basic info on how to flash this specific sheild.....https://fineshang.gitbooks.io/esp8266-based-serial-wifi-shield-for-arduino-user/content/chapter4.html

The ESP8266 has the ability to run the Ardunio code and use the Onboard Arduino as a Serial slave via Firmata....maybe look at this?