Wiegand how to read the pulses?
Hello everyone:
·
I am trying to do a project with BS2. The point is to use a generic RFID reader with the Wiegand protocol. I’ve read through the forum and have found that BS2 is not fast enough to get the pulses of the reader with that protocol. Unfortunately I cannot change the microcontroller, like suggested in other post, so I was thinking in somehow make the pulses last longer.
·
The first idea that came to my mind was to change the pulses with a “NOT” and use a capacitor that could charge in the few microseconds the Wiegand pulse last, and that it discharge in about 1ms or something like that, so that the SB2 could have time to read it, and the next pulse is not missed.
·
Another idea is to use a 555 monostable that with each pulse it will trigger, and make this state last, again, about 1ms in hopes that BS2 can read it.
·
I am really not sure anything like this would work. Any other ideas? Thanks for your help.
·
Berenice Beltran
·
I am trying to do a project with BS2. The point is to use a generic RFID reader with the Wiegand protocol. I’ve read through the forum and have found that BS2 is not fast enough to get the pulses of the reader with that protocol. Unfortunately I cannot change the microcontroller, like suggested in other post, so I was thinking in somehow make the pulses last longer.
·
The first idea that came to my mind was to change the pulses with a “NOT” and use a capacitor that could charge in the few microseconds the Wiegand pulse last, and that it discharge in about 1ms or something like that, so that the SB2 could have time to read it, and the next pulse is not missed.
·
Another idea is to use a 555 monostable that with each pulse it will trigger, and make this state last, again, about 1ms in hopes that BS2 can read it.
·
I am really not sure anything like this would work. Any other ideas? Thanks for your help.
·
Berenice Beltran
Comments
One possibility would be to use an external shift register clocked by the leading edge of the "or" of "data0" and "data1" with some extra delay in the clock line (the other sections of a triple-or gate) and the data line connected to "data1". You'd need 4 ICs like a 74HC595 plus a triple 3-in OR gate. The other OR input would be controlled by the Stamp so it could also shift the register (to read it out).
I hope I got your idea right, I will look through it and let you know if it worked.
Thanks again
Another way would be for the Stamp to produce a serial clock using the SHIFTOUT statement and clock out the 32 bits when the Wiegand lines are quiet (idling at high).