background image

Barcode Scanner Module User Manual 

 

 

12

  / 

57 

Rev1.0 Date:180621

 

1.

 

Baud rate Setting 

USB COMMUNICATION 

1.

 

USB PC Keyboard 

When you connect the module with USB cable, you can set the module to 

keyboard input mode by scanning this code. 

2.

 

USB Virtual Port 

1200bps

 

4800bps

 

*9600bps

 

14400bps

 

19600bps

 

38400bps

 

57600bps

 

115200bps

 

USB PC Keyboard

 

Summary of Contents for Barcode Scanner Module

Page 1: ...ly Through the onboard USB and UART interface it can be directly plugged into a computer or be easily integrated to kinds of devices due to its small form factor FEATURES Easy to use requires no knowl...

Page 2: ...ating voltage 5V Operating current 135mA Standby current 58mA Sleep current 2mA Operating temperature 0 60 Operating Humidity 5 95 Non condensing Interfaces UART USB Light source White Scan angle Tilt...

Page 3: ...res 1 Specifications 2 Support barcodes 5 Scanning Instructions 6 Scanning Area 6 Scanning Way 7 Setting Instruction 9 Hardware connection 9 Setting Codes 9 Setting code 9 Restore Factory Setting 10 U...

Page 4: ...ting and Targeting 18 Ouput indication 19 Data Edit 23 Barcode types Enable Diable 34 Appendix A Default setting table 45 Appendix B Common UART command 47 Appendix C CODE ID List 48 Appendix D ASCII...

Page 5: ...ual 5 57 Rev1 0 Date 180621 SUPPORT BARCODES Barcode Support Support Factory Codabar Code 11 Code 39 Code 93 UPC EAN Code 128 EAN128 Interleaved 2 of 5 Matrix 2 of 5 MSI Code Industrial 2 of 5 GS1 Dat...

Page 6: ...ng distance These values are all be measured indoor 250 lux Barcode Density Min Max Code 39 0 125 mm 5 mils 6 0 cm 11 0 cm 0 375mm 15 mils 6 0 cm 25 0cm UPC EAN 0 375mm 15 mils 6 0 cm 25 0cm Code93 0...

Page 7: ...n the scanning performance The window should close to and be in front of the scanner reader don t touch The distance between window and scanner protect the scanner from drop and crash SCANNING WAY Whi...

Page 8: ...high density barcode It supports up to 65 However you d better reduce the skew for better and faster scanning Pitch Pitch will decrease the height of barcode 2 to 3 is the best scanning angle which c...

Page 9: ...device with micro USB cable Or you can connect the UART interface to your device If you want to test the UART interface with PC you require an TTL to USB board like our CP2102 should be purchased sep...

Page 10: ...Close Output content RESTORE FACTORY SETTING You can scan this setting code to restore to factory setting if require Open Setting Code Function Close Setting Code Function Don t Output Content of Set...

Page 11: ...over the old information By scanning the code Restore User Default Setting can restore the module to user default setting UART COMMUNICATION If you connect the module to MCU by UART interface You must...

Page 12: ...rate Setting USB COMMUNICATION 1 USB PC Keyboard When you connect the module with USB cable you can set the module to keyboard input mode by scanning this code 2 USB Virtual Port 1200bps 4800bps 9600...

Page 13: ...scanning and it will finish after scanned or button release Sleep In manual mode module could enter sleep mode if it being idle for some time You can scan this code to configure this function Default...

Page 14: ...press the button to stop the scanning and single press again to continue Single Scanning Time In Continuous Mode this parameter set the max scanning time for per scanning behavior If the module succes...

Page 15: ...module will detect the ambient brightness if the brightness change module will begin scanning after an image stabilization time configurable After one scanning success or timeout module will enter det...

Page 16: ...dule will enter the non scanning interval The range of single scanning time should be 0 1 25 5s If it is set to 0 it means that scanning time is infinite It is 5 0s by default Non Scanning Interval It...

Page 17: ...bilizing image if brightness changed is detected in sensing mode The range is 0 25 5s and 0 4s by default 4 Command Mode In command mode scanner will begin scanning after receive the command from MCU...

Page 18: ...time for per scanning behavior If the module success scanning or the its scanning time reach the max single scanning time module will enter the non scanning interval The range of single scanning time...

Page 19: ...d off all the time 2 Targeting The targeting light beam could help user to get the best scanning distance and angle User can set it Standard default The LED only turn on when scanning or it keeps off...

Page 20: ...LF Low frequency MF Midium frequency HF High frequency In active driving mode user can set the working level of buzzer User can turn off all the warning tones by use the code Enable silence Driving f...

Page 21: ...one can also be set it is default 60ms 3 Decoding prompt You can enable this function for MCU to know whether succeed in decoding After enable this function module will send prompt character F if it f...

