CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Wiegand to Serial RS232 Conversor

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jrgob



Joined: 21 Jan 2010
Posts: 10
Location: Brazil

View user's profile Send private message Send e-mail

Wiegand to Serial RS232 Conversor
PostPosted: Fri Jul 01, 2011 8:41 am     Reply with quote

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... Shocked

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??????????? Question
_________________
Thanks.

jrgob
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri Jul 01, 2011 9:35 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Fri Jul 01, 2011 10:26 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 01, 2011 12:02 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 01, 2011 1:03 pm     Reply with quote

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!!!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group