Author |
Message |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Tue Nov 16, 2010 12:00 pm Subject: PIC to PIC communication through RS485 |
HI jds-pic,
Can you please show me some sample code for initialize the MCU protocol?? After reading through the pdf file that you given to me, I found that I understand the concept but I have a lit ... |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Mon Nov 15, 2010 8:36 am Subject: PIC to PIC communication through RS485 |
What do you mean by using "PIC-ID, command"?? Is it write in this way ? #define PIC-ID 0x11 ?? Or using #define UART_address 0x11 ?? Thanks for helping me .. =) Your help would be appreciate ... |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Sun Nov 14, 2010 7:23 am Subject: PIC to PIC communication through RS485 |
but i need to indicate each MCU addresses because each MCU's have their own address, so that master jz can send data to the particular MCU...however, for rs232, it can't assign the MCU addresses., so ... |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Sat Nov 13, 2010 11:07 am Subject: PIC to PIC communication through RS485 |
but my connection is MCU (master) to Multiple MCU (slave), is it still using #use rs232 (baud=9600, xmit=PIN_B2, rcv=PIN_B1, stream=PIC)??? and the "stream", can i just change it to PIC inst ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Thu Nov 11, 2010 9:27 am Subject: pic to pic communication using uart |
here is the link for my schematic diagram..
http://www.flickr.com/photos/briansiaw/5167023278/ |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Thu Nov 11, 2010 9:26 am Subject: PIC to PIC communication through RS485 |
here is the link for my schematic diagram..
http://www.flickr.com/photos/briansiaw/5167023278/ |
Topic: PIC to PIC communication through RS485 |
cheehow
Replies: 11
Views: 54777
|
Forum: General CCS C Discussion Posted: Thu Nov 11, 2010 8:59 am Subject: PIC to PIC communication through RS485 |
Hi, guys. Im having a project which is about communication between 1 master to multiple slave. But for now, I just only testing on 1 master with 1 slave, and it fails. In my coding, I using 1 push but ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Wed Nov 10, 2010 10:24 am Subject: pic to pic communication using uart |
Sorry for asking question here again ...
Now I meet some problem in the codes. The following are my codes:
Master:
#include <16F877A.h>
#fuses HS, NOWDT, NOLVP, NOBROWNOUT, NOPROTECT, ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Wed Nov 10, 2010 9:32 am Subject: pic to pic communication using uart |
HI PCM Programmer,
i have one question. for the RS 232, what is the "stream" for ?? coz i saw some code put
#use rs232 ( baud rate=............, stream=pc);
is it communicate to the de ... |
Topic: max485 connection to PIC16f877 |
cheehow
Replies: 11
Views: 34637
|
Forum: General CCS C Discussion Posted: Mon Nov 08, 2010 10:24 am Subject: max485 connection to PIC16f877 |
HI crushneck,
i m also doing the same things as what u have done it ... so, can u show me ur sucessed codes to me and the circuit diagram as well .. your help would be appreciated !! thxssss :grin ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Mon Nov 08, 2010 10:17 am Subject: pic to pic communication using uart |
HI Everyone!!
I have written the code for this RS485, but in the code, there're required for pin B4 and B5 as RS 485 enable pin. So, in hardware circuit schematics. I don't have any idea to constr ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Fri Nov 05, 2010 4:39 am Subject: pic to pic communication using uart |
HI Humberto and temtronic,
i have read through all those RS-485 stuff, but i m confuse how to declare and initialize rs-485 at the beginning. i have also read through the example inside the PICC ex ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Tue Nov 02, 2010 8:16 am Subject: pic to pic communication using uart |
HI humberto,
thanks so much !!! it's worked !! erm .. i have one more question ... if i wanna add one more MCU to it which means now i wanna have two MCU ... so for the second slave, how to connect t ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Mon Nov 01, 2010 9:11 am Subject: pic to pic communication using uart |
HI, Humberto ... yaya .. it's worked !! the LED will blink while the power is on ... i think need to add in push button to control the data sending ... that means once i push the push button the data ... |
Topic: pic to pic communication using uart |
cheehow
Replies: 22
Views: 52516
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2010 8:31 pm Subject: pic to pic communication using uart |
Sorry, may I know what is #include <utility.c> in here ? Because it cannot be found in the PICC drivers and devices. |
|