This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

serial communication between two microcontrollers

Hii....

i am making a project of radio frequency identification (RFID) in which i am using two microcontrollers AT89C52.

i want to make a serial communication between these two microcontrollers.
from first microcontroller i want to transmitt "A" through serial port to second microcontroller where the letter "A" is already stored.the 2nd microcontroller will receive via RxD pin the letter "A" and compares it with already stored "A" letter at different memory address .if the data received by 2nd microcontroller matches with the data already stored then i want to glow a green LED via port 1.1 and if data received doesnt matches then a red LED shld glow via port 1.2
can anybody help me with the coding of this problem
baud rate is to be 9600

  • can anybody help me with the coding of this problem

    .. if your 'problem' is this basic, I do not think it will help you much.

    There are plenty examples for serial comms, look at those, if you need help with the remainder of your 'problem', I guess you went out for a beer instead of attending class.

    Erik

  • hii
    my problem of serial communication is solved but now i am facing a new problem of interfacing the rf transmitter module and rf reciver module with the microcontrollers ...
    can you help me in that regard ....

    rf transmitter and receiver module works on 434 MHz frequency.....RF transmitter has 4 pins and rf receiver has 8 pins

  • And do you suppose that is sufficient information to allow anyone to identify what modules you are using, or how to drive them correctly?!

    Have you studied the Datasheets?