s-petersen
Scott
duplicate post
Last edited:




Thank you very much for your time and confirming what I thought. I noticed that you are using a buck converter and sending 24V AC to it for a 5V output. According to the picture, it appears to be a DC-DC converter, which surprised me. It should be an AC-DC converter since you are using 24V AC, right? Or we should use a rectifier before so we can send it DC voltage.It's just a generic 5v 1W zener diode for protection of the optocoupler
I'm familiar with Linux c# and somewhat okay with electronic.Are you familiar with the Raspberry Pi, Raspien, Python, or electronics?
Command line over ssh.If you want to e-mail, s-petersen@live.com Are you doing desktop, or command line?
I installed mplayer with 'sudo apt‐get install MPlayer' and it did get installed with all the dependency. I did not tested it directly but so far so goodWhen I developed the program, and troubleshot it, I used desktop and 3 windows, 1 for each module, could see the interaction between the modules.
I wrote it in Thonny. You should see if you can get mplayer installed and working, it is older,(from stretch) and may not work in the newer OSes
I realize this thread is nearly 6 years old now, but just wanted to thank you. A friend is building small old timey ice cream parlor and there is no way he has room for a full size juke box. I saw one of these on market place and thought maybe I could do something. and voila you did it already! If you happen to see this and have any updates that have resulted in any fine tuning I'd love to hear them. Regardless, thanks for such a great piece of work and leaving all the files still on dropbox.The 3 programs are waiting in the background, the button program is waiting for pulses from the wallbox to decode into a letter-number combination, when it's finished decoding, it writes it to the Queue.csv file. The program also switches directories and the Red / Blue LED , and filters pulses that are less than 12ms to prevent voltage spikes from causing errors.The player file is always waiting for a combination(letter-number and red or blue for the file path)to appear. In the Queue.csv file, to play the file located (the name doesn't matter like a real jukebox)in a directory like /Blue/A1 for instance. The skipsong program is just watching for a gpio pin to change state from high to low, and just kills the mplayer program,which moves to the next song in the queue
What box did you get?If you would like, you can join our group, and see what we are doing... https://www.facebook.com/groups/1195286442029557