pratish
Newbie level 3
Hey freinds i m doing project on RFID(Radio Frequency Identification).
I m using AT89c51/52/S52 uC.
I m using RS-232 fror serial communication, he problem i m facing is that i m not able to write the code for serial communication using UART.
Let me explain my project...
There is one transmitter who transmits signal continuously to the receiver containing the microcontroller. There is some range out of which the receiver could no able to catch the signal (RF) transmitted by transmitter.
At that time i want to send one message to the computer telling that "The transmitter is out of Range", and want to make the buzzer sound which is attached to the P2_1(Port @ PIn1).
And when the transmitter is in range i want to send one message to the computer telling that "The transmitter is in Range", and want to glow the LED attached to P1_o.
PLz help me out frndz.
Added after 5 minutes:
i have pasted the microcontroller part of the circuit.
Let me explain what i exactly want
i am taking an interrupt from a tag.Then on interrupt the microcontroller will ON 1 LED and then transmit a signal to the computer through the TXD pin..if there is no interrupt then the 2nd led will glow and the buzzer will buzz...now i am not gettin how to use an interrupt-- Syntaxwise . And that how to use TXD of the chip to transmit a high signal to the computer...
FOLKS please help me with the code part to produce such functionality.
eagerly waiting for a reply as my exams and project presentations have come up...
i am using the microcontroller AT89S52/AT89C51/AT89C51
This is the circuit diagram of my receiver section containing microcontroller.
I m using AT89c51/52/S52 uC.
I m using RS-232 fror serial communication, he problem i m facing is that i m not able to write the code for serial communication using UART.
Let me explain my project...
There is one transmitter who transmits signal continuously to the receiver containing the microcontroller. There is some range out of which the receiver could no able to catch the signal (RF) transmitted by transmitter.
At that time i want to send one message to the computer telling that "The transmitter is out of Range", and want to make the buzzer sound which is attached to the P2_1(Port @ PIn1).
And when the transmitter is in range i want to send one message to the computer telling that "The transmitter is in Range", and want to glow the LED attached to P1_o.
PLz help me out frndz.
Added after 5 minutes:
i have pasted the microcontroller part of the circuit.
Let me explain what i exactly want
i am taking an interrupt from a tag.Then on interrupt the microcontroller will ON 1 LED and then transmit a signal to the computer through the TXD pin..if there is no interrupt then the 2nd led will glow and the buzzer will buzz...now i am not gettin how to use an interrupt-- Syntaxwise . And that how to use TXD of the chip to transmit a high signal to the computer...
FOLKS please help me with the code part to produce such functionality.
eagerly waiting for a reply as my exams and project presentations have come up...
i am using the microcontroller AT89S52/AT89C51/AT89C51
This is the circuit diagram of my receiver section containing microcontroller.