Skip to main content
Gymza

RFID badges and access control

Wiegand reader or USB RFID reader: what is the difference, and which one does a gym need?

A USB RFID reader plugs into the reception PC and types the badge number like a keyboard. A Wiegand reader is wired to an access controller at a door or turnstile and sends the number over two data wires. They are not interchangeable: a gym with a turnstile usually needs one of each, and the two must agree on the card number.

By the Gymza editorial team · Atlaxys ConsultingUpdated 4 min read

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)

ParityFacility code · 8 bitsCard number · 16 bitsParity

A 4-byte MIFARE card number · 32 bits

04A32B91
Lost byteThe 24 bits sent

The USB reader at the desk may type all 32 bits; the door reader only sends 24. Same card, two numbers.

Diagram. A Wiegand 26 frame keeps only the low 24 bits of a 32-bit card number: the top byte is lost.
Common Wiegand formats
FormatCard dataTypical use
Wiegand 2624 bits (facility 8 + card 16)The historical default; many readers and controllers
Wiegand 3432 bitsA full 4-byte MIFARE UID; default of the ZKTeco KR901
Wiegand 6664 bitsLong identifiers; supported by ZKTeco C3 Plus panels

USB vs Wiegand, side by side

USB keyboard reader vs Wiegand reader
USB readerWiegand reader
Connects toThe PC (USB)An access controller (D0/D1)
Opens a doorNoNo, the controller’s relay does
WhereReception deskDoor, turnstile, outdoors (IP-rated models)
Number formatWhatever it types: decimal, hex…Fixed by the frame: W26, W34, W66
Cable lengthUSB cableTens of metres; keep it away from motors
With GymzaVerified (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.

  1. Understanding Card Data Formats (white paper) (opens in a new tab) · HID Global · accessed
  2. KR900 Series, product page (opens in a new tab) · ZKTeco · accessed
  3. C3 Plus Series, product page (opens in a new tab) · ZKTeco · accessed

Questions about readers

How many RFID badges are included?

In Morocco, 100 RFID badges or key fobs with Gymza RFID and with Gymza Advanced, plus a 125 kHz USB reader. Additional compatible badges can be added at any time. Outside Morocco, the plans are software only: you use your own compatible badges.

Which hardware is compatible?

With RFID and Advanced: 125 kHz EM4100/TK4100 USB RFID readers of the keyboard type at reception (in Morocco, one reader and 100 badges are supplied); MIFARE readers work in the “free” card format. Plus an 80 or 58 mm receipt printer and a second screen for the customer display.

Turnstiles and door controllers (ZKTeco C3, controllers speaking the open Door Link protocol), fingerprints at the turnstile (ZK8500R reader, experimental) and several entrances: with Gymza Custom, on quote. Already have hardware? Tell us before buying and we will tell you what is compatible.

Not sure which reader you have?

Send us a photo of its label: we will tell you its interface and what it takes to use it with Gymza.

14-day free trial, no credit card, no online account

Download Gymza