PDA

View Full Version : RS232 to weigand



Stevenindon
- 6th April 2006, 05:53
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

Felch
- 14th April 2006, 22:06
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

Stevenindon
- 15th April 2006, 11:45
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?

Felch
- 15th April 2006, 11:52
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.

Stevenindon
- 19th April 2006, 08:40
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