Skip to main content
Gymza

RFID badges and cards

125 kHz EM4100 RFID cards and key fobs: how they work with Gymza

An EM4100 (or TK4100) badge is a 125 kHz RFID card, key fob or wristband that holds one fixed number and nothing else. It is the most common gym badge in Moroccan shops, and it is the badge Gymza ships and has verified with its USB reader: the member presents it, Gymza finds them and checks their membership.

Verified and testedChecked on: , checked against Gymza 1.3.1

In short

  • An EM4100 badge carries one read-only number, written at the factory. There is nothing to program and nothing to encrypt.
  • With the 125 kHz USB reader, Gymza reads it as 10 decimal digits: enrolment and check-in are verified.
  • At a turnstile, a Wiegand 26 reader only passes 24 of its bits; Gymza handles that, but the door chain itself is not yet validated on hardware.
  • It can be copied with cheap tools. If lent or cloned badges are a worry, pair it with anti-passback, the member photo or a biometric terminal.

What works with Gymza

Function by function: status and evidence
FunctionStatusEvidence or limit
Enrolment at reception (USB reader)Verified and testedVerified: the reader types 10 digits + Enter; Gymza accepts the reading only if it is exactly 10 digits, on QWERTY or AZERTY.
Check-in at receptionVerified and testedVerified: with “Check in when a badge is presented” on, a scan records the entry through the access rules; an expired membership is refused.
Door or turnstile through a C3 controllerImplemented, validation pendingImplemented, not validated on a physical panel: Gymza matches the 24-bit Wiegand 26 number back to the enrolled 10-digit card.
Anti-cloning protectionNot supportedNot possible with this technology: EM4100 has no authentication. Use MIFARE DESFire-class credentials or biometrics if cloning is a real risk.

Specifications

Manufacturer values are taken from its documentation; values marked “Gymza” come from the application or our tests.

Checked specifications and the document they come from
SpecificationValueSource
Frequency125 kHz[2] Manufacturer
MemoryRead-only, 64-bit code fixed at manufacture (40 data bits)[2] Manufacturer
SecurityNo authentication or encryption: the number can be copied[2] Manufacturer
Format Gymza expects10 decimal digits (default setting “EM4100, 10 digits”)[1] Gymza
Over Wiegand 26Only the low 24 bits get through (facility code + card number)[3] Technical reference

What an EM4100 badge is

Inside the plastic there is a copper coil and a small chip. When the badge comes within a few centimetres of a 125 kHz reader, the reader’s field powers the chip, which answers by sending its code over and over. According to EM Microelectronic’s datasheet, that code is 64 bits long, 40 of them data, and it is fixed at manufacture: it cannot be changed or rewritten.

TK4100 is a compatible chip found in most of the badges sold in Morocco. Cards, teardrop key fobs, wristbands and stickers all work the same way: only the casing changes.

Formats of 125 kHz badges for a gym
FormatGood forWatch out for
Key fobMembers who carry keys; survives a gym bagEasy to lend to a friend
Card (clamshell or thin ISO)Printing the gym logo and the member’s name or photoThin cards crack in a wallet
Silicone wristbandPools, classes, members who train without pocketsSize and comfort; some members refuse to wear one

The number on the badge, and the number Gymza sees

Most 125 kHz badges are printed with two numbers, as in the photo above: a 10-digit decimal number and a pair such as 146,60696. They are the same value written two ways. The pair is a facility code (the high byte) and a card number (the low 16 bits), the split used by the Wiegand 26 format that HID documents.

A keyboard-emulation USB reader types the 10-digit number followed by Enter. That is what Gymza expects by default (Settings → RFID badges → Reception reader: “EM4100, 10 digits”). A door reader wired in Wiegand 26 sends only the low 24 bits; Gymza knows the two are the same card and says so in its log (“matched through another reading … via=WIEGAND_26”).

How the badge fits into a Gymza installation

At reception (verified)

  1. Staff open the member’s profile and choose Assign a badge, then present the badge on the USB reader.
  2. Gymza stores the number. One badge belongs to one member; a badge already held by someone else is refused.
  3. Later, the member presents the badge: Gymza opens the profile, or records the entry if “Check in when a badge is presented” is on. An expired membership is refused and the customer display only says “please see reception”.

