[SOLVED] Multi UART Communication

Status
Not open for further replies.

TiagoRibeiro

Full Member level 2
Joined
Oct 29, 2013
Messages
130
Helped
18
Reputation
36
Reaction score
17
Trophy points
28
Location
São Paulo/Brazil
Visit site
Activity points
765
Hello, I need to develop a project with PIC18F4680. Pic needs to communicate with a GSM module and GPS. But this pic has only one USART. So I have a doubt, it is possible to make 2 or more UART for Software? IF YES, how? Please guide me or provide any app to read.
I'm using MPLABX - C18 Compiler.
Thank you.
 

Google with the term "Soft UART" you will find tons of information
 

Hello again,
I managed to make a software UART work, but she is sending garbage.
I think this is happening because the baud rate is not correct. :grin:
Anyone know how to set the baud rate of the UART software?
 

you can find setting baudrate in to registers in the reference manual . Normally everyone does set at 9600 mbps.
 

if u are sending different commands for different devices then u can connect multiple serial port to single port. But condition is different data should be for different devices.
This is not try but u can try and post the resullt.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…