Questions with regards to ESP8266 Basic and hardware interfacing and control via Basic commands

Moderator: Mmiscool

User avatar
By stern0m1
#59291 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
User avatar
By stern0m1
#59340 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
User avatar
By stern0m1
#59379 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