M5Dial UiFlow 2.0.1 RFID scanning issue
-
I'm testing out rfid scan feature on M5Dial. I have the blockly code as in the screenshot attached. When I run the code, the very first rfid card scan works fine in reading the content of the card. Recurring rfid card scan takes either 20-50 seconds or just don't get scanned.
And every now and then I get ETIMEDOUT error. I tried a while loop to look for a RFID card presence before reading from address 4. Seems to have helped with timeout error but still seeing significant delays beyond the first scan. Appreciate any help.Note: The factory default program for M5Dial RFID works very well in scanning UID and displaying without any delays.
I have almost identical code for M5Stick Plus with RFID module attached. I didn't have this issue.
-
Hello @kumsat
try adding a
rfid closeblock when you are done reading from addr. E.g. before the 200 ms delay.Thanks
Felix -
@felmue That seems to have fixed the issue. Thanks for your help.
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