ESP8266 not working with Arduino - working otherwise
Posted: Tue Nov 24, 2015 9:02 am
Hi Guys
I am new to ESP8266 and Arduino and currently stuck in ESP8266 and Arduino integration. I am reaching out to you guys as i tried number of steps but nothing works for me.
1. I connected ESP8266 with USB to TTL converter and access it via Serial monitor. It is accessible, I can fire AT commands and getting back correct responses. I tried connecting it to Wireless AP and its done. Working perfect no problem except when i do AT+RST, it prints some junk characters and aithinker.com etc and finally puts "ready". I assume its OK.
2. When i did the connection with arduino i.e connect (Arduino)RX-RX(ESP) and (Arduino)TX-TX(ESP) and access it via serial monitor. It work the same way as in step1. I am using LM1117 3.3v voltage regulator to supply power to ESP.
3. But the problem is when i connect RX(ESP), TX(ESP) to Arduino any other Pin(lets say 7,8,9,10 etc) and use the following code, my serial monitor is STUCK at AT+RST or whatever first command it fired.
Code is taken from: http://www.sunrom.com/p/wifi-module-esp ... via-module
I double checked Serial monitor baud rate and selected both NL, CR. Also, I haven;t used any logic level shifter between RX, TX pin of arduino and ESP
Guys, any help is appreciated. I can send complete circuit diagram if you need.
I am new to ESP8266 and Arduino and currently stuck in ESP8266 and Arduino integration. I am reaching out to you guys as i tried number of steps but nothing works for me.
1. I connected ESP8266 with USB to TTL converter and access it via Serial monitor. It is accessible, I can fire AT commands and getting back correct responses. I tried connecting it to Wireless AP and its done. Working perfect no problem except when i do AT+RST, it prints some junk characters and aithinker.com etc and finally puts "ready". I assume its OK.
2. When i did the connection with arduino i.e connect (Arduino)RX-RX(ESP) and (Arduino)TX-TX(ESP) and access it via serial monitor. It work the same way as in step1. I am using LM1117 3.3v voltage regulator to supply power to ESP.
3. But the problem is when i connect RX(ESP), TX(ESP) to Arduino any other Pin(lets say 7,8,9,10 etc) and use the following code, my serial monitor is STUCK at AT+RST or whatever first command it fired.
Code is taken from: http://www.sunrom.com/p/wifi-module-esp ... via-module
I double checked Serial monitor baud rate and selected both NL, CR. Also, I haven;t used any logic level shifter between RX, TX pin of arduino and ESP
Guys, any help is appreciated. I can send complete circuit diagram if you need.