Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denysvitali/barcode-reader
A simple Barcode Reader w/ product matching. Yes, this is my smart-fridge app
https://github.com/denysvitali/barcode-reader
1100i barcode datalogic magellan raspberry raspberrypi rust scanner
Last synced: 16 days ago
JSON representation
A simple Barcode Reader w/ product matching. Yes, this is my smart-fridge app
- Host: GitHub
- URL: https://github.com/denysvitali/barcode-reader
- Owner: denysvitali
- Created: 2017-10-26T19:59:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T22:30:00.000Z (about 7 years ago)
- Last Synced: 2024-10-11T00:53:14.044Z (about 1 month ago)
- Topics: 1100i, barcode, datalogic, magellan, raspberry, raspberrypi, rust, scanner
- Language: Rust
- Size: 10.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Barcode Scanner
This simple Rust application takes care of the communication between my
Raspberry Pi 2 B+ and my Datalogic Magellan 1100i scanner - connected via USB (w/ USB COM emulator mode).This simple app will be used to see what's the fridge content - because I'm too lazy to check it every time.
## Requirements
- [Datalogic Magellan 1100i Scanner](http://www.datalogic.com/eng/products/transportation-logistics-retail/presentation-scanners/magellan-1100i-pd-157.html) (or similar)
- Raspberry Pi (any) running any Linux Distro (I suggest you to use [Arch Linux ARM](http://archlinuxarm.org/))
- Rust (`pacman -S rust`)
- (A fridge?)## Run
```
git clone https://github.com/denysvitali/barcode-reader
cd barcode-reader
cargo run
```## Troubleshooting
### Permission denied while opening `/dev/ttyWhatever`
Add yourself to the `uucp` / `serial` / `$(stat -c "%G" /dev/ttyWhatever)` group. Reboot or logout, log back in and try again.
Fast but *very* ugly solution: run as root.