Page 22: ...yout of different countries There are keyboard setting code for choosing 5 Image flip Sometimes we may need to flip the barcode as below If your barcode is flipped you can use the flip mode Keyboard U...

Page 23: ...module with this setting code DATA EDIT Sometimes we need to edit the scanned data first before output for easily handling Data edit includes Add Prefix Add Suffix Decoding Data intercepting Output Co...

Page 24: ...user can edit it by scanning the related setting code Modify prefix You can scan Modify prefix code and data setting code to modify the prefix Every character has two HEX and every prefix should less...

Page 25: ...pen Setting Code Function 3 Scanning Modify prefix code 4 Scanning the data setting code one by one 4 4 4 1 5 4 4 1 5 Scanning Save Setting code 2 Suffix Add suffix Suffix is definable string added af...

Page 26: ...ode is enabled if no please scanning the setting code Open Setting Code Function 3 Scanning Modify prefix code 4 Scanning the data setting code one by one 4 4 4 1 5 4 4 1 5 Scanning Save Setting code...

Page 27: ...hey want with related setting codes Every code id has one character one HEX value More details about characters please refer to Appendix D Example change the CODE ID of CODE 128 to A 1 Query the HEX v...

Page 28: ...3 Modify CODE ID of EAN8 Modify CODE ID of UPCA Modify CODE ID of UPCE0 Modify CODE ID of UPCE1 Modify CODE ID of CODE 128 Modify CODE ID of CODE 39 Modify CODE ID of CODE 93 Modify CODE ID of CODE BA...

Page 29: ...Rev1 0 Date 180621 Modify CODE ID of CODE 11 Modify CODE ID of MSI Modify CODE ID of RSS Modify CODE ID of Limited RSS Modify CODE ID of Expanded RSS Modify CODE ID of QR CODE Modify CODE ID of Data...

Page 30: ...fter succeed in decoding 5 Data segment intercept The decoding data Data could be divided to three parts Start Center End The length of Start and End segments can be set Close Tail Add Tail CR Add Tai...

Page 31: ...about HEX refer to Appendix D Change the Length N of End With data setting code and this one you can change the length of End segment The length of Start is max 255 characters The Length N is represe...

Page 32: ...racters table get the HEX value of 3 DEC is 03 2 Make sure the setting code function is enable if not open it 3 Scanning Modify the length N 4 Scanning setting code 0 3 5 Scanning Save 6 Scanning Only...

Page 33: ...dicating failed scanning in some modes Modify Information The RF information can be modified by users The max length of RF is 15 and every character represented by two HEX values Appendix D Example Mo...

Page 34: ...DE TYPES ENABLE DIABLE 1 All Types Enable With these setting code you can enable disable all types of barcode If you disable all types of barcode only the setting code is scannable 2 Barcode Rotating...

Page 35: ...nable Disable ENA13 barcode 4 EAN8 Enable Disable EAN9 barcode 5 UPCA Enable Disable UPCA barcode Enable 360 Rotation Disable 360 Rotation Enable Scanning EAN13 Disable Scanning EAN13 Enable Scanning...

Page 36: ...PCE1 Enable Disable UPCE1 barcode 8 Code128 Enable Disable Code128 barcode Setting the Min Scannable Length of Code128 Enable Scanning UPCE0 Disable Scanning UPCE0 Enable Scanning UPCE1 Disable Scanni...

Page 37: ...le Disable Code39 Setting the Min scannable length of Code39 Setting the Max Scannable length of Code39 10 Code93 Enable Disable Code93 barcode Code128 Max Length 32 Code128 Max Length 255 Enable Scan...

Page 38: ...length of Code93 Setting the Max scannable length of Code93 11 Code Bar Enable Disable Code Bar barcode Enable Scanning Code93 Disable Scanning Code93 Code93 Min Length 0 Code93 Min Length 4 Code93 M...

Page 39: ...Code Setting the max scannable length of Bar Code 12 QR Enable Disable QR code 13 Interleaved 2 of 5 Enable Disable Interleaved 2 of 5 code Send Code Bar Start Stop Character Without Code Bar Start St...

Page 40: ...5 code 14 Industrial 25 Enable Disable Industrial 25 code Setting the min scannable length of Industrial 25 Enable Scanning Interleaved 2 of 5 Disable Scanning Interleaved 2 of 5 Interleaved 2 of 5 M...

Page 41: ...f 5 Enable Disable scanning Matrix 2 of 5 code Setting the min scannable length of Matrix 2 of 5 Industrial 25 Min Lenght 0 Industrial 25 max Length 4 Industrial 25 Max Lenght 32 Industrial 25 Max Len...

