Serial.available() always returning 0 on ESP8266 ( Prodino WIFI)

Hi,

I am using ProDINo WiFi ESP-WROOM V1.0

I am connecting to the device using an FTDI chip, I can read serial output from the prodino in the arduino serial monitor , however when I send any data through the serial monitor Serial.available() returns always 0. The TX pin on the FTDI chip blinks after I press send in the serial monitor, so I assume it is sending data correctly.

I have tried the same code on a Wemos D1 mini and it works with no issue

Here is the code:
void setup(void)
{
// You can open the Arduino IDE Serial Monitor window to see what the code is doing
// Serial connection from ESP-01 via 3.3v console cable
Serial.begin(9600);
while (!Serial);
Serial.println(“Entering loop”);
}

/**

  • @brief Main method.
  • @return void
    */
    void loop(void)
    {
    delay(1000);
    // send data only when you receive data:
    if (Serial.available() > 0) {
    // read the incoming byte:
    incomingByte = Serial.read();

// say what you got:
Serial.println(incomingByte, HEX);
}
}

Thanks and regards

I am connecting to the device using an FTDI chip, I can read serial output from the prodino in the arduino serial monitor , however when I send any data through the serial monitor Serial.available() returns always 0. The TX pin on the FTDI chip blinks after I press send in the serial monitor, so I assume it is sending data correctly.

Did you use a 3.3V version of the FTDI? If you use the default 5V version you may have damaged the RX pin of the ESP8266 which might be the cause of no reception.