UHF RFID on a M5Core2



  • Hi!
    I’ve been trying to compile the demo sketch for multiple reads.

    With some tweaking I was able to compile the demo single read sketch... But i have not been able to compile the multiple read.

    I've switched the library: #include <M5Core2.h> and also the ports for the serial comm:
    Serial2.begin(115200, SERIAL_8N1, 33, 32);

    But i could not make the multiple read sketch to compile.

    Actually, not sure if I'm having problems with this part of the code:
    RFID.Set_transmission_Power(2600);
    RFID.Set_the_Select_mode();
    RFID.Delay(100);
    RFID.Readcallback();
    RFID.clean_data();

    or this one:
    cards = RFID.Multiple_polling_instructions(6);
    for (size_t i = 0; i < cards.len; i++)
    {
    if(cards.card[i]._EPC.length() == 24)
    {
    Serial.println("RSSI :" + cards.card[i]._RSSI);
    Serial.println("PC :" + cards.card[i]._PC);
    Serial.println("EPC :" + cards.card[i]._EPC);
    Serial.println("CRC :" + cards.card[i]._CRC);
    }
    }
    Serial.println(" ");
    RFID.clean_data();

    Does anyone have aby thoughts on where to problem could be?



  • @gleon
    Hello
    I am in your same situation, but I can´t even with simple reading.
    If you want we can work together since we have the same devices.
    IIFLOW examples do not work, the EPC only shows 6 characters.

    Thanks.



  • Hi

    Not sure if this will help. I was in a similar situation. However I found I was using the incorrect Tag type. I needed the following tag type ISO 18000-6C, EPC Class1 Gen2 standard protocol.

    Once I had these tags the example code worked as expected, I now have a functional unit that reads multiple tags using M5Paper and M5 Core with Micropython, and is working well for my project.



  • @kylebuttress
    Hello
    I'm going to try, to see what kind of labels I have.
    Thank you



  • @kylebuttress
    Hello,
    Yes, they are the ones I have EPC Global UHF Class 1 Gen 2 / ISO 18000-6C uses them Decathlon. I have Core 2 and Atom Lite, it does not work in any of the cases.
    IIFOW does not work for examples and Arduino Libreria either.

    Thank you



  • @gleon said in UHF RFID on a M5Core2:

    Hi!
    I’ve been trying to compile the demo sketch for multiple reads.

    With some tweaking I was able to compile the demo single read sketch... But i have not been able to compile the multiple read.

    I've switched the library: #include <M5Core2.h> and also the ports for the serial comm:
    Serial2.begin(115200, SERIAL_8N1, 33, 32);

    But i could not make the multiple read sketch to compile.

    Actually, not sure if I'm having problems with this part of the code:
    RFID.Set_transmission_Power(2600);
    RFID.Set_the_Select_mode();
    RFID.Delay(100);
    RFID.Readcallback();
    RFID.clean_data();

    or this one:
    cards = RFID.Multiple_polling_instructions(6);
    for (size_t i = 0; i < cards.len; i++)
    {
    if(cards.card[i]._EPC.length() == 24)
    {
    Serial.println("RSSI :" + cards.card[i]._RSSI);
    Serial.println("PC :" + cards.card[i]._PC);
    Serial.println("EPC :" + cards.card[i]._EPC);
    Serial.println("CRC :" + cards.card[i]._CRC);
    }
    }
    Serial.println(" ");
    RFID.clean_data();

    Does anyone have aby thoughts on where to problem could be?

    Gleon,
    What Sketch do you use?
    You can't see EPC or Aton Lite or Core2
    Thank s