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

Smart communication between two pic.

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



Joined: 05 Nov 2007
Posts: 28
Location: Denmark

View user's profile Send private message Visit poster's website

Smart communication between two pic.
PostPosted: Wed Mar 18, 2009 3:41 am     Reply with quote

Hello everybody.

I'm pretty solid at PIC basics and have alot of routine in programming a single unit.

In my upcomming project I need to do something that I haven't tried before and I'd therefore like to ask you guys what's the smart way to do it.

I have a scenario that looks like this:

I have a serial connection from my computer to a pic18f4525. I need receive an 8bit integer from the serial connection and pass that integer on to another pic18f4525.

If I'm a bit unclear, the scenario is like this:

[PC] --8bit int, serial connection--> [PIC1] --8bit int--> [PIC2]

I'd like the hardware setup to use as few wires as possible from PIC1 to PIC2. I'd prefer a solution that allows bidirectional communication.

So. What's the smart way to do this?

Thank you for your help
David
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE:
PostPosted: Wed Mar 18, 2009 5:45 am     Reply with quote

Try RS 485 based interface.. you can address both PICs individually from the PC..

thanks
aa
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