Anyone know how to power down mfrc522?.
thx
(deleted)
Yeah but then I would some kind of sensor to fire up interrupt mini pro and init 4x3 keypad and rc522.
Also this sensor would need to have a low power consumption. Any ideas?
(deleted)
I guess I could have been a bit more specific Im coding a medium security access control system.
Idea was to swap out the pcb in this cheap chinense electonic safe with protype pcb + mini pro + rc522 + keypad powerd by 4xAA battery series 6V. Coding is almost done only power consumption left and interrupt.
project so far done
- eeprom wear level 1.1 millon eeprom write cycles (1 KB version assuming no cell failures) floating structure 5 rfid user 1 programming card config
- 2 anti clone tricks
- Write to free sector any card in transport config and default keys mifare classic
- Buzzer, led feedback on button press and matching password or random number rfid
- 3 times wrong password 8 sec delay
- progamming mode button press wipe eeprom except wear level counter and marker
- auto reset
Set and clear powerdown bit
mfrc522.PCD_WriteRegister(0x02, 0x10);
mfrc522.PCD_WriteRegister(0x02, 0x00);
28mA reduction
0x776F6F74:
Set and clear powerdown bitmfrc522.PCD_WriteRegister(0x02, 0x10);
mfrc522.PCD_WriteRegister(0x02, 0x00);
28mA reduction :)
Thanks for this example, its very good, but the register is in char format. Can you please provide the necessary header and register name?
The format is:
mfrc522.PCD_WriteRegister(RegisterName, int byte count, int 0x00);