You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
In the repo for the python version they claim to have increased the range: mxgxw/MFRC522-python#30
How can this be done with this module?
I tried:
First I logged the byte that sets the antenna gain console.log(this.readRegister(CMD.RFCfgReg)) which returns 72.
According to the datasheet of MRFC522, 72 corresponds to 33db.
I tried putting it on 112 (which is 48db) with
this.writeRegister(CMD.RFCfgReg, 0x07 << 4);
in index.js in the function reset();
But If I try to read the same byte later, again with console.log(this.readRegister(CMD.RFCfgReg)) it still logs 72!
Hello,
In the repo for the python version they claim to have increased the range:
mxgxw/MFRC522-python#30
How can this be done with this module?
I tried:
First I logged the byte that sets the antenna gain
console.log(this.readRegister(CMD.RFCfgReg))which returns 72.According to the datasheet of MRFC522, 72 corresponds to 33db.
I tried putting it on 112 (which is 48db) with
this.writeRegister(CMD.RFCfgReg, 0x07 << 4);in
index.jsin the functionreset();But If I try to read the same byte later, again with
console.log(this.readRegister(CMD.RFCfgReg))it still logs 72!How do I increase the gain?
Thanks