Can't get Cactus R2 to start up correctly


#1

Hi I’m having real problems get the Cactus running…

Process Used:

  1. Loaded the ‘Programmer’ sketch. OK.
  2. Used the NodeMCU Flasher load the firmware (ai-thinker-0.9.5.2.bin) with settings of 1M and QIO.- OK
    3, Load test sketch:

int enable_pin=13;
void setup()
{
  Serial1.begin(115200);
  Serial.begin(115200);
  while(!Serial)
  {
    ; //wait
  }
  pinMode(enable_pin, OUTPUT);
  digitalWrite(enable_pin,HIGH);
  delay(15000);
  Serial.println("ESP8266 Interface Ready to start Loop...\r\n");
}


void loop()
{
  // pass data from ESP to host, if any
  while(Serial1.available() > 0)
  {
    Serial.write(char(Serial1.read()));
  }

  while(Serial.available()>0)
  {
    Serial1.write(Serial.read());
  }
}

The output of the sketch show that the program is running on the cactus, but the ESP
is returning bad data.

  1. I’ve tried the AT, AT+RST, AT+GMR commands. But I get only garbage characters back.
  2. I have also tried flashing the ESP8266 with the memory at 512Kb. Same result.

What I’m I doing wrong? - Why is this module so hard to use?

Regards,

Jppx.


#2

Please try these steps:

  1. Re-flash the ai-thinker-9600.bin to ESP8266. The option is 512KB because the firmware size is 512Kb. QIO is required.
  2. change the baud rate in the code to 9600

#3

Hi - Thank you. It’s finally answering back now.