I recently bought a waveshare barcode scanner and an Arduino Uno R3. The things is that the waveshare barcode scanner has four wires, which I do not know which one connects to the Digital source on the Uno, which two connect to power, and which one is the output? If anyone can help thank you.