So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By rutberg
#74383 I uploaded a Blink sketch from the Arduino IDE;

Code: Select all/*
Uses a FOR loop for data and prints a number in various formats.
*/
int x = 0;    // variable

void setup() {
  Serial.begin(9600);      // open the serial port at 9600 bps:   
}

void loop() { 
  // print labels
  Serial.print("NO FORMAT");       // prints a label
  Serial.print("\t");              // prints a tab

  Serial.print("DEC"); 
  Serial.print("\t");     

  Serial.print("HEX");
  Serial.print("\t");   

  Serial.print("OCT");
  Serial.print("\t");

  Serial.print("BIN");
  Serial.print("\t");

  for(x=0; x< 64; x++){    // only part of the ASCII chart, change to suit

    // print it out in many formats:
    Serial.print(x);       // print as an ASCII-encoded decimal - same as "DEC"
    Serial.print("\t");    // prints a tab

    Serial.print(x, DEC);  // print as an ASCII-encoded decimal
    Serial.print("\t");    // prints a tab

    Serial.print(x, HEX);  // print as an ASCII-encoded hexadecimal
    Serial.print("\t");    // prints a tab

    Serial.print(x, OCT);  // print as an ASCII-encoded octal
    Serial.print("\t");    // prints a tab

    Serial.println(x, BIN);  // print as an ASCII-encoded binary
    //                             then adds the carriage return with "println"
    delay(200);            // delay 200 milliseconds
  }
  Serial.println("");      // prints another carriage return
}


With thes settings
Image

And got these results
Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld


Similar error as I got with my two other ESP12F

:cry:
Last edited by rutberg on Tue Mar 06, 2018 6:14 am, edited 1 time in total.
User avatar
By rutberg
#74385
btidey wrote:Also 10K is a but marginal in my view for the GPIO15 pull down (which must be low during reset). It has to overcome the internal pull up. I would use <=4.7K to make sure it is low during boot.


I tried with both 10k and with 1K. The later tests with 1K
User avatar
By btidey
#74401 The rst cause 2 indicates that the module got a reset pulse but this is often caused by power supply issues.

Although you may be using a 3.3V supply with a good output, the connections to the module can sometimes degrade this. The breadboard hook up picture indicates several breadboard links in the path. Some breadboards have poor contact resistance. (I have had to chuck a few with 1Ohm contact).

Also the decoupling capacitor is only a 100nF ceramic. I would be using an electrolytic (220uF) as well and connecting these pretty directly across the module to keep the decoupling impedance low.
User avatar
By rutberg
#74402
btidey wrote:The rst cause 2 indicates that the module got a reset pulse but this is often caused by power supply issues.

Although you may be using a 3.3V supply with a good output, the connections to the module can sometimes degrade this. The breadboard hook up picture indicates several breadboard links in the path. Some breadboards have poor contact resistance. (I have had to chuck a few with 1Ohm contact).

Also the decoupling capacitor is only a 100nF ceramic. I would be using an electrolytic (220uF) as well and connecting these pretty directly across the module to keep the decoupling impedance low.


Is there any other way to reset to check for that? Because it matches up with how I reset it. I do have a couple of 1000uf 25v electrolytic and I've tried with using that, however not that close to the board. Would that work?

I've tried feeding it power through;

    Arduino UNO 5v via 3.3 voltage regulator (powered by 12v)
    Arduino UNO 3.3 v (powered by 12v)
    3x1,5 v AA via voltage regulator
    2x1,5 v AA directly
    1x 3,7 v 18650 via voltage redulator

The most stable voltage I've gotten has been through directly powering it via the UNOs 3,3v feed. However I've done the download via a seperate FTDI adapter.