I am currently trying the following with the help of a Raspberry Pi:

  • Barcode scanner scans barcode (connected to the Raspberry Pi via USB Port) (via Python?)
  • A hidden form is filled in
  • The user only sees the website
  • With PHP and MySQL the scanned object is registered and you can change its status

    => (Out of stock, in stock)

Can you help me and maybe give tips on how to do that? Thanks in advance.

Best regards, rib4n

closed as too broad by joan, Steve Robillard, techraf, Milliways, Darth Vader Jan 15 '18 at 12:12

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    A bit broad for this site, and really not specific to the Pi. I would search for tutorials covering the various topics to see if you can find something similar. – joan Jan 10 '18 at 22:21

A barcode scanner is just a USB device that emulate keyboard. There is a python package called evadev that allows you to read input events on Linux. You can install the package from python-evdev.

Not the answer you're looking for? Browse other questions tagged or ask your own question.