-->
Page 1 of 2

esp8266 a6 gsm module

PostPosted: Fri Dec 09, 2016 3:55 pm
by stern0m1
Im having issues communicating via the serial ports between the a6 gsm module and the esp8266.

Are the serial ports compatible? Both are supposed to operate at 3.3v. Are there some settings I need to configure.



I am able to communicate with the a6 gsm just fine with a terminal.


Thanks

Re: esp8266 a6 gsm module

PostPosted: Fri Dec 09, 2016 4:45 pm
by Ribeiro Santos
What kind of issues? Sometimes it works others no? Never worked? ... With what code?

I ask just trying to understand the problem. :)

Re: esp8266 a6 gsm module

PostPosted: Sat Dec 10, 2016 8:46 pm
by stern0m1
The esp8266 resets when connected/communicating with the a6.
Im having trouble pin pointing what triggers it because it varies. Sometimes it works a bit.
Any help will be greatly appreciated. Thanks.

My code is:
serial2begin 115200, 5 , 4
serial2branch [ser]
button "send" , [se]
textbox text



wait

[se]

serial2println text

wait

[ser]
serial2input s
print s

return

Re: esp8266 a6 gsm module

PostPosted: Sun Dec 11, 2016 7:11 pm
by stern0m1
A decoupling capacitor made it much more stable.
Im still having an issue when I receive a text message on gsm module. The esp8266 either resets or I see on the debug serial port a loop of winsock connected- disconnected.

On a multi-meter I measured a peak draw of 250 mA when receiving a text message. My power supply should be adequate.


Any help will be greatly appreciated.

Thanks