Closed punisherball54 closed 9 years ago
Hi @punisherball54 different manufacturers code their keypad code differently. The keypad I was using sends out 8 bit wiegand, first 4 bits and last 4 bits are negate of each other.
Without knowing what format your keypad sends out, it is a bit hard to write the Arduino code. If you have access to an oscilloscope, this will be an easy task. Put probe 1 to D0 and probe 2 to D1. Set the scope to have single shot trigger at the level of about 3V. Press the key and the D0 and D1 pulses will be displayed. Capture this screen with a camera or better still using your scope's capture software, go through all the keys and read this tutorial
http://www.monkeyboard.org/tutorials/82-protocol/24-wiegand-converter
where we showed how to read the D0 and D1 and relate it to binary data.
Alternatively you can change the code at
if ((_bitCount==26) || (_bitCount==34) || (_bitCount==8))
and
else if (_bitCount==8)
to let the code print out the total _bitCount and _cardTemp captured.
Hope this helps.
Look like I'll look for an oscilloscope. I'll get back to here later.
Thanks
I tried your arduino library for my Wiegand 26 RFID/Keypad that I purchased from http://www.amazon.com/Generic-Weatherproof-125KHz-Wiegand-Control/dp/B00G4UF7NA/ref=aag_m_pw_dp?ie=UTF8&m=A1AMCNPRVTG0PH
And it able to read the RFID card but unable to get anything when I press the keypad. I was wondering if you could give me little more details about how to code for keypad for my Arduino Uno?
Thanks