Programming Language for RFID Access

I would like to create a project that uses RFID technology. I do not know which languages ​​can be used to extract RFID data. Is there a list of languages ​​that provide good support for receiving RFID data, and if so, is there a code example? I found some resources that seemed to indicate that Python could be used, however I am not very experienced with Python. Any help or guidance would be appreciated.

+7
source share
6 answers

Check out Arduino with the Parallax RFID Reader . You can program it in C.

+1
source

Determine what is the goal (or goals) of your project, wisely choose a programming language.

This was for some advantage, if we know which project you are designing, the embedded system is different from a “normal” PC.

+1
source

I assume that you already have the equipment for this project? If not, you will need to study this before you start thinking about programming.

Turning to the code, if you plan to actually write hardware drivers for working with an RFID reader, you will need to use a low-level language such as C ++. You also need to know about software hardware interfaces.

But most likely you do not need to worry about this because the hardware drivers are already written; all you have to do is call their functionality, which will go through a series of library calls.

Almost all modern languages ​​can access standard libraries, so you should be able to do this in almost any language you like.

Choosing a language, therefore, has less to do with access to hardware, and more about finding the right language for you — the choice may be the one you already like or the one you want to learn. You must decide whether you want to use a scripting language or a compiled language. It should also be the language in which there are tools for creating the user interface you want.

I see PHP in tags. I would say that this will not be a suitable language for this project, since PHP is usually used for server-side web applications, and if there is one technology that will not be a server or web platform, this is RFID. PHP can be used to write code with a local graphical interface, but it will never be the optimal language for such a program.

0
source
0
source

What hardware designation did you create? The basics of the app really come from the “character drama” in the scene. Some manufacturers of RFID readers are more likely to be Microsoft-oriented and often use more sophisticated products, such as websphere, to use Java. Not that there is anything wrong with this, but again, it’s important to bring in the taste in which you work. Just remember that not everyone will be flexible.

0
source

It depends on the characteristics of the reader, and not on the language itself, as the producer-reader decides how you can "connect to the reader."

As in PHP, you should look for readers with TCP / IP support (expensive). Since PHP will allow you to handle this pretty well, and you DO NOT need a browser to do this. The PHP CLI allows you to store script instances of the open server side as you like, and listen to readers' calls or open new ones. In addition, if your reader writes data to memory, you can periodically receive it with cron jobs / scheduled tasks.

The same can be done with other languages ​​(each language will allow you to open sockets), BUT most manufacturers will only allow you to connect to their readers using a proprietary API, which will often be available in several languages, which makes it very painful to choose any language that you want, but those that manufacturers would like you to.

0
source

All Articles