RFID reader issue

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

So what reader do you have?

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.

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.

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

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