Reply To: Flamenco Metronome and a Pimped Up Bar Billiard Table

Home Forums Projects Flamenco Metronome and a Pimped Up Bar Billiard Table Reply To: Flamenco Metronome and a Pimped Up Bar Billiard Table

#1361
PolitePyro
Participant

WS2812B LEDs as picnic mentioned are quite easy to get going with, they only need a signal wire and power and you can get a library so you just send RGB values for each pixel. They also hold the value sent until you send a new one so you don’t have to deal with the PWM in the arduino code.

I suspect a vision system is going to be much more tricky to get going accurately than just detecting the collisions with the bumpers electrically.

The way I believe it normally works is when the ball collides with a bumper it closes a switch, the switch then fires a solenoid to slam down the top of the bumper and fling the ball away. It would be quite easy to just directly connect a digital input pin on the arduino to the switch of the bumper, you might need a bit of debouncing on the signal from the switch and a diode to stop the solenoid blowing up your arduino though.

You can get an arduino to play sound from an sd card but I’m not sure it will be able to react to anything else at the same time, or you could just shove a raspberry pi zero (about £5) in there for audio and it could also handle display output as a bonus as it has HDMI out.