CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC communication 1 master to 3 slave by RS232

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
akekachai



Joined: 03 Feb 2013
Posts: 1

View user's profile Send private message

PIC communication 1 master to 3 slave by RS232
PostPosted: Sun Feb 03, 2013 10:21 am     Reply with quote

Hi, everybody

I will create a new project using PIC and CCS compiler.
This project is consist of 1 master and 3 slave that will communicate through RS232.

As I know, The general concept is that the master will send address to the slave. If the address is match which one, the slave will send data to master.

Please help me.
How to use command to contact the slave and then send data to master ?

How to do format and protocol ?

Thank you
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Sun Feb 03, 2013 10:29 am     Reply with quote

Do you mean RS485?

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Feb 03, 2013 12:30 pm     Reply with quote

Technically it is possible to use RS-232 for multiPIC communications though RS-485 is the generaly accepted 'standard'

Also, providing they are reasonably close(1-2 feet,maybe a metre), CCS supplies examples of PIC2PIC on a single wire (NOT One wire !).

Any of these 3 methods works fine...it's up to the designer/programmer
to choose based on his criteria(speed,distance,traffic collisions,etc.).

hth
jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group