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
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!
How do I increase the gain?
Thanks
The text was updated successfully, but these errors were encountered:
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!
How do I increase the gain?
Thanks
Hey @kevindekemele did you have any further tries with this? I tried this and didn't notice any difference with the read range, on my end it seems to be writing successfully since reading it returns the new value.
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.js
in 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
The text was updated successfully, but these errors were encountered: