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 to PIC communication

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



Joined: 22 Oct 2004
Posts: 1
Location: Stillwater, Oklahoma

View user's profile Send private message AIM Address

PIC to PIC communication
PostPosted: Fri Oct 22, 2004 9:32 am     Reply with quote

I need to send a 18 bit binary number from one pic to another pic of the same type. I am using PIC16F877A. I was wondering if anyone knew of a way to do that without using the serial port. I don't necessarily need to clocks to be syncronized. Is there a way to just send data out of one output pin and into an input pin on the other pic Question

Thanks for your help,
B Very Happy
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 22, 2004 12:29 pm     Reply with quote

There is a method given in the CCS FAQ, though I admit I've never
done this.
http://www.ccsinfo.com/faq/?23
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Oct 22, 2004 1:51 pm     Reply with quote

One could also look at using SPI or IIC serial transfer. Both are readily available standards with minimal hardware.
_________________
The search for better is endless. Instead simply find very good and get the job done.
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE
PostPosted: Fri Oct 22, 2004 11:48 pm     Reply with quote

Serial communication may also be used ( in this case you need not use the MAX 232 IC ).

thanks
arun
Dazzle
Guest







:-)
PostPosted: Mon Oct 25, 2004 2:33 pm     Reply with quote

Nooooo!, have one PIC with speech synthesis and the other with an "electronic" ear.

The transmitter could speak the number in a human voice and the receiver could listen and recognise this.

Laughing
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