Page 4 of 6

Re: Software serial?

Posted: Sat May 20, 2017 6:31 am
by craftyguy
Was this submitted as a PR? I would really like to see this implemented in micropython!

Re: Software serial?

Posted: Sun Aug 20, 2017 11:17 pm
by crizeo
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?

Re: Software serial?

Posted: Thu Oct 19, 2017 4:19 pm
by ulno
Is there still something going on regarding this - anybody using it successfully? And based on which version?

ulno

Re: Software serial?

Posted: Sun Dec 10, 2017 8:05 pm
by paulc
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?

Re: Software serial?

Posted: Mon Dec 11, 2017 12:49 am
by ulno
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?

Posted: Mon Dec 11, 2017 3:06 pm
by paulc
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?

Posted: Wed Dec 13, 2017 6:51 pm
by ulno

Re: Software serial?

Posted: Mon Dec 18, 2017 8:01 pm
by paulc
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!

Re: Software serial?

Posted: Mon Jan 15, 2018 11:31 am
by Dinar
Hello. Are there any news? )
I am looking for Software serial for Pyboard.

Re: Software serial?

Posted: Sat Mar 17, 2018 3:29 am
by jcea
Hitting this too. Any plan to integrate SoftUART technology in Micropython?