10 Questions You Should to Know about USB Embedded Scan Mdoule

Author: Alice

Apr. 07, 2025

USB Fingerprint Readers Vs Embedded Fingerprint Scanners

Over the last ten years biometric technologies have been perfected and advanced to the extent of proliferation into our daily lives. Commonly used identification systems, entrance or on-premise security and access control systems are now implemented using biometric systems. These are capable of being integrated into several other non-standard systems extending the umbrella and potential of security.

WCMI contains other products and information you need, so please check it out.

Several large corporations are involved in manufacturing biometric devices. Some of the most popular Fingerprint Scanner manufacturing companies are Nitigen, SecuGen, Suprema and Futronic etc. USB fingerprint readers, embedded fingerprint scanning modules and mobile fingerprint scanners are the basic types available in the market. Each type is used for a different and specific purpose.

Embedded fingerprint reader modules allow users to incorporate biometric authentication into their existing OEM equipment. Software developers can use these fingerprint scanners with various Fingerprint SDKs to develop customized biometric security solutions. These can also have internal data storage capacity. The ease of integration and ruggedness make these devices ideal for OEM projects.

Fingerprint Readers are scanning devices with multifarious applications. These fingerprint scanners can be plugged into a computer separately and are very safe and convenient to use. USB fingerprint scanners are most often used for authentication, identification and verification functions.

Both types of scanners can be used for a variety of applications such as in biometric point-of-sale machines, fingerprint-based computer logins, biometric computer logos, fingerprint time and attendance systems, electronic transaction as well as bank and financial systems. Embedded modules are most commonly used with fingerprint scanners firmly installed within the composition of the device, for instance, in the case of laptops with inbuilt fingerprint verification; whereas USB fingerprint readers are more commonly used due to their portability and durability capabilities. The development necessity and costs are another reason USB readers are preferred over embedded modules in the industry.

How to use embedded barcode scanner with Raspberry Pi - RTscan

If you are using Raspberry Pi microcontroller / single-board computer to develop your system, and at the same time, you need a 1d/ 2d embedded barcode scanner to work with it, then this article would be helpful for you:

Here we introduce how we connect the Raspberry Pi 3 Model B+ micro-controller with RTscan embedded barcode scanner and how to make them work with each other.

When we try to integrate an embedded barcode scanner with the Raspberry Pi microcontroller board, but we would meet these problems:

  1. How can we connect the embedded barcode scanner with the Raspberry Pi board together?
  2. When we choose an embedded barcode scanner, how can we control the barcode scanner by Raspberry Pi, meanwhile, how to upload decoded data to the Raspberry Pi system?

Read below and find how RTscan provides solutions for above questions.

Contents

Part I: Introduction of Raspberry Pi 3 model B+ and RTscan embedded barcode scanners

Raspberry Pi 3B+:

Raspberry Pi 3 Model B is the latest iteration of the most popular single-board computer. It provides a quad-core 64-bit ARM Cortex-A53 CPU running at 1.2GHz, four USB 2.0 ports, wired and wireless networking, HDMI and composite video output, and a 40-pin GPIO connector for physical interfacing projects.

Raspberry Pi 3 Pinout

And for our application to connect with embedded barcode scanners, we need the 3.3V (or the 5.0v) power supply pin, and GND pin, RXD, TXD pins.

And also, we will demo how to connect our embedded barcode scanners: with raspberry Pi via USB interface.

RTscan embedded barcode scanners:

In this article, we just choose RT870 as an example to do the connection and integration, all the above listed models like RT830C, RT234 and RT231 etc are also ideal for connection with Raspberry Pi for different applications.

RT870 has RJ45 and micro USB output.

Part II: Connection solutions:

RTscan provides two types of solutions:

  • Solution1: Dupont interface 

RTscan provides the following DuPont interface to connect the embedded barcode scanner with Raspberry Pi:

This is a simple solution, just connect the 5.0V power supply (the EVK needs 5.0v power supply), GND, RX, and TX pins.

RT870 RJ45 Pinout

PIN Connection:

Solution 2: Connect via USB interface

For Raspberry Pi, if you prefer to connect the embedded barcode scanner via USB interface, it also is fine, setup RTscan’s barcode scanner to HID mode (work directly) or USB CDC/Virtual Com mode (follow Part III/USB CDC communication).

Part III: Python Sample code/ Make the embedded barcode scanner work with Raspberry Pi system:

We developed Python sample code to work with our scanners so that you can copy our source codes and program your system very quickly and no need to write the whole code one by one; save your time and speed up your integration work!

In this article, we choose the RT870 as an example to do the programming. Below we show how they work together when they connect via TTL-232, USB-CDC, and USB-HID.

TTL-232 Communication& Python Sample Code

Step 1: Hardware connection

Connect the 5.0v power supply pin, and GND pin, RXD, TXD pins via Dupont cable.

Step 2: RT870 settings

RT870 needs to be set up with RS232 mode, scan the following barcode
Set to RS232 Mode, the default baud rate is , 8-n-1

For more details, please refer to “User-Manual-RT830A-RT870-RT860_V1.2.3”

For more USB Embedded Scan Mdouleinformation, please contact us. We will provide professional answers.

Step 3: Raspberry Pi Settings

Use serial port 0 in Raspberry Pi,

/dev/ttyS0

More settings would be required to enable Raspberry Pi serial0, please see below (If you already opened it, then ignore this):

1.Enable serial port ttyS0

Open the serial port/dev/ttyS0 
Via command window, input:
sudo rasp-config

2.Open the system configuration interface as shown below, select Interfacing Options

Then select serial:

Select No:

Choose Yes:

Finally, save and exit.

Now, please enter the following command, check the serial port ttyS0:
ls -la /dev/
But, if it still cannot be used, please double-check and re-configure it.

3. Close the Console

In the terminal, input:

sudo systemctl stop
sudo systemctl disable

Then, restart

And input:

sudo systemctl mask

Now it works!

4. Modify Raspberry Pi CPU frequency (optional, you would no need to do this)

After the above steps 1 and 2, the settings are theoretically completed. But some times:

(1)After sending a string via serial port, in most cases the receiver shows up garbled data.

(2) When the serial port receives data, if it appear data like: **\xe8 \xe9**

This would be caused by the wrong working frequency of the Raspberry Pi, information link:
Raspberry Pi 3 login via UART on GPIO Baud Rates broken

The modification method is described as below:

sudo vim /boot/config.txt

Find out whether the sentence core_freq=250 is enabled. If not, remove the # number in front of this sentence, or add core_freq=250 at the boot/config.txt, done.

If you want to learn more, please visit our website 1d 2d Elevator Control Engine.

Step 4: Run the Python sample code

3

0

Comments

Please Join Us to post.

0/2000

All Comments ( 0 )

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us!

Your Name: (required)

Your Email: (required)

Subject:

Your Message: (required)