Uart Help

Discussion related to "under the hood" OpenMV topics.
marcus007
Posts: 32
Joined: Wed Sep 13, 2017 3:16 am

Uart Help

Postby marcus007 » Thu Sep 21, 2017 12:45 am

Hi Team,
I need to send data encoded from QR / Datamatrix to esp8266 via UART
So can you please help me what steps to follow which initialization to do .
Right now i have done only this

uart = UART(3, 115200)
uart.init(115200, bits=8, parity=NONE, stop=1)

any extra things to do?

& please also tell how to read uart

Thanks
User avatar
kwagyeman
Posts: 2191
Joined: Sun May 24, 2015 2:10 pm

Re: Uart Help

Postby kwagyeman » Thu Sep 21, 2017 1:08 am

Add timeout_char=1000 to the init call please.

For really good uart examples, see the Pixy Emulation script that uses the UART.

UART docs: http://docs.openmv.io/library/pyb.UART.html
Nyamekye,
marcus007
Posts: 32
Joined: Wed Sep 13, 2017 3:16 am

Re: Uart Help

Postby marcus007 » Thu Sep 21, 2017 3:36 am

Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D
Afgty
Posts: 10
Joined: Tue Jun 19, 2018 8:03 am

Re: Uart Help

Postby Afgty » Wed Jun 20, 2018 4:05 pm

marcus007 wrote:
Thu Sep 21, 2017 3:36 am
Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D
can you help me to do so?
marcus007
Posts: 32
Joined: Wed Sep 13, 2017 3:16 am

Re: Uart Help

Postby marcus007 » Wed Jul 25, 2018 12:46 am

Sure I will
Afgty wrote:
Wed Jun 20, 2018 4:05 pm
marcus007 wrote:
Thu Sep 21, 2017 3:36 am
Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D
can you help me to do so?

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests