Category Archives: Pinball

Pinheck Board REV 5 Prototypes Complete

20140310_135623

Last week I finished the prototypes for the REV 5 Pinheck Board and shipped them to Spooky Pinball. I built 5 boards for testing to make sure this is the final revision before starting the full on production run. These will be in the machines Spooky is taking to the Midwest Gaming Classic. I will also be there encase anyone has questions about the board set.

1393892494599

Second prototype board I finished.

20140327_231107

Test jigs to make sure the boards are made correctly. I am working on a better test jig for the production run that will be fully automated to help speed up the testing process.

20140327_231426

Boards ready to ship!

Pinheck Pinball System REV5 Production Update!

20140226_152320

These are the first 5 test boards to make sure the changes from the REV4 board we done correctly. Since I am pretty sure this is the final revision I ordered the boards on FR4 170TG and ENIG finish. 170TG is higher temperature rated substrate which allows for lead free reflow without scotching the board. ENIG finish is a higher quality finish for the pads over HASL as it tends to be flatter and more consistent which is nicer on the pick and place machines.

20140227_184814

Pinheck board on the pick and place. Currently the machine is only setup to place the passive parts which are the resistors, capacitors, and LEDs. This consists almost 90% of the board parts.

20140227_195333

After the pick and place I manually placed the IC chips and placed it on the intake side of our reflow oven.

20140227_200041

This is what the board looks like after coming out of the reflow. There are a couple bridges on the ICs so I will need to tweak my automatic paste dispenser settings.

20140227_231236

Finished soldering the through hole parts. Wishing I had a selective soldering machine about now!

128×32 DMD Update

The verilog code is almost fully debugged. The demo code that will run on a Parallax Propeller is in the works. Right now the demo is fairly basic. Today I wrote a C program that takes a 4-bit bitmap image and strips out the header and and converts it to a 2-bit image. It then reorientates the data so the image is “correct”. Bitmap images data reads the image from bottom left to top right. This is essentially backwards. So the program corrects this which means less work for the microcontroller and faster transmission of pixels.

Code tweaking on Reset_Vector

So I was still getting glitches on my inputs for Reset_Vector. I couldn’t figure out what was causing it because it would happen randomly and I couldn’t repeat the problem. The false inputs caused issues with ball triggering, score detection, and playfield actions. I figured it had to be glitches on the lines caused by EMF or something on the input driver. I knew it was the input driver cause when a solenoid fired randomly like the pop bumper it would register a hit which means that the microcontroller detected a hit.

To fix this issue I added a simple debouncer routine. Basically it makes sure a input is pressed for at least 2 Kernel cycles before saying that it was a hit. This keeps random spikes from registering as hits.

What it does is read in the inputs into a variable called new_inputs. The new_inputs then gets anded with a variable called old_inputs and the result is the inputs that where held for two kernel cycles. Then the new_inputs is copied into old_inputs for the next cycle to happen.

This system can be easily expanded to 3,4,ect cycles so the debouncer is extremely configurable in its sensitivity.