At a turnstile (implemented, validation pending)

A Wiegand reader at the door (125 kHz, or a dual-frequency model such as the ZKTeco KR901) sends the number to a ZKTeco C3 controller, which reports it to Gymza over the network. Gymza decides and asks the controller to pulse the relay. This chain is implemented from ZKTeco’s published protocol and tested against a simulator, not yet on a physical panel: it is offered only in a Gymza Custom set-up that Atlaxys commissions on a bench first.

Buying 125 kHz badges: what to check

  • The frequency: 125 kHz, chip EM4100, EM4102 or TK4100. A “13.56 MHz”, “MIFARE”, “IC” or “NFC” badge will not be read by a 125 kHz reader.
  • Read-only: “T5577” badges are rewritable 125 kHz chips. They work, but they are what people use to make copies; you do not need them for members.
  • Printed numbers: handy for support (you can type the number if a reader fails), and a quick check that the number Gymza shows is the one on the badge.
  • Quantity: in Morocco, the RFID and Advanced plans include 1 reader and 100 badges. Extra key fobs cost little: about 10 MAD each in a retail listing we checked on 12 October 2026.

Advantages and limits

125 kHz EM4100 badges: advantages and limits
In practice
CostThe cheapest badge, sold everywhere; losing one is not a drama
ReliabilityNo battery, nothing to wear out; works through a thin wallet
CompatibilityRead by the USB reader Gymza ships; read by most 125 kHz and dual-frequency door readers
SecurityNo encryption: a badge can be copied in seconds with a cheap duplicator
RangeA few centimetres: the member has to present it deliberately, which avoids accidental reads

For a gym the main risk is not hackers, it is a badge lent to a friend. Gymza’s anti-passback rule, the member photo shown at the check, the daily entry limit and the customer display address that directly; see stopping badge sharing.

Common mistakes

  • Buying 13.56 MHz badges for a 125 kHz reader (or the reverse). Nothing is read, and nothing is wrong with the software.
  • Enrolling a hundred badges at reception before testing one at the turnstile, when the door reader sends a different format.
  • Mixing batches from different suppliers with different printing conventions, then typing printed numbers by hand.
  • Leaving a badge on the reader: the anti-bounce window makes it count once, but a badge stored next to the reader can still be read when someone moves it.

Troubleshooting

  1. Open Test the reader (RFID page or Settings → RFID badges) and present the badge. It shows each key typed, the number it becomes, how it is stored and who holds it.
  2. Nothing appears: check the frequency printed on the badge or its packaging, then try a badge known to work.
  3. “Partial reading refused”: the reader is set to another output (hex, 8 digits). Reconfigure it, or set the reception reader to “Free” for a non-standard reader.
  4. Read at reception but “unknown badge” at the door: the two readers report different formats. Follow the RFID troubleshooting guide.

Frequently asked questions

Can a 125 kHz EM4100 badge be read by a 13.56 MHz reader?

No. The two frequencies use different radio technologies. Only a dual-frequency reader (such as the ZKTeco KR901, which ZKTeco lists for both 125 kHz and 13.56 MHz cards) reads both.

Can I write the member’s number onto the badge?

No. An EM4100 number is fixed at manufacture. Gymza does the opposite: it stores the badge’s own number on the member’s profile.

Does Gymza work with the badges I already have?

If they are 125 kHz EM4100/TK4100 and your reader types 10 digits, yes: assign each badge to its member from the profile. Test one badge with “Test the reader” first.

Are EM4100 badges secure enough for a gym?

They are easy to copy, so they are not a security credential. For a gym they are usually enough when combined with anti-passback, the member photo and a staffed reception.

Sources

Documents read for this page, with the date they were read. Gymza evidence is the application and its test records (not public).

  1. Gymza · Gymza application: hardware documentation and RFID input code (HARDWARE.md, card-number.ts, rfid-input.ts) · Atlaxys Consulting · accessed
  2. Manufacturer · EM4100, Read Only Contactless Identification Device (datasheet copy) (opens in a new tab) · EM Microelectronic · accessed
  3. Technical reference · Understanding Card Data Formats (white paper) (opens in a new tab) · HID Global · accessed

Badges for your gym

The RFID and Advanced plans include a USB reader and badges in Morocco. Tell us what you already have and we will check it.

Download Gymza