🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UHF RFID Unit (JRD4035) on M5Core2

    Scheduled Pinned Locked Moved Core 2
    m5core2uhfexampleshelprfid
    9 Posts 4 Posters 15.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tobias.h
      last edited by

      I was wondering if the examples from the M5Stack Repository will be re-released on the M5Core2 repository. Unfortunately I am not able to get my JRD4035 running on a M5Core2. Anybody maybe has experience in this or info when examples will be released?

      Best wishes
      Tobias H.

      Bat21B 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @tobias-h

        you could try to modify the M5Stack example yourself.

        Replace below line:

        #include <M5Stack.h>
        

        with

        #include <M5Core2.h>
        

        and below line:

        Serial2.begin(115200, SERIAL_8N1, 16, 17);//16.17
        

        with this line if you connect the unit to port A (found on M5Core2):

        Serial2.begin(115200, SERIAL_8N1, 33, 32);
        

        or this line if you connect the unit to port C (found on M5GO Battery Bottom2):

        Serial2.begin(115200, SERIAL_8N1, 13, 14);
        

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        T 1 Reply Last reply Reply Quote 1
        • T Offline
          tobias.h @felmue
          last edited by

          @felmue thank you very much. it finally works now.

          1 Reply Last reply Reply Quote 1
          • felmueF Offline
            felmue
            last edited by

            Hello @tobias-h

            glad to hear it works now. Thank you for reporting back. Have fun!

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            1 Reply Last reply Reply Quote 1
            • Bat21B Offline
              Bat21 @tobias.h
              last edited by

              @tobias-h said in UHF RFID Unit (JRD4035) on M5Core2:

              I was wondering if the examples from the M5Stack Repository will be re-released on the M5Core2 repository. Unfortunately I am not able to get my JRD4035 running on a M5Core2. Anybody maybe has experience in this or info when examples will be released?

              Best wishes
              Tobias H.

              Hello,
              What examples is using, I can't make any.
              Thank you.

              1 Reply Last reply Reply Quote 0
              • K Offline
                kylebuttress
                last edited by

                @Bat21

                Not sure if this will help.

                I made a quick reader based on a [project I'm working on this also works on m5Paper as well it's nothing complex simple read and display, this is on a Basic Core unit
                A quick video showing it working
                https://youtu.be/qvtr6Vy-HwY

                The Tags I use are these ones

                Tag 1
                Tag 2

                make sure the port is correct otherwise the bytes out of range error pops up
                I hope it helps

                from m5stack import *
                from m5ui import *
                from uiflow import *
                import unit
                
                
                setScreenColor(0x222222)
                uhf_rfid_0 = unit.get(unit.UHF_RFID, unit.PORTA)
                
                uhf_rfid_0.set_region(uhf_rfid_0.REGIN_US)
                uhf_rfid_0.automatic_freq_hopping(0xFF)
                uhf_rfid_0.set_channel_freq(924.25)
                epc_bool = 0
                uhf_rfid_0.set_select_mode(0x01)
                
                
                
                
                label0 = M5TextBox(128, 59, "Tag #", lcd.FONT_Default, 0xFFFFFF, rotate=0)
                label1 = M5TextBox(22, 106, "waiting ... ", lcd.FONT_Default, 0xFFFFFF, rotate=0)
                
                
                while True:
                        # while not temp:
                        temp = uhf_rfid_0.single_polling()
                
                        if temp:
                            # label10.setText(str(temp))
                            print("-----")
                            print(temp[0])
                            print(temp[1])
                            print("-----")
                            label1.setText(temp[0])
                        wait(.5)
                
                
                1 Reply Last reply Reply Quote 0
                • Bat21B Offline
                  Bat21
                  last edited by

                  @kylebuttress Hello,
                  Thanks for your example, installed vScode IDE with python and program your example.
                  It works the same as in Fixow and Arduino. It only shows 6 EPC characters and only reads some EPCs.
                  It is very strange that with all the examples on different platforms the same thing happens.

                  Thanks for your help,

                  1 Reply Last reply Reply Quote 0
                  • Bat21B Offline
                    Bat21
                    last edited by Bat21

                    @kylebuttress
                    Hello again,
                    This is the information that I visualize from the EPC.
                    [From M5Burner] Com22 Opened.

                    30395D
                    -30

                    On the Core 2 screen, it is 30395d.
                    When the complete EPC of the label is 30395DFA835F7E4000466D16
                    I don't understand anything, both in the Core2 and at the Atom.

                    Cheers

                    Bat21B 1 Reply Last reply Reply Quote 0
                    • Bat21B Offline
                      Bat21 @Bat21
                      last edited by

                      Hello everyone
                      Nobody with M5Core 2 and UHF RFID UNIT (JRD4035) running properly?
                      Cheers.

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • First post
                        Last post