Barcode Scanner Module

From Waveshare Wiki
Jump to: navigation, search
Barcode Scanner Module
Speed Measuring
Barcode Scanner Module

Barcode Scanner Module, USB/UART interface
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Introduction

Barcode Scanner Module, USB/UART interface.

More

Dimensions

Barcode-scanner-dim02.jpg
Barcode-scanner-dim01.png

Document

FAQ

 Answer:
Please change the Scan command to 0x16 0x54 0x0D.

{{{5}}}



 Answer:

Connect the barcode scanner module to the Arduino uno board as below pin configuration and then check with the demo code below:
Barcode-scanner-faq01(1).png

#include <SoftwareSerial.h>
SoftwareSerial mySerial(11, 12);  //Rx=11, Tx=12

void setup() {
  Serial.begin(115200);
  mySerial.begin(9600);
}

void loop() {
  if (mySerial.available()) {
    String receivedData = mySerial.readStringUntil('\n'); // Read entire data until newline character
    Serial.println(receivedData); // Print the data to Serial Monitor
  }
}

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)