Barcode scanner can be used with Arduino. For this you need an USB-HOST module which provides TTL Tx/Rx to connect with Arduino.
Buy Link for USB-HOST (Barcode scanner to be purchased separately)
https://www.alselectro.in/product-pag...
Arduino code download :
https://99ba69f9-3a9c-49a1-8c2a-52df0...