Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with code for serial communication using UART in RFID project

Status
Not open for further replies.

pratish

Newbie level 3
Newbie level 3
Joined
Feb 12, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
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.
 

Re: Project on RFID

set the baudrate of your microcontroller then use the _getkey function to receive the data on Rx pin
 

Re: Project on RFID

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.

97_1171382769.JPG
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top