uart connection

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

uart connection

Postby bear » Fri Mar 04, 2011 2:37 pm

how to make circuit for uart between to pic??
do we need to add other commponents???
bear
Apprentice
 
Posts: 46
Joined: Tue Oct 05, 2010 2:11 am

Re: uart connection

Postby yonghui » Fri Mar 04, 2011 8:33 pm

connect TX to RX, RX to TX, GNd to Gnd.

thats all. no external components needed.

for PIC to PIC connection
thanks&regards,
yh
yonghui
Professional
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: uart connection

Postby bear » Sat Mar 05, 2011 1:12 pm

hows the coding..
can some one put sample code and easy to understand for beginer..
how coding to send command to slave pic..
bear
Apprentice
 
Posts: 46
Joined: Tue Oct 05, 2010 2:11 am

Re: uart connection

Postby shahrul » Sat Mar 05, 2011 3:06 pm

You can see this code, PIC Transmit and PIC Receive.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: uart connection

Postby bear » Sat Mar 05, 2011 7:38 pm

thx for the code..
i had try to program..
but not working..

can you saperate evrything..
just put the thing for uart only..
im a beginer..
hard for me to write program without knowing what is needed for uart..
bear
Apprentice
 
Posts: 46
Joined: Tue Oct 05, 2010 2:11 am

Re: uart connection

Postby bear » Sat Mar 05, 2011 7:57 pm

can you give sample for 18f too..
bear
Apprentice
 
Posts: 46
Joined: Tue Oct 05, 2010 2:11 am

Re: uart connection

Postby shahrul » Sat Mar 05, 2011 8:35 pm

If beginner, the data sheet is best reference. Just see one-by-one all the address, what it's do.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 6 guests

cron