Step 1: Describe your environment
- OS version: Ubuntu 22.04
- Arduino IDE version: PlatformIO 3.1.1
- MFRC522 Library version: 1.4.10
- Arduino device: ESP32-WROOM-32D
- MFRC522 device: XFW-ETLIVE MINI RFID-RC522
Step 2: Describe the problem
Affected file(s) or example(s):
Steps to reproduce:
I connect to module ESP32-WROOM-32D without devkit:
Same power source AMS1117.
Init with mfrc522.PCD_Init(RFID_SS_PIN, RFID_RST_PIN);
Observed Results:
Radio chains Not starts. Cards not readed. But PCD_PerformSelfTest is OK. LOW on RFID_RST_PIN.
Expected Results:
Working reader
Relevant Code:
I make this workaround: Reader works perfect.
pinMode(RFID_RST_PIN, OUTPUT);
digitalWrite(RFID_RST_PIN, LOW);
delay(2);
digitalWrite(RFID_RST_PIN, HIGH);
delay(2);
mfrc522.PCD_Init(RFID_SS_PIN, 255);
//mfrc522.PCD_Init();
Maybe INPUT_PULLDOWN here is better?
|
pinMode(_resetPowerDownPin, INPUT); |
pinMode(_resetPowerDownPin, INPUT_PULLDOWN);
Step 1: Describe your environment
Step 2: Describe the problem
Affected file(s) or example(s):
Steps to reproduce:
I connect to module ESP32-WROOM-32D without devkit:
Same power source AMS1117.
Init with
mfrc522.PCD_Init(RFID_SS_PIN, RFID_RST_PIN);Observed Results:
Radio chains Not starts. Cards not readed. But
PCD_PerformSelfTestis OK. LOW on RFID_RST_PIN.Expected Results:
Working reader
Relevant Code:
I make this workaround: Reader works perfect.
Maybe
INPUT_PULLDOWNhere is better?rfid/src/MFRC522.cpp
Line 208 in 1e73cd3