Forum

Einloggen | Registrieren | RSS  

Kurzschluss(R)

26.06.2009,
23:19
 

Clock/Data (Magstripe) Schnittstelle (Elektronik)

Hallo,
hab mal wieder zwei Fragen:
Ich soll diesen Kartenleser an ein Gerät anbauen das eine Clock/Data Schnittstelle hat.
http://www.vb-int.com/PDF/GER/552_RFIDReader_GER.pdf
Jetzt habe ich aber keine Ahnung von der Schnittstelle und finde auch nicht wirklich viel in Goolge. (Oder bin ich blind!?)

1. Muss ich beim Anschließen irgendwas beachten was z. B. verdrehen von zwei Signalen angeht? (wie z. B. bei RS232 TXD und RXD)

2. Wenn ich das Datenblatt richtig verstehe muss ich Dip-Schalter 4 auf "Ein" stehlen das der Leser über Clock/Data kommuniziert.?

Auch über weitere Informationen zu dieser Schnittstelle würde ich mich freuen.

Jürgen

Thomas Z

26.06.2009,
23:29

@ Kurzschluss

Clock/Data (Magstripe) Schnittstelle

» Hallo,
» hab mal wieder zwei Fragen:
» Ich soll diesen Kartenleser an ein Gerät anbauen das eine Clock/Data
» Schnittstelle hat.
» http://www.vb-int.com/PDF/GER/552_RFIDReader_GER.pdf
» Jetzt habe ich aber keine Ahnung von der Schnittstelle

welches Modell hast du nun
Schnittstellen: RS485 oder RS232
oder
Clock/Data "Magstripe", D0/D1 "Wiegand"
oder
seriell "TTL"

» und finde auch
» nicht wirklich viel in Goolge. (Oder bin ich blind!?)

über serielle Schnittstellen gibt es Tonnen an Informationen
»
» 1. Muss ich beim Anschließen irgendwas beachten was z. B. verdrehen von
» zwei Signalen angeht? (wie z. B. bei RS232 TXD und RXD)

nun beachten muss du die richtige Verdrahtung je nach dem welche Schnittstelle von den möglichen Varianten nun wirklich eingebaut ist

Das ist mal die Hardware also mal die Auswahl ist es eine Autobahn Bundesstraße oder Feldweg
Dann brauchst die passende Software - also das zur hardware passende Fahrzeug.
Wer spricht das Gerät an?
Mit welchen Befehlen wird das Gerät angesprochen?
Welche Antworten sind möglich?
Welche Software kümmert sich um die Abwicklung
Dazu ist mal zu klären
Datenrate, Telegrammaufbau, Hardware oder Software Handshake

lies mal da
http://de.wikipedia.org/wiki/Serielle_Schnittstelle

Jürgen

E-Mail

27.06.2009,
15:53

@ Thomas Z

Clock/Data (Magstripe) Schnittstelle

Danke für deine Antwort.
Aber ich glaube wir haben uns gerade missverstanden.
Es handelt sich um den Leser mit der Clock/Data Schnittstelle.
Das mit der seriellen Schnittstelle war nur ein Beispiel ob es sowas auch bei der Clock/Data gibt. Also irgendwelche Signale tauschen oder so.



» » Hallo,
» » hab mal wieder zwei Fragen:
» » Ich soll diesen Kartenleser an ein Gerät anbauen das eine Clock/Data
» » Schnittstelle hat.
» » http://www.vb-int.com/PDF/GER/552_RFIDReader_GER.pdf
» » Jetzt habe ich aber keine Ahnung von der Schnittstelle
»
» welches Modell hast du nun
» Schnittstellen: RS485 oder RS232
» oder
» Clock/Data "Magstripe", D0/D1 "Wiegand"
» oder
» seriell "TTL"
»
» » und finde auch
» » nicht wirklich viel in Goolge. (Oder bin ich blind!?)
»
» über serielle Schnittstellen gibt es Tonnen an Informationen
» »
» » 1. Muss ich beim Anschließen irgendwas beachten was z. B. verdrehen von
» » zwei Signalen angeht? (wie z. B. bei RS232 TXD und RXD)
»
» nun beachten muss du die richtige Verdrahtung je nach dem welche
» Schnittstelle von den möglichen Varianten nun wirklich eingebaut ist
»
» Das ist mal die Hardware also mal die Auswahl ist es eine Autobahn
» Bundesstraße oder Feldweg
» Dann brauchst die passende Software - also das zur hardware passende
» Fahrzeug.
» Wer spricht das Gerät an?
» Mit welchen Befehlen wird das Gerät angesprochen?
» Welche Antworten sind möglich?
» Welche Software kümmert sich um die Abwicklung
» Dazu ist mal zu klären
» Datenrate, Telegrammaufbau, Hardware oder Software Handshake
»
» lies mal da
» http://de.wikipedia.org/wiki/Serielle_Schnittstelle

Thomas Z

28.06.2009,
09:17

@ Jürgen

Clock/Data (Magstripe) Schnittstelle

» Danke für deine Antwort.
» Aber ich glaube wir haben uns gerade missverstanden.
» Es handelt sich um den Leser mit der Clock/Data Schnittstelle.
» Das mit der seriellen Schnittstelle war nur ein Beispiel ob es sowas auch
» bei der Clock/Data gibt. Also irgendwelche Signale tauschen oder so.
»
Clock/Data Mode ist eine definierte serielle Schnittstelle
Wenn du nun Clock/Data nutzen willst, dann musst du nur das Protokoll am Empfänger der Daten einprogrammieren.

Findet sich aber alles im Internet
z.B.

In the clock/data mode the serial port is able to receive the data directly from any clock/data or "magstripe interface" device, such as a card reader. The serial port is also able to output the data in the clock/data format, as if it was the card reader itself. Magstripe and clock/data interfaces are popular in the security, access control, automation, and banking industry.

Standard clock/data transmission is shown below. There are two data lines- clock and data. Each negative transition on the clock line marks the beginning of the data bit. The data line carries actual data. When the state of the data line is LOW it means data bit 1, and vise versa. There is no standard clock/data timing and some devices, such as non-motorized magnetic card readers, output the data at variable speeds (depending on how fast the user actually swipes the card).

The magstripe interface only differs from the clock/data interface in that it has a third line- card present. This line goes LOW before the data transmission and goes back to HIGH after the transmission is over. The serial port does not require the card present line for data reception. Just like with Wiegand data, it identifies the end of incoming data by measuring the time since the last negative transition on the clock line. For data transmission, your application can easily use any regular I/O line to serve as card present line.

Compared to Wiegand interface, the data format of clock/data interface is very standardized and its varieties include standard data formats for different "tracks" of the magnetic card. Most clock/data devices you will actually encounter have nothing to do with magnetic cards but terminology persists.

entnommen bei:
http://docs.tibbo.com/taiko/index.html?ser_clockdata_mode.htm