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.
Could you show me a picture of your wiring? The only thing the 2 solenoids should have in common is the + side of you board, the Mosfet source (pin3) of all Mosfets should be connected to the common - and the Mosfet drain (pin2) to different pins on the arduino and to - via the 10k resistor. So in theory no Mosfet should be activated unless you open the respective Mosfet with the Arduino.
No worries, pinball questions are always welcome :)
If you want to use a MOSFET I'll assume you'll also use the LR540N since it's pretty cheap and reliable. If you want to use a different one make sure to check the schematics, some MOSFETS have a different GATE DRAIN SOURCE layout.
The LR540N has the GATE on pin 1, followed by the DRAIN on pin 2 and the SOURCE on pin 3. This defines you're wiring, as the name suggests the GATE controls the flow of electricity which is the job of the Arduino so pin 1 is connected to your Arduino pin of choice which you want to use to control the solenoid. Pin 2 is the DRAIN which is connected to the negative side of your solenoid and the SOURCE is connected to your common ground (including your power supply for the mosfet AND the arduino ground). The positive side of your 24v power supply is only connected to the solenoid positive side. The 2 resistors serve different purposes, the one between the ground and the arduino (the "lower" one in the schematic) grounds the pin so it's not floating, use a 10K resistor. The second one between the Arduino and the Mosfet protects your Arduino pin and prevents the Mosfet from drawing too much current, Arduinos can only supply 40ma and once the Mosfet is turned "ON" it may draw more than that...or not, that is why many schematics skip that one. But since resistors are cheap and arduino pins are precious you should use one, a 470 ohm one worked fine for me.
The Bumper wiring is completely independent from the Mosfet circuit, it’s basically a simple button/sensor read only switch. You connect it like any other input, 5v from the Arduino on one side and the other side to the input pin of your choice (with a resistor of course to prevent floating if you don’t use the internal ones).
Test both circuits independently from each other, if you test the Mosfet circuit with the real pinball machine make sure to have the power off button for the 24V in reach, the coil will burn up pretty fast if current is constantly supplied :)
In my next project I will adress this, a blow fuse between the solenoids and the power supply should work fine.
You're right, usually they're pretty durable. I just had the bad luck of 3 of them giving out a week after I installed them so I had to resolder them one by one. Price is always a factor with pinball machines, it still seems to be a niche hobby which in turn rises the prices of existing hardware. It's therefore great to see people actually working with the machines and building new ones.
Or connect with your social account:
New here? Create an account