-
RS232 to weigand
I am doing a project which requires me to output datas to wiegand format. I have constructed the circuit with RS232 output. How can i convert my output from RS232 to weigand format 26bit? Please help.
Iam using picbasic pro and running a 16f628 at 4mhz int clock.
Thanks
Steven
-
1 Attachment(s)
Actually...what is wiegand after all? I have seen RFID-card readers with very different timings but they all claim to output wiegand...
Anyway, may-be this helps (look at page 2).
/Felch
-
Thanks Felch.
After reading through the weigand 'standard', I presume we have to send pulses of high/low to different pin (Data0 & Data1) for a representation of data within a limited time using pulsout right? I dont find any other way other than this. U think this will work?
-
I do not know exact PICBasic syntax but i guess that it is PulseOut. Anyway, you have to set D0 low for some time to send a zero nd D1 low for the same time to send one.
Both data lines must not be low simultaneously.
Card readers output data in 26 bit's where 1-st and last bits are for parity and remaining 24 bits represent some hex numbers. This way you can store many numbers. If you have to send ASCII symbols, for example, you are limited to only 3 characters (24 bits makes 3 bytes)! That's why i used a "pseudowiegand" format.
-
PIC Basic Pro to wiegand
Does anyone out there knows how to send wiegand protocol/method using PIC Basic Pro? Can u post it or send to me please??
Thanks!
Steven Indon