Pages: [1]   Go Down
Author Topic: RFID reader issue  (Read 525 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hey,

I wanna make a smartcard reader in my arduino one, but i dont get it working.
i'f tried some programs found on this site, but no succes.

So can some one help me with it?

I got Red wire +12v, Black wire -12v  connect to a 12v power.
and i got D1= RS485 Data+ Wiegand
and i got D0= RS485 Data- Wiegand 

many thnx
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31555
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So what reader do you have?
Quote
D1= RS485 Data+ Wiegand
D0= RS485 Data- Wiegand 
I know what RS485 is and I know what Wiegand is but they are not the same thing.
What output is your reader producing.

Quote
i'f tried some programs found on this site, but no succes.
Trying random programs found on the net is no way to do a project.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

here is some technical info about de reader.


www.seculogixltd.com/cd/ATS/ATS%20Access%20Control%20Peripherals_files/Manuals/ATS1190_1192%20Installation%20Manual.pdf



Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31555
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, however that data sheet is not so good at telling you what outputs the reader produce.
Most of the readers people interface to the arduino are serial RS232 readers. This is designed to either work on an RS485 bus or a give a Wiegand output. However, it dose not tell you how to change from one to the other.
It also does not say what form the Wiegand output takes. It could be open collector or it could be a simple output. If it is not open collector then connecting it directly to your arduino will damage your arduino because it outputs voltages at the same level as the supply to the reader. You must not connect voltages greater than 5V to an arduino.

To get this working you need to use an oscilloscope to see what you have got. Look at the output when you present a card and see the voltage of the pulses. If you see nothing then connect a resistor of a value between 1K and 10K to the outputs going up to 5V. If that produces a signal and the direct connection does not you have an open collector output and you can connect it directly to two pins of your arduino but not pins 0 & 1. If you have high voltage pulses out then you have to cut them down, I would use a transistor but you could use a potential divider.

For software you would be best writing an interrupt service routine to gather the output into a word. This project interfaces to three Wiegand output readers, you can get an idea of what you have to do.
http://www.thebox.myzen.co.uk/Hardware/Crazy_People.html
Logged

Pages: [1]   Go Up
Jump to: