thone's instructable
Tell us about yourself!
Achievements
- thone commented on piddlerintheroot's instructable USB Barcode Scanner (Raspberry Pi)
- thone commented on piddlerintheroot's instructable USB Barcode Scanner (Raspberry Pi)
I just wanted to add a tip. I found that if I had anything else plugged in, like a mouse or keyboard, the scanner didn't always default to hidraw0 which broke the program. So to avoid having to manually change this every time, I did the following. 1. Install pyudev (https://pyudev.readthedocs.io/en/latest/guide.html):sudo pip install pyudev Note: This needs to be installed for the root since the script has to be run with root permissions.2. Determine which hidraw is your scanner.- start with your scanner unplugged- open a terminal on your raspberry pi and type: udevadm monitor- plug in your scanner and it will print a lot of lines- go through the text that printed and determine which hidraw# the scanner was assigned toNote: for this example my scanner is hidraw03. Find a unique identifier…
see more »View Instructable »I just posted a comment that might help you with this.
- thone commented on thone's instructable Arduino Powered Musical Christmas Lights
That question is fairly broad so I hope this reply helps. I wanted to be able to use this with any audio so I found another instructable that broke out frequency, credit given above. That instructable is where I got the voltage splitter and all necessary parts for the audio input. It's not the most accurate for timing but is the best I could come up with for a live display.
View Instructable »I apologise for the delayed response. You would use either the left or right. The ground goes to the ground on the Arduino and your chosen channel goes to the analog readout of the Arduino.
I'm glad I could help. Often times I go back and use my own comments as notes if it's been a while.