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 / uid comparison

uid comparison

|

Microcontroller › 8051 › uid comparison

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 11 months ago by Anonymous.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 11, 2012 at 2:37 pm #1796
    neety
    Participant

    Hii i am working on a project where i have to compare the serially received UID bits from the rfid reader and compare them to 2 previously stored UIDs. Based on this i hav to display a message on an LCD and play a voice clip too. Can u help me develop a code for this?

    May 11, 2012 at 3:11 pm #7744
    AJISH ALFRED
    Participant

    Alright. You should go step by step like, First you do code for displaying some characters on the LCD, later a string. Then try code for transmitting and receiving serial data. If you do all these yourself, you’ll find it very easy to code your project.

    All you have to do is to keep the default or predefined UID in a string, store the serially received UID in another string and compare both of them using strcmp or strncmp. Display your message based on whether the strings match or not.

    I hope you try out yourself, and if you stuck somewhere simply update on this forum. You will defenitely get help.

    May 11, 2012 at 3:11 pm #7766
    AJISH ALFRED
    Participant

    Alright. You should go step by step like, First you do code for displaying some characters on the LCD, later a string. Then try code for transmitting and receiving serial data. If you do all these yourself, you’ll find it very easy to code your project.

    All you have to do is to keep the default or predefined UID in a string, store the serially received UID in another string and compare both of them using strcmp or strncmp. Display your message based on whether the strings match or not.

    I hope you try out yourself, and if you stuck somewhere simply update on this forum. You will defenitely get help.

    June 7, 2012 at 2:21 pm #7976
    Anonymous
    Guest

    I’m a little short on time right now. I’m using 89c51 microcontroller. How do i store the two uids in this mc? And how do i compare??

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

RSS Recent Posts

  • parallel-to-serial problem May 23, 2025
  • Behringer MX 1602 mixer - reading block diagram May 23, 2025
  • STM32 checking self-written delay function May 23, 2025
  • Reclaiming missing motherboard header May 23, 2025
  • 12v battery, 18v magic May 23, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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