Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Garbage after esp.ready() #56

Open
nirajbhatt7 opened this issue Jul 24, 2016 · 2 comments
Open

Getting Garbage after esp.ready() #56

nirajbhatt7 opened this issue Jul 24, 2016 · 2 comments

Comments

@nirajbhatt7
Copy link

Can someone please help.
I am getting garbage after esp.ready()

Output:
ARDUINO: Starting Device
ARDUINO: Waiting for ESP!!!
�_�â‚�º[ØÐ�PŠþ�X¹a‚ç·â�Ìþ�8��+ˆ�¢·A¢Ãâ�ª��šF¢ª�Â�«PT"p©ÅS0Ø���8


Code Sample:
`

include <SoftwareSerial.h>

include <espduino.h>

include <mqtt.h>

define esp8266reset A5 //arduino pin connected to esp8266 reset pin (analog pin suggested due to higher impedance)

SoftwareSerial espPort(9, 10); // RX, TX
ESP esp(&espPort, &Serial, esp8266reset);

MQTT mqtt(&esp);
boolean wifiConnected = false;

.
.
.
.
.
.

void setup() {
Serial.begin(19200);
espPort.begin(19200);

Serial.println("ARDUINO: Starting Device");

esp.enable();
delay(500);
esp.reset();
delay(500);

delay(1000);

Serial.println("ARDUINO: Waiting for ESP!!!");
while(!esp.ready());

Serial.println("ARDUINO: ESP is Ready");

`

@nirajbhatt7
Copy link
Author

Also note that my CHIP_PD is on A5 as I have a PCB that I designed last year and it was all working at some point in 2015 but now that I started playing with again, it has stopped working. Just FYI, I have taken latest for both and flashed ESP-01 with latest bin as well. My ESP-01 is 2 years old in case if that makes any difference

@patmalcolm91
Copy link

patmalcolm91 commented Oct 1, 2016

I'm also having the exact same issue. Did you ever figure out a solution?

Edit: I'm using an Arduino Pro Mini clone, my CHP_PD is on pin 4, and my ESP-01 is newly bought (though not sure if the hardware itself is old) with the newest version of esp_bridge flashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants