Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebUSB and RFID readers

I was wondering if anyone had any experience getting RFID readers to work through WebUSB. The reader I'm using is the https://www.parallax.com/product/28340 .

From what I've read, I'd have to write a driver to read from the device. I was just wondering if anyone has done any work regarding this and what they ended up doing.

The goal here is to read RFID tags without using another application to feed it to the web application.

Thanks!

like image 297
codewookie Avatar asked Jul 17 '17 19:07

codewookie


People also ask

What are readers in RFID?

The RFID reader is a network-connected device that can be portable or permanently attached. It uses radio waves to transmit signals that activate the tag. Once activated, the tag sends a wave back to the antenna, where it is translated into data.

Can I read RFID with my phone?

Yes, you can use your phone as RFID tag. For Android or Windows phones you enable NFC. In case of an Apple you need to enable Bluetooth. Traditionally a RFID tag is a smart card, badge, ticket or drop.

Which is the best RFID reader?

The WILSHIN RFID Card Reader Writer is the easiest to use, as well as the most affordable. If you're looking for a foolproof copier, you've found it. Then again, you can only copy a limited type of 125kHz card. The SYWAN RFID Copier, on the other hand, is the most versatile.

What materials can RFID read through?

RFID scanners use radio frequency energy rather than visible light to read the RFID tag, so they can read tags through a wide variety of opaque materials like plastic, cardboard, composites or laminates.


1 Answers

The USB variant of that RFID reader uses an FTDI FT232R chip to provide a serial-to-USB interface. If the host operating system has a driver for this chip or the FTDI Virtual COM port drivers are installed then the browser will be unable to connect to the device when your application requests it through the WebUSB API because the USB interface presented by the device will already be claimed by the driver.

If you are able to guarantee that the Virtual COM port driver is not loaded then you will be able to write a driver using the WebUSB API to control the device.

like image 76
Reilly Grant Avatar answered Sep 26 '22 00:09

Reilly Grant