Power not via USB.
I work with Web IDE via wifi and everything works fine. When Disconnected from the Web IDE, ESP12f rebooted and serial1 to communicate with SIM800L not working.
The problem is serial1. How to fix?
Here in this place, the module hangs and restarts.
function Start_modem(){
digitalWrite(D5, false);
var connection = setInterval(function(){ Serial1.println("AT+COPS?");},300);
Serial1.on('data', function (data) {
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Power not via USB.
I work with Web IDE via wifi and everything works fine. When Disconnected from the Web IDE, ESP12f rebooted and serial1 to communicate with SIM800L not working.
The problem is serial1. How to fix?
Here in this place, the module hangs and restarts.
function Start_modem(){
digitalWrite(D5, false);
var connection = setInterval(function(){ Serial1.println("AT+COPS?");},300);
Serial1.on('data', function (data) {
});
}