I would like to create a project that uses RFID technology. I don't know which languages can be used to retrieve RFID data. Is there a list of languages that provide good support for retrieving RFID data, and if so, is there sample code available? I have found some resources which seemed to indicate that Python can be used, however I'm not very experienced with Python. Any help or guidance will be appreciated.
Check out Arduino together with Parallax RFID reader. You can program it in C.
Determine what is the target (or targets) of your project, choose yours programming language wisely.
It was for some advantage if we know, what kind of project are you designing, a embedded system is different to "normal" PC.
I'm assuming you already have the hardware for this project? If not, you'll need to investigate that before you start thinking about programming.
Moving on to code, if you're planning on actually writing the hardware drivers to operate the RFID reader, then you'll need to use a low-level language like C++. You'll also need to know about programming hardware interfaces.
But most likely you don't need to worry about that, because the hardware drivers are already written; all you need to do is call their functionality, which would be through a series of library calls.
Virtually all modern languages can access standard libraries, so you should be able to do this in pretty much any language you like.
The choice of language is therefore less about accessing the hardware, and more about finding the appropriate language for you -- the choice could be one that you're comfortable with already, or one that you want to learn. You should decide whether you want to use a scripting language or a compiled language. It also needs to be a language which has the tools to produce the user interface you want.
I see PHP in the tags. I would say that this would not be a suitable language for this project, since PHP is typically used for server-side web-based applications, and if there's one technology that isn't going to be server-side or web-based, it's RFID. PHP can be used to write code with a local GUI, but it's never going to be an optimal language for such a program.
You can use the 2 different kits for programming interface: http://www.jeremyperson.com/tikitag-rfid-programming-kit or http://www.phidgets.com/products.php?category=14
What kind of hardware designation have you made? The fundamentals of an application really come from the "character dramatis" in the scene. Some manufacturers of RFID readers are more prone to being microsoft centric and often times utilize more complex products like websphere to utilize Java. Not that there is anything wrong with that but again it is important to nail down the flavor you are working in. Just remember not everyone is going to be flexible.
It depends on the reader specs, not the language itself, since the reader manufacturer decides how you 'can' connect to the reader.
As of PHP, you should look for TCP/IP enabled readers (expensive). Since PHP will let you handle it pretty well, and you DON'T need a browser to do it. PHP CLI will let you keep instances of script opened server-side as long as you'd like, and listen to reader's calls or open new ones. Also, if your reader records data into memory, you can retrieve it with cron jobs/scheduled tasks periodically.
Same stuff can be achieved with other languages (every language will let you open sockets), BUT most manufacturers will only let you connect to their readers using proprietary API's that will often be available on a few languages, making it really painful to choose any language you want, but the ones the manufactuers want you to.
© 2022 - 2024 — McMap. All rights reserved.