Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add comments/description or add a tutorial/startup guide. #2

Open
ohbhatt opened this issue Sep 22, 2021 · 2 comments
Open

Please add comments/description or add a tutorial/startup guide. #2

ohbhatt opened this issue Sep 22, 2021 · 2 comments

Comments

@ohbhatt
Copy link

ohbhatt commented Sep 22, 2021

I am new to python and particularly new to UHF Readers. I have UHF Reader 18 with me. (Works with provided software)
Please show me how to use this code. I wish to use scanned data in python for my project.

Any help would be highly appreciated.

@loblik
Copy link
Owner

loblik commented Sep 22, 2021

This is just a simple tool to send commands to the reader and query tag IDs from the reader. It's not a library which could be immediately used in some project. But feel free to reuse any code from the script.

To run the script all you have to do is to install required python3 modules (see top of the file) and then run:

./uhf_reader_18.py /dev/[YOUR_SERIAL_PORT_TTY]

This will give you a command prompt where you can type several commands. Type help for more information.

Also this script was only tested on Linux. With some modification it should also work on Windows I guess. But I don't have this reader anymore so I can give you only limited help.

@ohbhatt
Copy link
Author

ohbhatt commented Sep 23, 2021

First of all, Thank you so much for creating this code and for responding to my very noobie issue.
As far as I have understood, I can run the following commands:

  • freq LOW HIGH
  • help
  • info
  • mode
  • power 0-30
  • quit
  • scantime 3-225

Screenshot from 2021-09-23 19-14-37

I am getting a valid response for every command but I am unable to read any tag IDs off the bat. I guess we need to put the reader in ACTIVE mode. I don't directly see a command for that. Can you please help me here? I want to get tag IDs automatically as they come in range (This is how may other UHF Readers work, I believe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants