View previous topic :: View next topic |
Author |
Message |
jrgob
Joined: 21 Jan 2010 Posts: 10 Location: Brazil
|
Wiegand to Serial RS232 Conversor |
Posted: Fri Jul 01, 2011 8:41 am |
|
|
Hello,
I have to do a project at the university and I will use a HID card reader that works with the Wiegand 26 protocol, but my project only reads from the RS232 serial protocol...
I need develop a Wiegand to RS232 converter, I made a circuit with a PIC18F1320 to convert and I will use the PCH compiler v4.083...
But I do not know how to read the received data in order to convert...
Can someone help me, please??????????? _________________ Thanks.
jrgob |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Fri Jul 01, 2011 9:35 am |
|
|
When you are looking for something try doing some research by searching first before asking.
In this case search in this forum on the word wiegand and I think you will find some useful info. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
jrgob
Joined: 21 Jan 2010 Posts: 10 Location: Brazil
|
|
Posted: Fri Jul 01, 2011 10:26 am |
|
|
dyeatman,
thanks for your answer!
But I did some research, I found a lot, explanations about the protocol and some code examples. But nothing could help me ... and still have noticed that many agents with questions regarding this converter ... I also want to help those who have doubt with this topic here.
If I ask someone to post the files that have ... _________________ Thanks.
jrgob |
|
|
unitrant
Joined: 18 Jul 2005 Posts: 9 Location: Hertfordshire. UK
|
|
Posted: Fri Jul 01, 2011 12:02 pm |
|
|
All the information you should need can be found in an HID white paper which you should find here:
www.hidglobal.com/documents/understandCardDataFormats_wp_en.pdf
However it is necessary to have a good understanding of the format and the signals involved.
The usual HID reader provides two output signals with active low pulses. One line pulses low for 1 bits the other for 0 bits. It is best to use a comparator to trigger an interrupt handler from these two signals. You can use the external interrupts if you have two available (I have always used small PICs with only one hence the use of the comparators available in later 16F devices).
The parity checking can make it more involved, if you use it.
Regards
Jerry. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Fri Jul 01, 2011 1:03 pm |
|
|
If you searched the CCS forum you would have found :
http://www.ccsinfo.com/forum/viewtopic.php?t=27911
Because it is in the CCS Code Library it should be a fully functioning
converter, what more are you looking for? _________________ Google and Forum Search are some of your best tools!!!! |
|
|
|