In short
- USB reader = reception: plugs into the PC, types the number, opens nothing.
- Wiegand reader = door: wired to a controller (such as a ZKTeco C3), which opens the relay. It never plugs into a PC.
- Wiegand 26 carries 24 bits of the card number; Wiegand 34 carries 32. That difference is the most common reason a badge enrolled at reception is “unknown” at the turnstile.
- Gymza handles both: the USB reader directly (verified), Wiegand readers through a C3 controller (implemented, validation pending).
The USB reader: a keyboard that reads badges
A keyboard-emulation USB reader is seen by Windows as a keyboard. When a badge touches it, it types the number and presses Enter. That is why it needs no driver, and why it can only identify: it has no relay, so it cannot open anything. In Gymza it enrols badges and checks members in at reception; see the USB RFID reader page.
What a Wiegand reader is
Wiegand is an old, very common wiring interface between a card reader and an access controller. The reader has two data lines, D0 and D1, plus power and ground. To send a bit, it pulses one of the two lines: a pulse on D0 is a 0, a pulse on D1 a 1. The controller counts the pulses and rebuilds the number.
The best-known frame, Wiegand 26 (HID’s H10301 format), has 26 bits: one parity bit, an 8-bit facility code, a 16-bit card number and a final parity bit. That leaves 24 bits for the card. Wiegand 34 carries 32 data bits, and Wiegand 66 longer numbers.
26-bit Wiegand frame (H10301 format)
A 4-byte MIFARE card number · 32 bits
The USB reader at the desk may type all 32 bits; the door reader only sends 24. Same card, two numbers.
| Format | Card data | Typical use |
|---|---|---|
| Wiegand 26 | 24 bits (facility 8 + card 16) | The historical default; many readers and controllers |
| Wiegand 34 | 32 bits | A full 4-byte MIFARE UID; default of the ZKTeco KR901 |
| Wiegand 66 | 64 bits | Long identifiers; supported by ZKTeco C3 Plus panels |
USB vs Wiegand, side by side
| USB reader | Wiegand reader | |
|---|---|---|
| Connects to | The PC (USB) | An access controller (D0/D1) |
| Opens a door | No | No, the controller’s relay does |
| Where | Reception desk | Door, turnstile, outdoors (IP-rated models) |
| Number format | Whatever it types: decimal, hex… | Fixed by the frame: W26, W34, W66 |
| Cable length | USB cable | Tens of metres; keep it away from motors |
| With Gymza | Verified (125 kHz, 10 digits) | Through a ZKTeco C3: implemented, not yet bench-tested |
Why the two readers must agree
Enrol a card at reception and present it at the turnstile, and you may get two numbers for the same card. With a 4-byte MIFARE card, a USB reader may type all 32 bits while a Wiegand 26 reader sends only 24. With a 125 kHz card, the printed 10-digit number and the “facility,card” pair are the same value written two ways.
Gymza does not require the two to match. When a door reports an unknown number, it tries the known readings (decimal, hexadecimal, reversed bytes, the 24-bit Wiegand 26 truncation) and accepts one only if it identifies exactly one card. The log says which reading worked, so the installer can pin the format.
Wiring rules that avoid wrong numbers
- Wiegand has no error checking: interference does not cause missing reads, it causes wrong numbers.
- Keep the run under about 100 m and away from the turnstile motor and mains cables.
- Share the ground between the reader, the controller and the turnstile.
- Power the reader from the controller’s reader supply, not from the turnstile: motor inrush browns it out.
Some readers also offer RS-485 or OSDP, a supervised, more secure bus. Gymza does not talk to readers directly: whatever the reader’s bus, it is the controller that reports the card to Gymza.
Which one does your gym need?
- Staffed reception, no turnstile: a USB reader is enough. It comes with the RFID and Advanced plans in Morocco.
- Turnstile or locked door: a Wiegand reader on the turnstile, a controller, and a USB reader at reception to enrol cards. Quoted as Gymza Custom.
- Badge-free entrance: fingerprints, enrolled at reception with a ZK8500R USB reader and recognised by a ZKTeco controller that matches fingerprints itself (experimental).
Sources
Facts about other manufacturers’ products come from these documents. Gymza’s capabilities are checked in the application.
- Understanding Card Data Formats (white paper) (opens in a new tab) · HID Global · accessed
- KR900 Series, product page (opens in a new tab) · ZKTeco · accessed
- C3 Plus Series, product page (opens in a new tab) · ZKTeco · accessed