Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Opinions on using a GPIO as UART

Status
Not open for further replies.
GPIO as UART

GPIO, for example MCU I/O lines, can be used as UART by software, but you need processing power.
There are projects with software UART using an AVR but the speed is limited to 4800-9600 bauds.
 

Re: GPIO as UART

You can use GPIO as UART,
transmitting data is very easy task..
but receiving data with proper baud rate is little bit time consuming process..
what is application by the way?
 

Re: GPIO as UART

Slammer:
processing power is not an issue as we our processor is fast enough to accommodate it.

Burnout Tesla:
Actually I only need the transmit, I don't need the receive as I will use this transmit signal to convert it to RS485 protocol using SP485 to control a PTZ camera.


Are there any downloadable C code for this thing. Thanks.
 

Re: GPIO as UART

actually u dont have to search the net..
its just a simple function..
u can write it by urself..
send start bit then ur byte MSB first then stop bit...
adjust the timing according to baud rate of camera..
u can see the timing diagram or wave form on the scope for inbuilt UART and try to implement it..
its not a hard job...
 

Re: GPIO as UART

actually u dont have to search the net..
its just a simple function..
u can write it by urself..
send start bit then ur byte MSB first then stop bit...
adjust the timing according to baud rate of camera..
u can see the timing diagram or wave form on the scope for inbuilt UART and try to implement it..
its not a hard job...

Hi..
i want to interface RF-ID module with 89C51 using software UART...RF-ID will send card id(12 bytes)..
I got some code from internet but its not working...
can anyone tell me how to do it?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top