(Topic ID: 246231)

Arduino pinball project

By Prospekteur

4 years ago

Topic Heartbeat

Topic Stats

  • 88 posts
  • 20 Pinsiders participating
  • Latest reply 10 months ago by Sandman454
  • Topic is favorited by 30 Pinsiders


Linked Games

Topic Gallery

View topic image gallery

IMG_9843 (resized).JPG
IMG_9822 (resized).JPG
IMG_9829 (resized).JPG
BSTH01 (resized).jpg
PCB_DriverBoard (resized).jpg
087cda2973f6fea49e5a9c016063150e (resized).png
pizutti Kopie (resized).png
thumbnail (resized).jpg
Playfield_before_clearcoating (resized).jpg
Lazout3D (resized).png
thumbnail (9) (resized).jpg
thumbnail (6) (resized).jpg
Layout_before clearcoating11 (resized).jpg
Playfield_Step1_hell (resized).jpg
thumbnaisdadasl (3) (resized).jpg
Raw_Layout_Whitewood (resized).jpg
There are 88 posts in this topic. You are on page 1 of 2.
#1 4 years ago

Im new here and this is my first post. I have bought a old devil riders playfield. I want to build my own homebrew pinball with some Arduinos and a homemade driverboard. I have a lot experience in building electric circuits (etching pcb, soldering). I had done some arduino projects before, but Im not very good in programming. So would be nice to change some ideas. My plan is to post the progress of my pinball machine here

.....yesterday Ive tested the solenoids, and luckily they all work fine.

49fe9619c3bf2f936c3d3c5d9e1fd1ab5831323f (resized).jpg49fe9619c3bf2f936c3d3c5d9e1fd1ab5831323f (resized).jpg
#2 4 years ago

Today Ive worked on the cabinet.....Ive also created a sketch of all the changes on the playfield. I will add some ramps around the upper playfield and will only use one of the mechanical ramps to the upper playfield. The other mechanical ramp will o an other way at the end and will activate a special mechanism. Im in the very beginning and have a lot of ideas. The devil riders playfield will look very different at the end, thats for sure. Also the theme will be whole different......

IMG_20190629_201838 (resized).jpgIMG_20190629_201838 (resized).jpg
#3 4 years ago

First signs of life.......

#4 4 years ago

