Post topics, source code that relate to the Arduino Platform

User avatar
By cyberteen
#35473 Hi all,
I am new to ESP8266. I just recently bought an ESP8266 testboard, like the one in this link:
http://blog.squix.ch/2015/01/esp8266-test-board-review.html

I downloaded the latest arduino IDE v1.6.6, and have setup the necessary to use it with ESP8266.
I use Pl2203 for usb-serial communication. I made the connections and wass able to upload a simple blink program.

But the led blinks like about 5-6 times and then the board kind of resets itself. I tried changing the gpio pins, but all of them do the same. They blink for some time and stop and the board resets. I dont know why this happens.
Please help me out!!!
User avatar
By cyberteen
#35504 The board I'm having has a battery holder. So I am using 3 AAA batteries to power it up.

I have not connected anything to the RESET pin.

I am uploading only the same blink program already coming with the arduino ide. Here it is:
Code: Select all/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the Uno and
  Leonardo, it is attached to digital pin 13. If you're unsure what
  pin the on-board LED is connected to on your Arduino model, check
  the documentation at http://arduino.cc

  This example code is in the public domain.

  modified 8 May 2014
  by Scott Fitzgerald
 */


// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(5, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(5, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(5, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

User avatar
By cyberteen
#35509 Okay, I wired up the RX of the esp to TX of pl2303 and TX to RX, CH_PD to 3.3V and GPIO15 to GND.
I opened the arduino serial window with baud rate as 115200, I am getting the foll. msg:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld

Every time the board resets, I am getting the msg! But when I ground GPIO0 to GND and reset the board, it stops, throwing some garbage. Again when taking the GPIO0 off the ground and resetting it again, the problem starts.

What does the error mean? Is my ESP bricked?
PS: This is the first time, I am ever getting a message from the ESP8266!