-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi,
i am trying to wire the RFID module to an ESP32 devkit.
I use a BSS138 level shifter (and also tried with a 4050 level shifter)
I can receive communication from the RFID module, but any attempt to send seems to fail.
Code:
`#include <Arduino.h>
#include <SparkFun_UHF_RFID_Reader.h>
RFID nano;
void setup()
{
Serial.begin(115200);
nano.enableDebugging(Serial);
Serial1.begin(115200);
nano.begin(Serial1);
}
void loop()
{
nano.getVersion();
}`
The log says:
sendCommand: [FF] [00] [03] [1D] [0C]
Time out 1: No response from module
If i reset the RFID module by grounding enable pin i can see:
sendCommand: [FF] [00] [03] [1D] [0C]
response: [FF] [14] [04] [00] [00] [14] [12] [08] [00] [30] [00] [00] [02] [20] [22] [08] [04] [01] [0B] [01] [25] [00] [00] [00] [10]
Wrong opcode response
which i guess is the firmware version sent at boot (as mentioned in examples).
The "wrong opcode response" is logical since it was asking for getVersion and got something else instead.
It shows that RFID -> ESP32 serial is working.
So it seems that my ESP32 can receive data from the module,
but any command sent does timeout without answer...
Any clue ?
Thanks !