Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mohd.jahangir
#34877 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.
User avatar
By Reese
#37205 you are not alone, I'm have the same issue with the AI-Cloud ESP-01 version.
it stuck in TX mode even after repowering or reflashing firmware.
but mine was I try to run a sketch in UNO by communicating it through other GPIO using SoftwareSerial library that after which it was stuck in endless crap data in TX.
did you found a solution or anybody??
HELP
User avatar
By Joe Job
#37266 Same here I only get AT+RST when using any scripts, but connecting with a blank sketch and using serial monitor to send AT commands it works fine:

Code: Select allAT+RST


OK

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

òn't use rtc mem data
rl�‚slÌÿ
Ai-Thinker Technology Co.,Ltd.

ready


Really stuck with this have waisted a lot of time searching the internet, maybe should of gone with a wifi/ethernet shield, this is going to cause big problems for me if I dont have it up and running in a couple of days :(