The idea is to build a small pinball machine which works with various sensors and mechanical components. Inspired by classical pinball machines, I'll use buttons, motion sensors, electro magnets, aswell as self created sensors made out of alu foil and wire. Most of the sensors will trigger light (LEDLight-emitting diode's and maybe RGB[[Farbe#Farbräume|Red Green Blue]] Colorspace LEDLight-emitting diode Strips) and sound (via piezo speaker).
Since this is my first DIY electronics project ever, I think the pinball machine is a good test field to combine different sensors in one project. It is always possible to add new features to it or to leave parts out without letting the hole project die. Also, I like the interactive aspect of the project and personally I relate very good family memories with pinball machines which motivated me to create this toy.
To run this machine it's necessary to build a few mechanical parts such as the pinball fingers and the plunger. --> see below
Theme of the pinball game is Star Dust
The ball is a comet that is going to hit the earth. But you have the chance to save the planet by playing the game and activate the S-P-A-C-E-Y letters. But watch out for some evil aliens who want to extinguish all human beings!
It really takes a lot of time to build a pinball machine!
Especially the mechanical parts are very complex and cost me a lot of nerves. So think twice before you decide to build one. But in the end I'm pretty happy with the results, even if a few things didn't work out (e.g. the bumper because I wasn't able to 3Dprint the parts I needed). If you're wondering, how to get this spacey look of the front walls self-adhesive film with black marble print is the answer. Building the mechanics:
To use the machine without an arduino I got some Attiny 45 and one 44 (it has more pins) and 9V batteries. Be mind that Attiny only uses max. 5,5V!!!
All circuits are pretty basic and work with LEDLight-emitting diode lights or a piezo.
- a circuit that lights up one LEDLight-emitting diode after another by pressing a button. Following all LEDLight-emitting diode's start to blink and turn off again. See VIDEO*
- !!!motion sensor that play the first notes of the Imperial March (psssst... that from Star Wars) with an piezo speaker when it's triggered. (GAME OVER) See VIDEO* !!!
- Fading white LEDLight-emitting diode's that light up and go out in different rhythms (DECORATIVE STARS)See VIDEO*
- A piezo speaker that plays a random melody when the ball connects two ends of the circuit. See VIDEO*
- And a very simple circuit that lights up two LEDLight-emitting diode's when a button is pressed. (ALIEN ATTACK!!!)
- There is also the circuit that uses an electro magnet and pulls down a plastic part that gives the ball extra speed. I used the magnet from a mechanical Ding Dong bell
and it works pretty good in combination with a 9V battery. Unfortunately the 3D printer doesn't work as I expected it to do. Maybe I can add this circuit later.
* You can find all VIDEOS online on my channel (YT). (YouTube)Username: Alisha Effenberg or search for: six LEDLight-emitting diode's switching on by button and blink with arduino ,
random sound from piezo with arduino,
three fading LEDLight-emitting diode's with arduino