-->
Page 1 of 3

Help!! Im going crazy with this ESP8266

PostPosted: Tue Mar 31, 2015 1:22 am
by Glenn Ng
Need help here man!

I'm pretty new with arduino here, and i wanted to try out ESP8266.

So i tried following various tutorials, most failed... I followed this sets of connection from this tutorial. http://randomnerdtutorials.com/getting-started-with-esp8266-wifi-transceiver-review/

and the codes running on my arduino is from http://www.seeedstudio.com/blog/2014/09/11/getting-started-with-esp8266/

I tried various baud and it still isn't working.. most baud gave me gibberish consistent rubbish.
Image
Image
Image

Except the baud rate 57600
Image

i tried running with an external power source on the esp8266 too. same sh*t..
[img]i.imgur.com/7wj9Hfx.jpg[/img]

I tried to type any commands, anything too, wont work.... :( AT Command none work... im really lost... someone help me?

Re: Help!! Im going crazy with this ESP8266

PostPosted: Tue Mar 31, 2015 1:16 pm
by AlexanderB
Actually, it'll initially print some 'garbage' to the command line because it uses a different baud while booting compared to after. So unless yours is flashed with some custom setting or a really old firmware, it should use 115200.

One other thing, I hooked it up through an Arduino too, and at first it didn't work because the Arduino was actively trying to keep the line pulled up. Try flashing your Arduino with the following line added in the void setup() bit of a basic sketch:

Code: Select allpinMode(1, INPUT);

(Disconnect the ESP before flashing the Arduino, obviously)

That should release the line and let the ESP talk back to your computer. :)

Re: Help!! Im going crazy with this ESP8266

PostPosted: Tue Mar 31, 2015 7:07 pm
by SoC
add the Carriage Return / New Line in your arduino terminal. and use baudrate which give you a readable echo of what you send

Re: Help!! Im going crazy with this ESP8266

PostPosted: Wed Apr 01, 2015 10:33 am
by Glenn Ng
AlexanderB wrote:Actually, it'll initially print some 'garbage' to the command line because it uses a different baud while booting compared to after. So unless yours is flashed with some custom setting or a really old firmware, it should use 115200.

One other thing, I hooked it up through an Arduino too, and at first it didn't work because the Arduino was actively trying to keep the line pulled up. Try flashing your Arduino with the following line added in the void setup() bit of a basic sketch:

Code: Select allpinMode(1, INPUT);

(Disconnect the ESP before flashing the Arduino, obviously)

That should release the line and let the ESP talk back to your computer. :)


Trying to understand u better here, U meant uploading a basic sketch without any other codes but just pinMode(1, INPUT); under "setup"?

Well, i did that. But for this time i did a very basic set up.

ESP8266 Tx to Arduino Tx and also tried ESP8266 Tx to Arduino Rx
ESP8266 Rx to Arduino Rx and also tried ESP8266 Rx to Arduino Tx
ESP8266 VCC to Arduino 3.3v
ESP8266 GND to Arduino GND.

Opened up my serial monitor, checked all baud rates, nothing even appeared.. i tried entering AT, still nothing came out.