Software serial?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
craftyguy
Posts: 2
Joined: Wed Mar 08, 2017 12:31 am

Re: Software serial?

Post by craftyguy » Sat May 20, 2017 6:31 am

Was this submitted as a PR? I would really like to see this implemented in micropython!

crizeo
Posts: 38
Joined: Sun Aug 06, 2017 12:55 pm
Location: Germany

Re: Software serial?

Post by crizeo » Sun Aug 20, 2017 11:17 pm

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?

ulno
Posts: 9
Joined: Tue Mar 22, 2016 9:37 am
Contact:

Re: Software serial?

Post by ulno » Thu Oct 19, 2017 4:19 pm

Is there still something going on regarding this - anybody using it successfully? And based on which version?

ulno

paulc
Posts: 6
Joined: Sun Dec 10, 2017 7:36 pm

Re: Software serial?

Post by paulc » Sun Dec 10, 2017 8:05 pm

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?

ulno
Posts: 9
Joined: Tue Mar 22, 2016 9:37 am
Contact:

Re: Software serial?

Post by ulno » Mon Dec 11, 2017 12:49 am

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.

paulc
Posts: 6
Joined: Sun Dec 10, 2017 7:36 pm

Re: Software serial?

Post by paulc » Mon Dec 11, 2017 3:06 pm

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.

ulno
Posts: 9
Joined: Tue Mar 22, 2016 9:37 am
Contact:

Re: Software serial?

Post by ulno » Wed Dec 13, 2017 6:51 pm


paulc
Posts: 6
Joined: Sun Dec 10, 2017 7:36 pm

Re: Software serial?

Post by paulc » Mon Dec 18, 2017 8:01 pm

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!

Dinar
Posts: 1
Joined: Fri Dec 22, 2017 11:43 am

Re: Software serial?

Post by Dinar » Mon Jan 15, 2018 11:31 am

Hello. Are there any news? )
I am looking for Software serial for Pyboard.

jcea
Posts: 27
Joined: Fri Mar 18, 2016 5:28 pm

Re: Software serial?

Post by jcea » Sat Mar 17, 2018 3:29 am

Hitting this too. Any plan to integrate SoftUART technology in Micropython?

Post Reply