1. Introduction
The F02DC RFID Reader Module is a versatile dual-frequency module capable of reading both 125KHz and 13.56MHz RFID cards. It offers flexible output options, including Wiegand (WG26/WG34) and TTL UART, making it suitable for various access control and identification applications. This manual provides detailed instructions for setting up, operating, and maintaining your module.

Module Versions:
- F02DC-WG: Operates on DC 5V and provides Wiegand D0/D1 output only. It does not support TTL UART.
- F02DC-TTL: Operates on DC 3.3V and provides TTL UART output only. It does not support Wiegand.
2. Specifications
Supported Card Types & Protocols:
- ISO14443A Protocol: Supports 4-byte, 7-byte, 10-byte card serial numbers.
- Mifare Classic: S50/S70
- Mifare Ultralight
- Mifare Desfire
- Mifare Plus: S/X
- FM1108/SH1108
- FM1208/FM1216
- ISO14443B Protocol: Supports TYPEB PUPI serial number and second-generation certificate serial number.
- EM4100 Low Frequency Card: Supports 5 bytes.
- EM4305 Low Frequency Card: Supports 4 bytes.
- T5577 Low Frequency Card: Supports 8 bytes.
Physical Characteristics:
| Feature | Description |
|---|---|
| Data Interface | Serial Port (TTL UART), Wiegand (WG26/WG34) |
| Power Supply | 3.3V - 5V (Specific to module version) |
| Current | 30-150mA |
| Reading Distance | IC: 5cm, ID: 4cm |
| Operating Temperature | -30℃ to 70℃ |
3. Setup and Wiring
Proper wiring is crucial for the correct operation of the F02DC module. Ensure you connect the module according to the pinout diagram and the specific version (Wiegand or TTL) you are using.

Pinout Details:
| Pin (UART) | Function | Pin (Wiegand) | Function | Wire Color |
|---|---|---|---|---|
| VCC | Power Supply (3.3V for TTL, 5V for WG) | VCC | Power Supply (5V) | Red |
| RXD | Receive Data | D1 | Data 1 | White |
| TXD | Transmit Data | D0 | Data 0 | Green |
| GND | Ground | GND | Ground | Black |
| NC | No Connection | FOR | Forward (Blue) | Blue |
Important: Ensure the correct power supply voltage (DC 5V for Wiegand version, DC 3.3V for TTL version) is applied to avoid damage to the module.
4. Operating Instructions
The F02DC module reads RFID cards and outputs the card number via either Wiegand or TTL UART, depending on the version. The reading distance is approximately 5cm for IC cards and 4cm for ID cards.
4.1. Wiegand Output (F02DC-WG Version)
When a card is sensed, the serial number of the card will be output through the two data lines Data0 and Data1. Data0 and Data1 are both high levels in the absence of data output. When the data bit is 0, DATA0 outputs a low level of 200us and a high level of 2ms. When the data bit is 1, DATA1 outputs a low level of 200us and a high level of 2ms. If there is no low-level pulse for 3ms after the two signal lines timeout, it can be judged that the data transmission is finished. The standard Wiegand protocol requires parity bits at the beginning and end of the data.

Wiegand 26 Code Example:
For example, to transmit three bytes of card number, at least 3*8 bits are required. In total, DATA0 and DATA1 signal lines need to transmit 26 low levels, which is commonly called Wiegand 26.
| 0 | 01100000 | 01010010 | 00111101 | 1 |
|---|---|---|---|---|
| even parity check | 60 | 52 | 3D | odd |
Wiegand 34 Code Example:
For example, to transmit four bytes of card number, at least 4*8 bits are required. In total, DATA0 and DATA1 signal lines need to transmit 34 low levels, which is commonly called Wiegand 34.
| 0 | 00000000 | 01100000 | 01010010 | 00111101 | 1 |
|---|---|---|---|---|---|
| even parity check | 00 | 60 | 52 | 3D | odd |
Even check calculation: If the number of 1 in the first half bit of the card number data is even, the even check bit is 0; otherwise, it is 1.
Odd check calculation: In the second half of the bit of the card number data, if the number of 1 is odd, the odd check bit is 0; otherwise, it is 1.
4.2. Serial Output (F02DC-TTL Version)
The serial output provides card data in a structured frame. The default serial output setting is for 9600 baud rate, 8 data bits, 1 stop bit, no parity.

Data Frame/Message (Hex Data):
| Frame Header | Frame Length | Card Type | Card Data | Check Differences | Frame End |
|---|---|---|---|---|---|
| 0x02 | 1 byte | 1 byte (see table below) | Card number | The XOR result of the frame length, card type, and card data | 0x03 |
Card Type Model:
| Card Type Model | Numeric Value |
|---|---|
| EM4100 | 0x01 |
| T5577 | 0x02 |
| EM4305 | 0x05 |
| 4-byte TYPEA card | 0x10 |
| 7-byte TYPEA card | 0x11 |
| 10-byte TYPEA card | 0x12 |
| TYPEA CPU card (ISO 14443-4) | 0x25 |
| Second-generation serial number | 0x20 |
| 4-byte YTPEB card PUPI | 0x21 |
Note: The card type is module customization. Do not solidify it in the program as a card type identification. Different modules may have different definitions of card types.
Card Number Conversion:
The module outputs card numbers in hexadecimal format. It is often necessary to convert these to decimal for use in systems. The conversion process depends on whether you need the front or back part of the printed number on the ID card.

Conversion process of the front part of the face printing number:
The hexadecimal card number is retained only in the last four bytes: 00 60 52 3D. Combine four bytes into the type of int32_t, 0x0060523D. Convert the type of int32_t to 10 bits in decimal. If it is less than 10, add 0 at the beginning. Reference operation: sprintf ((char*) cardnr, "%010lu", 0x0060523D); If the card number obtained is 0006312509, it is the front part of the printed number on the card.
Conversion process of the part behind the printing number on the card:
The last three bytes of the hexadecimal card number are retained: 60 52 3D. The first byte is used as a separate type of int8_t, and the last two bytes are combined into a type of int16_t, 0x523D. Convert them to decimal and combine them. Reference operation: sprintf (cardnr, "%03u", "%05u", 0x60,0x523D); If the card number obtained is 096,21053, it is the part after the printed number on the card face.
Generally, the first part of the print number is used as the actual card number. If the card number is not consistent, it may be that the card hexadecimal card number sequence is different. For example, if the card number is in order: 00 60 52 3D, then the card number in reverse order is: 3D 52 60 00. The decimal card number converted from these two orders is completely different. It is recommended to convert the card number into hexadecimal and then compare it.
5. User Tips
- Arduino Integration: While specific libraries are not provided in this manual, the module's Wiegand and TTL UART outputs are standard. You can find numerous examples and libraries online for interfacing Wiegand and UART devices with Arduino. Search for 'Arduino Wiegand reader' or 'Arduino UART RFID' for resources.
- Power Supply: Always double-check the power supply voltage for your specific module version (5V for Wiegand, 3.3V for TTL) before connecting to prevent damage.
- Testing: When testing, ensure you use compatible RFID cards for both 125KHz and 13.56MHz frequencies to verify dual-frequency functionality.
6. Maintenance
- Keep the module in a dry environment, away from moisture and extreme temperatures.
- Avoid exposing the module to strong electromagnetic fields, which can interfere with its operation.
- Clean the module gently with a soft, dry cloth if necessary. Do not use liquid cleaners or solvents.
- Handle the module with care to prevent physical damage to the PCB or antenna.
7. Troubleshooting
- Module Not Powering On: Check power supply connections and ensure the voltage matches the module's requirements (5V for WG, 3.3V for TTL).
- No Card Read:
- Ensure the card is compatible with the module's supported frequencies (125KHz or 13.56MHz) and protocols.
- Verify the card is placed within the reading distance (approx. 4-5cm).
- Check for any metallic objects or strong electromagnetic interference near the module.
- Incorrect Data Output:
- For Wiegand, verify the D0/D1 connections and ensure your receiving device is configured for the correct Wiegand format (e.g., WG26, WG34).
- For TTL UART, check the RXD/TXD connections and ensure your serial communication settings (baud rate, data bits, stop bits, parity) match the module's default (9600, 8, 1, N).
- Review the card number conversion process if the output doesn't match expected values.
- Intermittent Reading: Check for loose connections or power supply fluctuations.
8. Warranty and Support
This product is covered by the manufacturer's standard warranty against defects in materials and workmanship. For technical support, troubleshooting assistance, or warranty claims, please contact your vendor or the manufacturer directly. Please retain your proof of purchase for warranty purposes.
9. Additional Resources
Company Overview Video:
For more information about the manufacturer, Asia-Teco, and their commitment to security systems, you can watch their company overview video:
