Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:35:06+00:00 2026-06-12T08:35:06+00:00

I’m using this RFID module for Arduino Ethernet R3 and I need to retrieve

  • 0

I’m using this RFID module for Arduino Ethernet R3 and I need to retrieve from the Software Serial the card (TAG) ID that is written outside the tag.
The module’s datasheet says that 14 bytes are sent to the Arduino. The first is the header, the last the footer, the 2 bytes before the footer are the checksum, and the other 10 bytes are the ASCII data that contains the tag ID.

How can I recreate the ID of the card, and control the checksum? For example with a tag that has this ID: 0013530444, the Arduino response is:

I received: 2
I received: 51
I received: 67
I received: 48
I received: 48
I received: 67
I received: 69
I received: 55
I received: 53
I received: 52
I received: 67
I received: 67
I received: 66
I received: 3

But I’ve no idea how to print on the screen the ID read by the Arduino. How to calculate the checksum?

http://www.seeedstudio.com/wiki/index.php?title=125Khz_RFID_module_-_UART

Can anyone help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:35:07+00:00Added an answer on June 12, 2026 at 8:35 am

    Here’s a walkthrough of how to calculate the checksum.

    Take your card number (this is just directly quoted from your text)

    I received: 2
    I received: 51
    I received: 67
    I received: 48
    I received: 48
    I received: 67
    I received: 69
    I received: 55
    I received: 53
    I received: 52
    I received: 67
    I received: 67
    I received: 66
    I received: 3
    

    This would give you a number that is equivalent to the following:

    2 51 67 48 48 67 69 55 53 52 67 67 66 3

    The first numer (2) indicates that this is the beginning of a request.

    The last number (3) indicates that this is the end of a request.

    2 51 67 48 48 67 69 55 53 52 67 67 66 3

    For the purposes of calculating the checksum, we are going to remove these two numbers. So your new number is now:

    51 67 48 48 67 69 55 53 52 67 67 66

    The last two numbers that you have are your checksum. The remaining numbers are your card number. So:

    Your card number is:

    51 67 48 48 67 69 55 53 52 67

    And your checksum is:

    67 66

    Next you need to convert your Card Number and your Checksum to ASCII values:

    Your card number is:

    3 C 0 0 C E 7 5 4 C

    And your checksum is:

    C B

    Next, grab each number into pairs:

    Your card number is:

    3C 00 CE 75 4C

    And your checksum is:

    CB

    Then you need to treat each pair as a HEXIDECIMAL value and do an XOR against them. So basically you need to prove the following:

    3C ^ 00 ^ CE ^ 75 ^ 4C == CB

    (3C ^ 00) = 3C

    3C ^ CE ^ 75 ^ 4C == CB

    (3C ^ CE) = F2

    F2 ^ 75 ^ 4C == CB

    (3C ^ CE) = 87

    87 ^ 4C == CB

    (87 ^ 4C) = CB

    CB == CB

    Because CB == CB, this is a valid transaction.

    No doubt someone else can come up with a better approach than this, but there should be enough pseudo code here for you to write it yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
In my XML file chapters tag has more chapter tag.i need to display chapters
I know there's a lot of other questions out there that deal with this
Does anyone know how can I replace this 2 symbol below from the string
I need a function that will clean a strings' special characters. I do NOT
I have thousands of HTML files to process using Groovy/Java and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.