Excellent suggestion.
The OP needs a Raspberry Pi.
Mind you explaining why he wants to use a barcode reader might help.