EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Problem in interfacing RFID module with AT89C51, need help !

Problem in interfacing RFID module with AT89C51, need help !

|

Microcontroller › 8051 › Problem in interfacing RFID module with AT89C51, need help !

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 8 months ago by AJISH ALFRED.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 24, 2012 at 7:43 am #1815
    Shafie
    Participant

     

    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 ? 

     

     

    May 24, 2012 at 5:34 pm #7895
    AJISH ALFRED
    Participant

     

    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.

    May 26, 2012 at 4:56 am #7909
    Shafie
    Participant

    //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 ?

    May 31, 2012 at 5:41 pm #7947
    AJISH ALFRED
    Participant

     

    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.

    May 31, 2012 at 5:52 pm #7948
    AJISH ALFRED
    Participant

     

    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

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Variable audio oscillator February 8, 2026
  • Do i need a buffer? February 8, 2026
  • ANOTHER OLD PROJECT REDO February 7, 2026
  • wall transformer polarity February 7, 2026
  • Supply vs performance query February 7, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise