Most recent activity
-
-
I found this issue :
https://github.com/espruino/Espruino/issues/830I inject this instruction : LoopbackA.setConsole(), via mqtt protocol to the device,
then the serial data is coming to the server app. -
Hello @MaBe,
The problem of using software serial is the success rate of serial data. It is very low, only 30%, we get the proper data, although using a low baud rate at 4800. While using the hardware serial, we get more than 90% success rate. So, I discontinue using software serial.
-
-
Hello @MaBe,
Yes, I have tried using software serial, but the serial data is not reliable, although I set the baud-rate at 4800. And, after one or 3 hours, the ESP8266 will crash.
Using hardware serial, the data is more reliable. However, after disconnection over tcp/ip,
there is no data coming from the device, as seen in a server application.
I use MQTT protocol to send data from device to the server.Regards,
Maman -
Hello..
I attach a serial device to the Serial1 on ESP8266.
To retain the connection of the serial device, I put a code offunction onInit() { Serial1.setConsole(); }
at the begining of the program.
However, data from the serial device can't be obtained.
But, if we connect the ESP8266 using TCP in espruino web IDE, then
the data from the serial device has appeared.Is there any instruction that can activate the serial device connection ?
Regards,
Maman -
Hello @allObjects,
What is espruino version do you use ?
Previously, I used espruino_2v00.17 on ESP-07. It was periodically crashed.
Changed to espruino_1v99, using the same script code, it is no problem. -
Yes, sure.
I want to develop ESP-Now gateway, based on this work
https://github.com/HarringayMakerSpace/ESP-Now.
Using espnow, it is possible to develop battery-powered devices for sensors,
using less IP-address devices.
For the gateway, I use 2 ESP8266, one is for connection with the esp-now network,
and the other is for connection to the internet via wifi. For the first device, I use arduino IDE,
while for the second device, I use espruino.
Communication between devices is using UART. Now, both device is using hardware serial.
I use ESP-07.
Regards,
Maman