Mini-MFRC522 Communication Failure and Firmware Version 0x0 = unknown

Materials:
Arduino Uno
Jumper Wires
Mini-MFRC522 RFID Module

I'm new to Arduino and scanners and I can't seem to get them to work.
I've bought several RC522's and from different sellers and it gives me the error
"Communication Failure, is the MFRC522 properly connected?"
and
"Firmware Version : 0x0 = (unknown)

I've used different wires, other arduino uno boards, and using different scanners.

Below is my setup:

#include <SPI.h>
#include <MFRC522.h>

#define RST_PIN         9          // Configurable, see typical pin layout above
#define SS_PIN          10         // Configurable, see typical pin layout above

MFRC522 mfrc522(SS_PIN, RST_PIN);  // Create MFRC522 instance

void setup() {
	Serial.begin(9600);		// Initialize serial communications with the PC
	while (!Serial);		// Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4)
	SPI.begin();			// Init SPI bus
	mfrc522.PCD_Init();		// Init MFRC522
	delay(4);				// Optional delay. Some board do need more time after init to be ready, see Readme
	mfrc522.PCD_DumpVersionToSerial();	// Show details of PCD - MFRC522 Card Reader details
	Serial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));
}

void loop() {
	// Reset the loop if no new card present on the sensor/reader. This saves the entire process when idle.
	if ( ! mfrc522.PICC_IsNewCardPresent()) {
		return;
	}

	// Select one of the cards
	if ( ! mfrc522.PICC_ReadCardSerial()) {
		return;
	}

	// Dump debug info about the card; PICC_HaltA() is automatically called
	mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
}

All the code should do is dump the serial data and such into the serial monitor from the tags.
Any advice would be greatly appreciated.

Ok yeah, I realized that Arduino Uno is a 5V from all pins and only the 3.3V pin actually sends out that voltage meaning that everything got fried. I ordered some more MFRC522 and some logic converters in hopes of remedying this. They're coming today, will write here the results once I test it out.

give a link to the MFRC522 modules you are using
have a look at Arduino_MFRC522v library
try running the Check Firmware program

Yeah it finally worked, just replying late since I had to work on the project. Using a logic converter is goddamn useful. For anyone else who is having this problem, most youtube tutorials are complete bs.

This was the only video that I saw that explains why. 5V is comes from every pin, not just the 5V pin except for 3.3v.

Also yeah I tried Firmware Check after and it gave me the correct version, 2.0.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.