Software serial?
Re: Software serial?
Was this submitted as a PR? I would really like to see this implemented in micropython!
Re: Software serial?
I would also really like if this class was added to the original micropython firmware!
Does anyone know which files I had to copy from this repository to the 1.9.1 version of micropython to make it work? Or isn't this as easy as just copying some files/adding some text?
Does anyone know which files I had to copy from this repository to the 1.9.1 version of micropython to make it work? Or isn't this as easy as just copying some files/adding some text?
Re: Software serial?
Is there still something going on regarding this - anybody using it successfully? And based on which version?
ulno
ulno
Re: Software serial?
I tried the PVOS softuart contribution, and I got it working.
At first it seemed to do it's job very well, but after a while it looks like it's corrupting the system. Even to a degree that a reset won't help anymore. The only possibility that remains, is to re-flash the system.
I do not have enough knowledge of micropython to find out where the problem is.
It maybe has to do with not reading the RX while data keeps coming in. some sort of a RX-buffer could be overwriting systemdata? I don't know.
Is there any other way to implement a software uart (at least RX) on the ESP8266?
At first it seemed to do it's job very well, but after a while it looks like it's corrupting the system. Even to a degree that a reset won't help anymore. The only possibility that remains, is to re-flash the system.
I do not have enough knowledge of micropython to find out where the problem is.
It maybe has to do with not reading the RX while data keeps coming in. some sort of a RX-buffer could be overwriting systemdata? I don't know.
Is there any other way to implement a software uart (at least RX) on the ESP8266?
Re: Software serial?
I solved my problem in implementing an arduino ic2 client library (as I had to monitor "serial" output from Arduinos) and then connecting via i2c. Feel free to check https://github.com/ulno/ulnoiot/tree/ma ... _connector if you also want to monitor Arduinos.
Re: Software serial?
I'm not using Arduino. I'm trying to read a sensor, using an esp8266 on MicroPython basis. The sensor only wants to speak rs232.
Re: Software serial?
Did you look here?
viewtopic.php?f=16&t=1809&start=30
and corresponding PR
https://github.com/micropython/micropython/pull/2814
viewtopic.php?f=16&t=1809&start=30
and corresponding PR
https://github.com/micropython/micropython/pull/2814
Re: Software serial?
Yes I did look at that topic too. But it seemed kind of unfinished and I liked the idea of a software uart better.
It looks like if I don't upload files through Webrepl, the system does not get corrupted.
So I think I stick to your solution for now.
Thanks very much for your support!
It looks like if I don't upload files through Webrepl, the system does not get corrupted.
So I think I stick to your solution for now.
Thanks very much for your support!
Re: Software serial?
Hello. Are there any news? )
I am looking for Software serial for Pyboard.
I am looking for Software serial for Pyboard.
Re: Software serial?
Hitting this too. Any plan to integrate SoftUART technology in Micropython?