Conversion of an old pinball playfield to an Arduino-driven, fully working pinball machine.
Project showcase by Frogger1108
A standard sized pinball machine made using parts from the home store and pinball supply houses. The game play is controlled by an Arduino.
Project tutorial by Bob Blomquist
Build a fully functional pinball machine with 4 networked Arduinos: Control, Audio, Lights, Score, with this code and my free E-book.
Project showcase by grahamasker
A previous project of an Arduino controlled pinball machine is augmented with sound and music using a WAV Trigger board.
Is your question how this is done with the Arduino? If so, you can use any of the many tutorials covering the usage of WS2811 LEDs with the Arduino. This one here https://randomnerdtutorials.com/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino/ describes the Hardware aspect, as you can see you only need external power and ground for the LEDs and one pin on the Arduino. You can control each LED individually with the FastLED library (https://github.com/FastLED/FastLED/wiki/Basic-usage). The Library includes many examples, it's really very easy, all you have to specifiy is the pin used and the number of LEDs in your string. For individual adressing, just take a look in the code:
leds = CHSV(250, 255, 255);
This tells the Arduino to set LED 25 to color hue 250 (red), saturation 255 (maximum) and brighness 255 (maximum)....this means it appears as a brightly red led.
Did you find a solution? I finished my secon machine and implemented a new routine that checks for the time each solenoid pin is HIGH. If any solendoid pin is HIGH for more than 2 seconds, all pins are set to LOW and the program shuts down to prevent any new activation. Works pretty good so far :)
Did you have success with your project?
Well, to be honest, I had one of the bumper switches stuck once and the best solution was to be fast with the main power button...
The solution for this problem is one of the things on my "to do" list for the new pinball machine I'm currently working on. I've got a few ideas and I will check which one is the most feasible in terms of processor time since you can't afford too many delay commands. I also bought a couple of blow fuses which should also work in preventing a coil drawing too much. With those I will have to measure the draw of the individual coils to get the right size for the fuse.
I'm sorry I don't have a solution already, my pinball projects have been delayed recently but I'm hopefull that I can start working on them again during august.
If you find a solution please post it, I'd be happy to implement it.
Or connect with your social account:
New here? Create an account