Zum Inhalt springen

WSAL14810 – Barcode Scanner Module/en

Aus JW Tech Wiki
Version vom 6. September 2026, 00:33 Uhr von JWTechPublisher (Diskussion | Beiträge) (Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

Technical guide for the Waveshare barcode scanner module with USB and UART interfaces. The module reads 1D and 2D barcodes and can be controlled via USB or serial communication.

Related products at JW Tech

Technical overview

  • Interfaces: USB and UART
  • Reads both 1D and 2D codes
  • Arduino Uno connection example: Rx to pin 11, Tx to pin 12
  • Example code uses SoftwareSerial(11, 12) at 9600 baud
  • Serial output is read until newline character ( )
  • In command mode, response data output can be disabled by changing the scan command to 016 0x54 0x0D
  • The flex cable has 12 pins; exact pinout see manufacturer documentation
  • Available resources: quick start document, user manual V2.1 (current version), demo code

Commands and examples – verify before use: 

#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');
Serial.println(receivedData);
}
Scan command (default): [not specified in source]
Scan command (no response): 0x16 0x54 0x0D

Notes and version constraints

  • Exact pinout of the 12-pin flex cable is not fully specified in the provided text – consult manufacturer documentation
  • Command mode and commands may be version-specific; verify current version before use
  • No information on power supply voltage, current draw, or physical dimensions in the source text
  • No safety, certification, or warranty information available

Source and revision record