Step 5: Wire It All Up and Stuff It in a Box

The connections on the Arduino are
pin 0 - TX from the GPS
pins 3,4,5,6,7,8,9 - These connect straight across from the Arduino to the relay board/shield. Please note that you cannot use 2.54 mm spaced header as there is a gap on the Arduino between pins 7 and 8 and it just won't fit nice.
  pin 3 goes to relay 8
  pin 4 to relay 7
  pin 5 to relay 6
  pin 6 to relay 5
  pin 7 to relay 4
  pin 8 to relay 3
  pin 9 to relay 2
  pin 10 would have gone to relay 1 - but I blew that relay up on the first day (best to pay heed to the disclaimers)
  pin 11 to select button
  pin 12 to advance button
gnd - A connection to ground on the Arduino board is required to each of the two buttons and the GPS
5 volts - to vcc on the relay board
3.3 volts to power on the GPS

Power to the Arduino is +12 volts from a PC power supply
Power to the relay board is +5 volts from the PC power supply

At this point I jammed the whole mess into a small box I picked up at the dollar store.  Had I been more patient I am sure I could have found a similar box filled with crap at the dollar store for the same price - but I opted for an empty one.  The biggest reason for the box - to stop me from dropping my Arduino on top of any stray volts or wires.

The buttons that I haven't talked much about yet are just simple push buttons that release when you let go of them.  one wire goes to ground, the other to the pin on the Arduino.  I use the Arduinos built in pull up resistors so no extra parts required.

The 8-relay board had a jumper I disconnected so I could use external power.  I tap 5 volts from the Arduino to VCC on the relay board and power the relay board with separate +5 and ground from an old computer power supply. The same supply I get 12 volts from to run the Arduino.

<p>The machine goes from dark to lights right up then the scores all reset to 0 and it starts counting up until they all read out what the current date/ time is. Complete with all the bells you would have heard it you were able to play the game to those scores. At least it used to. I have taken the Arduino/GPS out for now. I plan on re-doing the clock idea but without having to hang the GPS out the window. It gets cold in Ontario during the winter if you leave the windows open.</p>
<p>What happens when the alarm time comes and the pinball machine comes on? is there a bunch of buzzing &amp; bell ringing?</p>
I have to agree with the first fella, if you would have shelled the unit just to make an accurate clock... you might have well used a &quot;Space Invaders&quot; console. Nice hack.
I almost thought you had made permanent changes to Bally Wizard, then noticed you were a collector (a collector wouldn't do that, right?), then read where you specifically noted that no changes were permanent. Nice instructable and thanks for the minor heart attack!
Technically the Wizard is my wife's game. No way can I make any changes aside from the occasional new light bulbs (which I noticed in my video I need) and rubber rings :-)
Oh! You are so fun! I think you are so clever to do this. Cool cool cool.
Thanks, I just did!

About This Instructable




More by alanamon:4 way/8 way switchable joysticks for arcade or mame using analog thumbsticks Securely and secretly stick that note on someones back Connect as many batteries as you need without a battery box 
Add instructable to: