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

    M5Dial mising nfc machine module...

    UiFlow 2.0
    5
    10
    4.7k
    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.
    • M
      mumin50
      last edited by mumin50

      hi all... just recived my m5dial and connected it to my uiflow2.0 and trying to find how to read nfc tag ... but can't find any machine module for it... is that something in making or i need to search for some library

      I remember seeing RFID 2 Unit (WS1850S) that was also i2c that had modules in UIFlow... would not be easy to just copy it there...?

      I think it is core function of m5dial would be nice to be able to work with that

      1 Reply Last reply Reply Quote 0
      • lbuqueL
        lbuque
        last edited by

        @mumin50 Yes, this feature is coming soon.

        M J 2 Replies Last reply Reply Quote 0
        • M
          mumin50 @lbuque
          last edited by

          @lbuque said in M5Dial mising nfc machine module...:

          es, this feature is coming soon.

          Any indication when? "Comming soon" is not realy telling when to expect. If it is a week or 2 i can wait ... if it is 2mth i will probably spend my money somwhere else to get other dial like that is supported by circuitpython as i have a deadline in project.

          J 1 Reply Last reply Reply Quote 0
          • J
            jamesarm97 @mumin50
            last edited by

            @mumin50 In the same boat, I had a few m5dials that were backordered come in for a specific project and need the rfid on UIFLOW2 also. Def would be nice to have something more that "coming"

            1 Reply Last reply Reply Quote 0
            • J
              jamesarm97 @lbuque
              last edited by

              @lbuque how hard is it to use the UIFlow1 RFID module that already existed for the same chip command set on a different product and quickly modify it for UIFLOW2?

              1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3
                last edited by

                It is possible to add library for the NFC function to the Micropython using a program like thonny.

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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

                  Hello guys

                  I found an existing MFRC522 library which I modified so it can be used with UIFlow2 and M5Dial.

                  The mrfc522.py library file can be downloaded into M5Dial using Chrome, UIFlow2 and its Device File Manager. Place it alongside the already existing boot.py and main.py.

                  After that you can use an Execute code block to run an example to read the version, scan, read or write a card.

                  Note : tested with UIFlow2.0.0 Alpha-28 firmware.

                  Thanks
                  Felix

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

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jamesarm97 @felmue
                    last edited by

                    @felmue That example worked, but I am not sure how to get then card id back into UIFLOW2, the variables defined in the Execute code only seem to be valid from within that code block. Kind of new to all this stuff.

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

                      Hello @jamesarm97

                      please check out the example code below to get the card UID into an UIFlow2 label.

                      Notes:

                      • you need to create a label first
                      • observe the global rdr statement at the top of the first Execute code block. It is required to make the function getUID work
                      • observe the function getUID is of the type with return parameter, although it is not set. The return value is set by the return statement in the Execute code block.

                      0_1700904706191_UIFlow2_M5Dial_RFID_20231125.png

                      Please find the complete example here.

                      Thanks
                      Felix

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

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

                        Hello guys

                        good news. M5Dial internal RFID reader is now supported in UIFlow2 alpha-29.

                        Thanks
                        Felix

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post