No video

Writing and reading data to RFID cards with raspberry pi 4 and Arduino

  Рет қаралды 76

Kryo Strife

Kryo Strife

Күн бұрын

RasPi4 + Arduino + MFRC522 RFID module = programmable RFID reading and writing.
Now that we had a basic understanding of how the memory is stored and the ENTIRE contents (16 sectors of 4 blocks each. 64 blocks of 16 bytes each = 1024bytes or 1kb of total memory) can be memory dumped, we wanted to be able to manipulate each specific sector, block, and hex address to manipulate the entire memory address as we saw fit. So we wrote a program from scratch tonight to do just that using commands and information provided directly from the mfrc522.h file itself 😎🤠
This allows you to scan a RFID card or tag and write what data in what location as you see fit. The user will input first the sector they want to manipulate, followed by the block location they want to manipulate, and finally they input the 16 bytes of data. Here I reset the sector 0 block 2 to all zeros and then enter some random data and write to it then display the new data for sector 0 block 2.
Notice that the user will input decimal numbers in 16 positions to be input into an array. That array then gets written to the block and sector and hexadecimal form. (21 decimal is 15 in hex 🤯)
In case you think it's a different RFID tag/card, sector 0 block 0 stores the UID of the RFID key. You'll notice they are the same both times
We plan on implementing a larger program including this and :
1: Full memory dump option
2: Key Cloning
3: Factory Key Reset
4: Name Key
5: Change keyByte for security (0xFFFFFFFFFFFF)
6: Change UID, PICC, and SAK
7: Write to Trailer Security Blocks

Пікірлер
Control ANY COMPUTER with these Pi KVMs!
17:46
Jeff Geerling
Рет қаралды 823 М.
How to Set Up a Pi-Hole System on a Raspberry Pi - Block Ads and More!
13:32
So Cute 🥰
00:17
dednahype
Рет қаралды 44 МЛН
Мы сделали гигантские сухарики!  #большаяеда
00:44
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 573 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 627 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,6 МЛН
Raspberry Pi RFID MFRC522 NFC Reader, Tags Scanner python code
15:21
Electronic Clinic
Рет қаралды 40 М.
Building the world's LARGEST iPhone
32:05
DIY Perks
Рет қаралды 589 М.
UID Changeable RFID Cards - Part 3, Write Entire Block 0
15:20
Finitepi Education
Рет қаралды 14 М.
Interfacing RFID with Raspberry Pi Microcontroller
16:34
Dr. Arti Parab
Рет қаралды 14 М.
The Truth About SIM Card Cloning
13:04
Janus Cycle
Рет қаралды 1,1 МЛН
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 514 М.