Page 42: ...Code11 Enable Disable Scanning Code11 Setting the min scannable length of Code11 Setting the max scannable length of Code11 Matrix 2 of 5 Max Length 32 Matrix 2 of 5 Max Length 255 Enable Scanning Co...

Page 43: ...ng MSI code Setting the min scannable length of MSI Setting the max scannable length of MSI 18 RSS Enable Disable scanning RSS 14 Enable Scanning MSI Disable Scannig MSI MSI Min Length 0 MSI Min Lengt...

Page 44: ...Expanded RSS Setting the min scannable length of RSS Setting the max scannable length of RSS 19 DM Enable Disable Scanning DM code Enable Scanning Limited RSS Disable Scanning Limited RSS Enable Scan...

Page 45: ...Disable scanning PDF417 code APPENDIX A DEFAULT SETTING TABLE Parameters Default Setting Note Communicating Interface UART Baud rate 9600 Parity None Data bit 8 Stop bit 1 Flow control None Enable Sc...

Page 46: ...ner Module User Manual 46 57 Rev1 0 Date 180621 Mode Default Scanning Mode Manual Mode UART Mode Single scanning time 5s Range 0 1 25 5s Step 0 1s 0 stands for infinite Manual Mode Trigger Level Low D...

Page 47: ...00 00 DE C8 Query the baud rate 7E 00 07 01 00 2A 02 D8 0F After sending the query command of baud rate the module will response as below Return Related Baud rate 02 00 00 02 C4 09 SS SS 1200 02 00 0...

Page 48: ...UPC A c 0x93 UPC E0 c 0x94 UPC E1 c 0x95 Code 128 j 0x96 Code 39 b 0x97 Code 93 i 0x98 Codabar a 0x99 Interleaved 2 of 5 e 0x9A Industrial 2 of 5 D 0x9B Matrix 2 of 5 v 0x9C Code 11 H 0x9D MSI Plessey...

Page 49: ...Rev1 0 Date 180621 APPENDIX D ASCII TABLE HEX DEC Character 0 0 NUL 1 1 SOH 2 2 STX 3 3 ETX 4 4 EOT 5 5 ENQ 6 6 ACK 7 7 BEL 8 8 BS 9 9 HT 0a 10 LF 0b 11 VT 0c 12 FF 0d 13 CR 0e 14 SO 0f 15 SI 10 16 DL...

Page 50: ...r Manual 50 57 Rev1 0 Date 180621 HEX DEC Character 15 21 NAK 16 22 SYN 17 23 ETB 18 24 CAN 19 25 EM 1a 26 SUB 1b 27 ESC 1c 28 FS 1d 29 GS 1e 30 RS 1f 31 US 20 32 SP 21 33 22 34 23 35 24 36 25 37 26 3...

Page 51: ...Module User Manual 51 57 Rev1 0 Date 180621 HEX DEC Character 2b 43 2c 44 2d 45 2e 46 2f 47 30 48 0 31 49 1 32 50 2 33 51 3 34 52 4 35 53 5 36 54 6 37 55 7 38 56 8 39 57 9 3a 58 3b 59 3c 60 3d 61 3e...

Page 52: ...Manual 52 57 Rev1 0 Date 180621 HEX DEC Character 41 65 A 42 66 B 43 67 C 44 68 D 45 69 E 46 70 F 47 71 G 48 72 H 49 73 I 4a 74 J 4b 75 K 4c 76 L 4d 77 M 4e 78 N 4f 79 O 50 80 P 51 81 Q 52 82 R 53 83...

Page 53: ...r Manual 53 57 Rev1 0 Date 180621 HEX DEC Character 57 87 W 58 88 X 59 89 Y 5a 90 Z 5b 91 5c 92 5d 93 5e 94 5f 95 _ 60 96 61 97 a 62 98 b 63 99 c 64 100 d 65 101 e 66 102 f 67 103 g 68 104 h 69 105 i...

Page 54: ...e User Manual 54 57 Rev1 0 Date 180621 HEX DEC Character 6d 109 m 6e 110 n 6f 111 o 70 112 p 71 113 q 72 114 r 73 115 s 74 116 t 75 117 u 76 118 v 77 119 w 78 120 x 79 121 y 7a 122 z 7b 123 7c 124 7d...

Page 55: ...Barcode Scanner Module User Manual 55 57 Rev1 0 Date 180621 APPENDIX E DATA CODE 0 9 0 1 2 3 4 5 6 7 8 9...

Page 56: ...Barcode Scanner Module User Manual 56 57 Rev1 0 Date 180621 A F A B C D E F...

Page 57: ...21 APPENDIX F SAVE AND REMOVE Using Data Code you need to scan the Save to save your setting you can also use Remove Cancle to remove your wrong data setting if require Save Exit one Data scanned befo...

Reviews: