JRD-100 - Arduino UHF-RFID Module Development

Reading time: 8 minutes.

17 August 2021

Table of Content

About the module


The JRD-100 is a wireless ultra-high frequency (UHF) RFID tag reader used to read radio tags. It utilizes a transmitter with a power of 100 mW, allowing for efficient and energy-saving operation within a radius of over 1.5 meters. The internal buffer of the JRD-100 can hold up to 200 units, and it has the ability to read up to 50 radio tags per second.

JRD-100 Specifications

  • Tag reading distance: 1-2.5m
  • Recording distance: 10cm
  • Working voltage: 3.3 - 5V
  • Operating frequency range: 840-960 MHz
  • Output power: 18-26 dBm
  • Interface: TTL UART
  • Stable and sensitive mark reading
  • Wireless protocol support
    • EPC Global UHF Class 1 Gen 2;
    • ISO 18000-6C.

Scope of Application

Long-range identification systems are becoming increasingly ubiquitous across various industries. The JRD-100, in particular, is a versatile system that has been adopted for a wide range of applications. For instance, the system is particularly well-suited for managing warehouse logistics, where it can be used to keep track of inventory and ensure that everything is in its proper place. This, in turn, helps to optimize supply chain management and ensure that products are delivered to customers in a timely and efficient manner.

Moreover, the JRD-100 has also found use in the automated retail trade, where it can be used to track inventory levels and ensure that there is always an adequate supply of products on hand. This is essential for ensuring that customers are always able to find what they need and that the business runs smoothly.

Finally, the JRD-100 is also an ideal solution for accounting and security systems. It can be used to keep track of financial transactions, monitor access to restricted areas, and ensure that only authorized personnel are able to enter certain areas. By using the JRD-100, companies can ensure that their assets are protected, their operations are running smoothly, and their employees are safe and secure.

JRD-100 pinout

The pinout of the JRD-100 module is shown in the image below:

pin mapping

UART connection

The JRD-100 “Plug & Play” is connected via UART interface.
Connect the EN pin to 5V and also install a pair of capacitors for power.
Data transmission is controlled using a set of AT commands.
The schematic of the JRD-100 module is shown below:

schematic

Limitations

While the JRD-100 is an excellent solution for reading radio tags, it does have some limitations. For example, it has a limited reading distance of 1-2.5 meters, which may not be suitable for all applications. Additionally, the JRD-100 requires a specific voltage range of 3.3V to 5V, so it may not be compatible with all systems.

Another limitation of the JRD-100 is the lack of available manuals and example codes in the public domain. This can make it difficult for users to integrate the module into their systems and customize it to their specific needs.

Despite its limitations, the JRD-100 is still a reliable and efficient solution for applications that require long-range identification systems. By carefully considering its specifications and limitations, users can determine if the JRD-100 is the right choice for their specific needs.

Conclusion

The JRD-100 is a wireless ultra-high frequency (UHF) RFID tag reader that is widely used in a variety of fields. It has a high reading capacity, excellent accuracy, and sensitivity, making it an ideal choice for managing warehouse logistics, automated retail trade, and any accounting and security systems.

While the JRD-100 does have some limitations, such as its limited reading distance and specific voltage range, it remains a reliable and efficient solution for applications that require long-range identification systems. By carefully considering its specifications and limitations, users can determine if the JRD-100 is the right choice for their specific needs.

Code

There are no manuals and examples of module integration in the public domain, so we ourselves developed the integration of UHF-RFID JRD-100 with Arduino. We’ll use STM32F103C8T6, you can use any compatible Arduino with two Hardware Serials or switch to Software Serial using Arduino Uno.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
    #include <Arduino.h>
    #include <HardwareSerial.h>
    
    HardwareSerial Serial2(PA3, PA2);
    bool DEBUG = true;
    
    const uint8_t RFID_cmdnub[][26] =
    {
      {0xBB, 0x00, 0x03, 0x00, 0x01, 0x00, 0x04, 0x7E,},       //0. Hardware version 
      {0xBB, 0x00, 0x03, 0x00, 0x01, 0x01, 0x05, 0x7E,},       //1. Software version 
      {0xBB, 0x00, 0x03, 0x00, 0x01, 0x02, 0x06, 0x7E,},       //2. manufacturers  
      {0xBB, 0x00, 0x22, 0x00, 0x00, 0x22, 0x7E,},             //3. Single polling instruction 
      {0xBB, 0x00, 0x27, 0x00, 0x03, 0x22, 0x27, 0x10, 0x83, 0x7E,}, //4. Multiple polling instructions 
      {0xBB, 0x00, 0x28, 0x00, 0x00, 0x28, 0x7E,},             //5. Stop multiple polling instructions 
      { 0xBB, 0x00, 0x0C, 0x00, 0x13, 0x01, 0x00, 0x00, 0x00, 0x20,
        0x60, 0x00, 0x30, 0x75, 0x1F, 0xEB, 0x70, 0x5C, 0x59, 0x04,
        0xE3, 0xD5, 0x0D, 0x70, 0xAD, 0x7E,
      },  //6. Set the SELECT parameter instruction 
      {0xBB, 0x00, 0x0B, 0x00, 0x00, 0x0B, 0x7E,},              //7. Get the SELECT parameter 
      {0xBB, 0x00, 0x12, 0x00, 0x01, 0x01, 0x14, 0x7E,},        //8. Set the SELECT mode 
      { 0xBB, 0x00, 0x39, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x03,
        0x00, 0x00, 0x00, 0x08, 0x4D, 0x7E,
      }, //9. Read label data storage area 
      { 0xBB, 0x00, 0x49, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x03,
        0x00, 0x00, 0x00, 0x04, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x71, 0x7E
      },   //10. Write the label data store                      
      { 0xBB, 0x00, 0x82, 0x00, 0x07, 0x00, 0x00, 0xFF,
        0xFF, 0x02, 0x00, 0x80, 0x09, 0x7E,
      },  //11. Lock the LOCK label data store 
      { 0xBB, 0x00, 0x65, 0x00, 0x04, 0x00, 0x00, 0xFF, 0xFF, 0x67,
        0x7E,
      }, //12. Inactivate the kill tag 
      {0xBB, 0x00, 0x11, 0x00, 0x02, 0x00, 0xC0, 0xD3, 0x7E,}, //13. Set communication baud rate 
      {0xBB, 0x00, 0x0D, 0x00, 0x00, 0x0D, 0x7E,},            //14. Get parameters related to the Query command 
      {0xBB, 0x00, 0x0E, 0x00, 0x02, 0x10, 0x20, 0x40, 0x7E,}, //15. Set the Query parameter 
      {0xBB, 0x00, 0x07, 0x00, 0x01, 0x01, 0x09, 0x7E,},      //16. Set up work area 
      {0xBB, 0x00, 0x08, 0x00, 0x00, 0x08, 0x7E,},            //17. Acquire work locations 
      {0xBB, 0x00, 0xAB, 0x00, 0x01, 0x01, 0xAC, 0x7E,},      //18. Set up working channel 
      {0xBB, 0x00, 0xAA, 0x00, 0x00, 0xAA, 0x7E,},            //19. Get the working channel 
      {0xBB, 0x00, 0xAD, 0x00, 0x01, 0xFF, 0xAD, 0x7E,},      //20. Set to automatic frequency hopping mode
      { 0xBB, 0x00, 0xA9, 0x00, 0x06, 0x05, 0x01, 0x02,
        0x03, 0x04, 0x05, 0xC3, 0x7E,
      },                             //21. Insert the working channel 
      {0xBB, 0x00, 0xB7, 0x00, 0x00, 0xB7, 0x7E,},            //22. Acquire transmitting power 
      {0xBB, 0x00, 0xB6, 0x00, 0x02, 0x07, 0xD0, 0x8F, 0x7E,}, //23. Set the transmitting power 
      {0xBB, 0x00, 0xB0, 0x00, 0x01, 0xFF, 0xB0, 0x7E,},      //24. Set up transmitting continuous carrier 
      {0xBB, 0x00, 0xF1, 0x00, 0x00, 0xF1, 0x7E,},            //25. Gets the receiving demodulator parameters 
      {0xBB, 0x00, 0xF0, 0x00, 0x04, 0x03, 0x06, 0x01, 0xB0, 0xAE, 0x7E,}, //26. Set the receiving demodulator parameters 
      {0xBB, 0x00, 0xF2, 0x00, 0x00, 0xF2, 0x7E,},            //27. Test the RF input block signal 
      {0xBB, 0x00, 0xF3, 0x00, 0x00, 0xF3, 0x7E,},            //28. Test the RSSI signal at the RF input 
      {0x00},
      {0xBB, 0x00, 0x17, 0x00, 0x00, 0x17, 0x7E,},            //30. Module hibernation 
      {0xBB, 0x00, 0x1D, 0x00, 0x01, 0x02, 0x20, 0x7E,},      //31. Idle hibernation time of module
      {0xBB, 0x00, 0x04, 0x00, 0x03, 0x01, 0x01, 0x03, 0x0C, 0x7E,}, //32. The IDLE mode 
      {0xBB, 0x00, 0xE1, 0x00, 0x05, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0xE4, 0x7E,}, //33.NXP G2X label supports ReadProtect/Reset ReadProtect command 
      {0xBB, 0x00, 0xE3, 0x00, 0x05, 0x00, 0x00, 0xFF, 0xFF, 0x01, 0xE7, 0x7E,}, //34. The NXP G2X label supports the CHANGE EAS directive 
      {0xBB, 0x00, 0xE4, 0x00, 0x00, 0xE4, 0x7E,},            //35. The NXP G2X tag supports the EAS_ALARM directive 
      {0xBB, 0x00, 0xE0, 0x00, 0x06, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xE4, 0x7E,}, //36.NXP G2X label 16bits config-word 
      { 0xBB, 0x00, 0xE5, 0x00, 0x08, 0x00, 0x00, 0xFF, 0xFF, 0x01, 0x01, 0x40, 0x00, 0x2D, 0x7E,},//37.Impinj Monza 4 Qt tags support Qt instructions 
      { 0xBB, 0x00, 0xD3, 0x00, 0x0B, 0x00, 0x00, 0xFF,
        0xFF, 0x01, 0x03, 0x00, 0x00, 0x01, 0x07, 0x00, 0xE8, 0x7E,
      },   //38.The BlockPermalock directive permanently locks blocks of a user's Block 
    
    };
    
    void uhf_command(uint8_t com_nub)
    {
      uint8_t b = 0;
      while (RFID_cmdnub[com_nub][b] != 0x7E)
      {
        Serial2.write(RFID_cmdnub[com_nub][b]);
        if(DEBUG) {
          Serial.print(" 0x");
          Serial.print(RFID_cmdnub[com_nub][b], HEX);
        }
        b++;
      }
      Serial2.write(0x7E);
      Serial2.write("\n\r");
      Serial.println();
    }
    uint8_t DATA_I[256];
    
    void uhf_read()
    {
      uint8_t DATA_I_NUB = 0;
      while(!Serial2.available());
      while (Serial2.available())
      {
        delay(2);
        DATA_I[DATA_I_NUB] = Serial2.read();
        if (DEBUG == 1)
        {
          if(DATA_I[DATA_I_NUB] < 16) {
            Serial.print(" 0x0");
          } else {
            Serial.print(" 0x");
          }
          Serial.print(DATA_I[DATA_I_NUB], HEX);
        }
        DATA_I_NUB++;
      }
      Serial.println();
    }
    /* code */
    void setup() {
      // put your setup code here, to run once:
      Serial.begin(115200);
      Serial.println("UHF Reader");
      Serial2.begin(115200);
    
    }
    
    void loop() {
      for (size_t i = 0; i < 10; i++) {
        Serial.println("Single polling:");
        uhf_command(3);
        Serial.println("Receiving:");
        uhf_read();
        // Serial.println();
        Serial.println("Requesting data:");
        uhf_command(9);
        Serial.println("Receiving data:");
        uhf_read();
        delay(3000);
        Serial.println();
      }
    }