Serial communication between PICs microcontrollers

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
fannaticc
Posts: 2
Joined: 27 May 2011 06:13

Serial communication between PICs microcontrollers

#1 Post by fannaticc » 27 May 2011 06:24

Good afternoon everyone, this is my first post and I am happy to join this
community. First of all thank you for your attention. Well the case is:
Objective: serial communication between two PIC microcontrollers,
programming in C language, the Pro is MikroC PIC.Problema: Replication of
dados.Descrição: I tried to make the communication between the two with 2 LCD
sampled data, I'm trying to do it one month ago and two weeks, not
I found nothing about the Internet.
The codes are attached and are fully discussed.
Once again thank all of the attention.

Ps.: I've tried everything, and does not work. I need a lot of it is for a project
my college.

Note: The strange thing is that when I do a code to echo information
Coming from a PC (if PC-PIC) it responds perfectly. But if I use
echo this code and put it to write what he received, he simply
to function, and does not write anything on the display.
Note: I checked the connections more than 1000 times, the pics are in perfect
state, the LCD is working well
Attachments
Serial Communication.rar
(63.76 KiB) Downloaded 310 times

drdoug
Posts: 1074
Joined: 16 Aug 2007 03:49
Location: St. Louis, MO

Re: Serial communication between PICs microcontrollers

#2 Post by drdoug » 29 May 2011 13:37

Have you used the PC as both a transmitter and receiver for testing?
On the PICs you have TX from one going to RX of other?
Are the grounds connected from both PICs? This is a common mistake.

Post Reply

Return to “mikroC PRO for PIC General”