Unfortunately, blurred |
Now quickly connected to the Arduino and let's go for the first test. I have previously downloaded the files from github and put the files in the folder C: \ arduino \ arduino-1.0.3 \ libraries . I want to show me a hex dump of the 1K memory on the card. Therefore I loaded the sketch mifareclassic_memdump.pde to the Arduino. Our RadioCard placed near the RFID-board and already the Arduino starts working!
My RFID board lives!
This looks very good! All HEX values :-( . But I was longing for decimal numbers. But step by step. My Mifare S50 card has a 1K memory and is divided into 16 sectors (0-15) Each sector. has 4 blocks of 16 bytes (0-15). If we calculate:
16 sectors * 4 blocks * 16 bytes = 1024 bytes = 1KByte
In the picture above I only displayed the first four sectors, the remaining 12 blocks look the same - promised!
The sector "0" is a special one. it containes the block "0", which belongs to the manufacturer. The first four bytes of the UID (here: FE 48 98 D1) followed by the checksum (here: FF). This is exactly the information that needs to be tinkered it to my playlist number.
If I convert the hex values FF FE 48 98 D1 to decimal values, I get:254 72 152 209 255 ... and that is very familiar to me! The Radio Card !
Keine Kommentare:
Kommentar veröffentlichen