Sounds like a fun project! Did you have a look at the Arduino Pinball Controller (https://github.com/AmokSolderer/APC)? You can also use it with the Mission Pinball Framework (https://missionpinball.org) if you want a full software framework with tooling.


#5 4 years ago

@Jabdoa: Thanks for this great link. Im definitely interested. Im reading about the APC at the moment. Looks like it is a great tool. Im not sure if I will build this board or if I will buy it. Seems like you cant buy this board. I have no experience with SMD solderung for now. Just to be honest.......Im scared of SMD and I love the old school parts. But eventually I five it a try

#6 4 years ago

Building it should not be that bad. Have a look here: https://pinside.com/pinball/forum/topic/arduino-pinball-controller/

1 week later
#7 4 years ago

First signs oft life of the DMD......

#8 4 years ago

Well done.

#9 4 years ago

Worked further on my project. Ive built two prototype driverboards. The first driverboard that ive built, could control 6 solenoids. But I wasnt happy with it. My actual prototype has 14 channels to control 14 solenoids and other mechanisms. I cant wait to connect all channels to my pinball. Will post a video from the first tests soon
IMG_20190711_204356 (resized).jpgIMG_20190711_204356 (resized).jpgIMG_20190716_201856 (resized).jpgIMG_20190716_201856 (resized).jpgIMG_20190716_202039 (resized).jpgIMG_20190716_202039 (resized).jpg

1 week later
#10 4 years ago

New actions are available now. Slingshots are activated and a solenoid shoots the ball to the plunger when falling down......

1 month later
#11 4 years ago

Now all mechanical parts are working great. Im wiring everything complete new at the moment and try to programming my software to activate 6 different flippers with 2 buttons. Thats a really hard task at the moment, but I will find a solution........

Will post a video soon.....

IMG_20190828_193022-1 (resized).jpgIMG_20190828_193022-1 (resized).jpg
#12 4 years ago

.......inside the pinball Maschine (hardly under construction

#13 4 years ago

Now the machine has an plunger. All the mechanics is controlled by the arduino now. Next I will change the playfield. It will be a whole other pinball machine at the end. The upper playfield is missing too at the moment.

Some new gameplay.......

#14 4 years ago

I changed the rules to pull the ramp down. You have to hit all 3 targets in front of the ramp and then hit the middle target at the upper playfield after that. In my opinion it was too easy in the original rules to pull the ramp down. You only had to hit the 3 targets in Front of the ramp to activate the ramp........and this is very easy.......too easy.

Heres an example.....

#15 4 years ago

Startup after ball is out.......

#16 4 years ago

Great job! I sent you a private message...

#17 4 years ago

@Paolux: You have some messages in your box. You can also asking here......so we can learn all a bit from this thematic, and eventually other people here can give us some ideas for our projects

#18 4 years ago

Update.....: -Upper playfield was built from scratch. The old glass layer was broken, so I had to rebuilt the glass it. Next step is to activate the upper playfield flippers. The outlane flippers now working perfect......if the ball rolls over the rollover contact at the left or right outlane, the player have one shot with the outlane flipper to saving the ball.....

thumbnail (1) (resized).jpgthumbnail (1) (resized).jpgthumbnail (2) (resized).jpgthumbnail (2) (resized).jpg
#19 4 years ago

was trying to build a housing for my kicker. Im working mostly with wood and 3d printing. Metal is not my primary material to work. And since today it is really fun to work with metal. I will definitely do it more in the future. I think the metallic look of ramps for example does has a lot more character than plastic 3d printed ramps. My first attempt is not the best. But if I sanding and polish the metal a bit, I think it will look not that bad. Will buy a bit better tools for metal working in the future

My main steps today.....

-cutting out the main shape
-bend everything in wanted the wanted form
-soldering the edges together
-fixing the kicker into the housing
-making some more bended metal blade to cover the open site of the housing
-installing the activation contact on the housing (no image)

....tomorrow I will implement this into my playfield. The kicker will activate the ramps after all drop targets in front of the ramps are shot down
thumbnail (10) (resized).jpgthumbnail (10) (resized).jpgthumbnail (12) (resized).jpgthumbnail (12) (resized).jpgthumbnail (13) (resized).jpgthumbnail (13) (resized).jpgthumbnail (14) (resized).jpgthumbnail (14) (resized).jpgthumbnail (15) (resized).jpgthumbnail (15) (resized).jpgthumbnail (7) (resized).jpgthumbnail (7) (resized).jpgthumbnail (8) (resized).jpgthumbnail (8) (resized).jpgthumbnail (9) (resized).jpgthumbnail (9) (resized).jpg

#20 4 years ago

Today I built a New scoop. The one Ive posted yesterday I was not satisfied anymore today. So today Ive built 3 different ones. One oft it you can see in the post. Today Ive ordered a table scroll saw. I will definitely getting more in building things from metal
IMG_20190912_204039 (resized).jpgIMG_20190912_204039 (resized).jpgIMG_20190912_202757 (resized).jpgIMG_20190912_202757 (resized).jpgIMG_20190912_192503 (resized).jpgIMG_20190912_192503 (resized).jpgIMG_20190912_191752 (resized).jpgIMG_20190912_191752 (resized).jpg

IMG_20190912_202840 (resized).jpgIMG_20190912_202840 (resized).jpg
#21 4 years ago

The top scoop and side scoop is now implemented. If the ball roll in the top scoop, it will make its way beneath the playfield through a pipe and gets kicked out from the side scoop. This process will also activate the ramps (ramps down) if all drop targets in front of the ramp are hit.

IMG_20190914_213838 (resized).jpgIMG_20190914_213838 (resized).jpgIMG_20190914_213908 (resized).jpgIMG_20190914_213908 (resized).jpg
1 week later
#22 4 years ago

Great thread! Thanks for sharing every step, documenting and inspiring others to do the same.

#23 4 years ago

Did the first part of a ramp yesterday, that I want to implement on my pinball.......
IMG_20190921_172657 (resized).jpgIMG_20190921_172657 (resized).jpgIMG_20190926_080644 (resized).jpgIMG_20190926_080644 (resized).jpg

#24 4 years ago

.......added an magnet yesterday. Ive printed a housing for it. The housing also will light when activated......
thumbnail (1) (resized).jpgthumbnail (1) (resized).jpgthumbnail (2) (resized).jpgthumbnail (2) (resized).jpg

thumbnail (3) (resized).jpgthumbnail (3) (resized).jpg
2 weeks later
#25 4 years ago

Ive tested my middle playfield magnet yesterday. It works for about 15 seconds, after that the relay wich is driving the magnet began to smoke. Ive pulsed the magnet with an 500ms intervall. Does someone have a few ideas or tips about wiring the magnet to the relay. The relay gets activating by a arduino 3v signal. After that the relay make the way free for 48v from the power adapter to the magnet. Relay only connects the GND from the power adapter to the magnet. Plus is connected directly from the power adapter to the magnet. Do I have to connect some diodes as it is with the solenoids? Here is a little sketch and a video of the working magnet (for about 20 seconds).

thumbnail (resized).jpgthumbnail (resized).jpg
#26 4 years ago

Ive changed the relay with an mosfet and added an diode between Vcc and Gnd. Now it seems to work. But I have the feeling that the magnet isnt that strong as before???

#27 4 years ago

Ok now the Mosfet is smoked up too. After I increased the pulsrate to 300ms it gets damaged

#28 4 years ago

Usually I would expect to PWM a magnet much faster. 30-50% duty at 1kHz. For instance 1ms on and then 2ms off or 1ms on and then 1ms off. Otherwise the current will be much too high because the magnetic field has been already established.

#29 4 years ago

Now Ive modified my magnet and added an homemade iron core. Now everything works fine. I can pulse the magnet to 100ms without damaging the mosfet. The effect of ball-distortion is even a lot stronger now and is a lot of fun to play

Here a video and a picture of the modified magnet.......

coremagnet (resized).jpgcoremagnet (resized).jpg
1 week later
#30 4 years ago

hello and congratulations for the project, I'm also building a pinball similar to yours, always starting from a Zaccaria pinball machine, I wanted to ask you if the flippers coil depend on arduino or have direct power, and what scheme you used. I also wanted to ask you if you had used a snubber circuit to prevent inductive kick solenoid

#31 4 years ago

For now I didnt use snubber circuits for now....but I definitely will build this into my system. I smoked up, three Mosfets till now. But all my coils are connected to diodes to prevent that the current which is coming back from the coils dont damage your arduino for example. My coils are original Zaccharia coils. The arduino only gives the signal HIGH/LOW with 5v to a Transistor or a relay which activating the 48v to the coils. So you need a 48v Power supply for your coils. I dont know what coils you have......in my Zaccharias there are 48v driven coils. You can find everything you need to know, from the following links




#32 4 years ago

Sanded the playfield yesterday. The Zaccharia colours are for real the best qualitiy. Its really hard to sand this colour down. I filled all the scratches and uneven areas on the playfield and began sanding.

paolinux : If you build the snubber circuit, please let me know how you connected it. When I finished the colouring of the playfield, i will work further some electronic stuff. So one point will be this snubber circuit

thumbnail (5) (resized).jpgthumbnail (5) (resized).jpg
1 week later
#33 4 years ago

I smoked too many mosfets, at least a dozen I think. And then it stopped.

I'm embarrased to say it was mostly a simple (10 ohm) gate resistor. I figured I wouldn't need one because the mosfet isn't directly conneced to the MCU. Wrong...

I had another misconception. My PSU only provided 5A at 48 volts (~240 watts), so I figured the power through the mosfet couldn't exceed 5A. Wrong again, the PSU provided 48V to the 1ohm coil for long enough to blow the mosfet (48 * 1 = 48A)... That was cured by switching to a much more sensible 24V supply (24 * 1 = 24A). Basic math, if you think about it

Been rock solid since, especially since I added fuses to the mosfet boards to protect both the mosfets and the coils from software errors. Works fine, if I block a flipper with one hand and press the flipper button, the fuse blows.

#34 4 years ago

oxowhiz : Thats some great advices. Definetely will check the 10 ohm gate resistor method. The idea to use this fuses to prevent blowing the Mosfet and coils is great. I want to add this to my circuit too. Can you explain a bit more detailed how you connected the fuses to the mosfet boards?

#35 4 years ago

In my system's architecture the mosfets boards are driven exclusively by the 24V power supply. The fuse is connected between the positive power supply and the board. The solenoids receive their power from the mosfet boards so they are also protected. It's important to use fuses because mosfets have the unfortunate property to short circuit when they blow which will sure kill the attached coil. (unless it's designed to be permanently activated, most aren't)
powernode03-schematic (resized).pngpowernode03-schematic (resized).png

powernodes (resized).jpgpowernodes (resized).jpg
#36 4 years ago

Wow!!! Your boards looking very professional Great work! Thank you very much for the shematics

#37 4 years ago

Thanks! That's nice to hear. (took me 6 months for just that board

#38 4 years ago

The irl540 is only rated at 28A with 77mohm. There are lots of mosfets that have higher drive capability and lower resistance. In my circuit I use the IRF3710ZS. This is a 54A with 18mohm version. Never blown one up at 48v.

Nice PCB, and very sturdy connectors.

#39 4 years ago

Very interesting project, I will follow this topic

#40 4 years ago

I actually used the IRL540NBPF which goes up to 36A, but even 54A would probably blow because a 0.8 ohm (AC flipper) coil draws 60A at 48V! Later I switched to non-logic level IRF540xx & IRF530xx (for the lighter score counter coils).

I made a short video of the underside of the playfield where you can see the opto/mosfet boards in action:

The pluggable screw connectors are great. Sadly, I never got along with crimping tools

#41 4 years ago

Im doing the painting right now. Had do sand down my first try. The old clear coat that ive used was crap. So now Im on layer 5 of pure white. To get a nice plane playfield without scratches is a lot harder than I thought. Especially with this old zaccaria plafield. It had a lot of scrapes and uneven areas. When I finished the paintings I will go further on with the electronics.
IMG_20191109_121859 (resized).jpgIMG_20191109_121859 (resized).jpg

1 week later
#42 4 years ago

Changed all inserts with new ones now.............will post more pictures when ive sanded everything down .....
IMG_20191121_230132 (resized).jpgIMG_20191121_230132 (resized).jpg

#43 4 years ago

Impressive, but shouldn't you have taken all these devices out? Surely makes sanding easier I'd think.

#44 4 years ago

Hello - I just discovered this thread / project, and really like what you have done so far, and that you are sharing the different electronic considerations and so on. I dar from understand everything of it, but i still enjoy it.

Looking forward to seeing where it all ends.

Any hints about the Theme of the machine?

#45 4 years ago

oxowhiz : you are completely right. I was a bit lazy and only taken out parts that absolutely have to go to be able to sanding this playfield. Tomorrow I will sand all down with the maschine. After that I will polish everything again and do the clearcoating after that. But you motivated me now to take out the remaining parts for the further steps

@phantasize: Thanks for your interest and nice words about this project. For now I dont give too much hints about the theme. But soon I couldnt
keep it secret anymore, because I will add some graphics to the playfield. I dont know how much my theme is known in the USA or in denmark. Here in germany that were the funniest movies in my youth for me(Im 41 years old). I think it should be known in denmark too. Soon we will see........

#46 4 years ago

........some first sketches for my new pcb Layouts. They are not finished yet. But my plan is to etch them next week .

IMG_20191118_210332 (resized).jpgIMG_20191118_210332 (resized).jpg
#47 4 years ago

Just following along. Great thread, keep up the good work and posts.

#48 4 years ago

Following along as well, what a cool project!

#49 4 years ago

@TreyBo69 and Iwasthebruce: Thanks for your interest in this project. I will do my best to disappoint nobody here with the results

#50 4 years ago

it is about of Bud Spencer and Terence Hill?

Promoted items from Pinside Marketplace and Pinside Shops!
From: $ 189.00
Hey modders!
Your shop name here
There are 88 posts in this topic. You are on page 1 of 2.


Wanna join the discussion? Please sign in to reply to this topic.

Hey there! Welcome to Pinside!

Donate to Pinside

Great to see you're enjoying Pinside! Did you know Pinside is able to run without any 3rd-party banners or ads, thanks to the support from our visitors? Please consider a donation to Pinside and get anext to your username to show for it! Or better yet, subscribe to Pinside+!

This page was printed from https://pinside.com/pinball/forum/topic/arduino-pinball-project and we tried optimising it for printing. Some page elements may have been deliberately hidden.

Scan the QR code on the left to jump to the URL this document was printed from.