- This topic has 4 replies, 2 voices, and was last updated 12 years, 7 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Problem in interfacing RFID module with AT89C51, need help !
I have interfaced this RFID module with AT89C51 micro controller:
seeedstudio.com/wiki/125Khz_RFID_module_-_UART
using the instructions and codings given here:
engineersgarage.com/microcontroller/8051projects/interface-rfid-AT89C51-circuit
but when I scan a RFID card, it appears some numbers & chinese letters as “UNIQUE CARD ID:”, even it getting changed randomly each and every time i scan – the same card !. May I know what is the problem ? do I have make any changes to make this circuit function correctly ?
Please note that in your RFID module pin1 is the TX pin and it should be connected to pin13 (RX pin) of the max232.
Leave the pin 2 of the module unconnected as it is RX pin.
//Please note that in your RFID module pin1 is the TX pin and it should be connected to pin13 (RX pin) of the max232.
Leave the pin 2 of the module unconnected as it is RX pin.\
I did and getting the same result !!! , any other solution ?
Hi Shafie,
Make sure you’ve set the baud rate at 9600.
Have you checked your module with hyperterminal?
Are you using same power supply for the module and mcu? If not short the ground of both.
Check your max 232 –
short the tx and rx pin of max232 that goes to the mcu, disconnect the reader and connect the serial cable from the pc, and type something on the hyperterminal, use should get the same characters back in the hyperterminal.
Hi Shafie,
Your RFID module is ttl compatable, no need to use a max232. You can directly connect it to the mcu.
Find an example on this link
http://www.instructables.com/id/Arduino-and-RFID-from-seeedstudio/?ALLSTEPS
I hope this will help you to fix the problem