Skip to main content

I/O Board


Now I've shifted my focus to building a I/O board for all the many lights and small devices used on a pinball machine.  In order to reduce the amount of space I would need I opted for Darlington Arrays which are many darlington pairs (remember those?) in a nice DIP package. I am using ULN2003 darlington arrays.  They have 7 outputs and I wished they had 8 outputs then it would line up so nicely with my shift registers.  Unfourtunately, they do not and my arrays and shift registers are staggered. 

Initial Testing of the I/O Board controlling some LEDs via a IDE cable from a computer.

The I/O board uses shift registers to control all the outputs and darlington arrays to sink the current.  It is important to note that they sink the current and do not drive them.  The 'outputs' of the array are hooked up to the LED which is then hooked up to the positive voltage.  The darlington pairs inside the chip, when turned 'on', allow current to flow to ground hence they 'sink' the current and do not drive it.  MOSFETs in particular use this type of setup.  I discovered that some of the problems I was experiencing with my solenoid board was that I had initally set it up the other way around.  The MOSFET before the 'load' of my solenoids instead of after in the circuit.  This is not so much a problem with transistors but I will try to use them in that sort of configuration in the future so as to avoid potential problems.

Comments

Popular posts from this blog

MOSFET Driver Board

Final version?  I hope so.  I have gone back and redesigned my solenoid driver board several times.  In previous versions I attempted to offload some of the logic from the microcontroller.  For example, I used a Schmitt-Trigger [74HC14] with an RC network to provide a single pulse to the solenoid.  Also, I added in a PWM signal to set the average voltage 'seen' by the solenoid.  This worked but was very limiting to have the pulse length hardwired in and it was difficult to adjust without more expensive precision potentiometers. I chose to simplify my circuit to make it a general MOSFET driver for flexibility.  Since I have more than enough space inside my pinball cabinet, it was not a problem to have the extra boards.  The boards were designed to have 4-channels since by default I would get a minimum of 10 boards for the same price from Seedstudio.  Also, the cheapest board option was restricted to 10cm x 10cm otherwise the price balloons ...

Pinball Cabinet Beginnings

I was getting to the point where I really needed to build on something. I have numerous pinball parts but have nothing to attach them to. I managed to find some pinball plans for a Williams Widebody pinball machine. All the measurements are in mm sadly even though all pinball cabinets are in inches. I converted and change it all to the nearest quarter inch. Well sort of. The guy who measured this was intending on using 45 deg cuts in the corners. My skill saw is too cheap for that so I changed the measurements for butted joints. The interior is set for a 23.5" wide playfield. The length of the cabinet is 51.5" in total. I used 3/4 inch plywood so the bottom would be 50" long for example. You can pretty much dimension the rest from there.  I did get a little chipping of the plywood but I went out and bought a blade with more teeth for finer cuts. It's a 60 tooth saw blade and my skill saw doesn't really have enough power for it so I have...

ATX Breakout Board

Last November, I fried my 'lab power supply' that I made from a computer PSU.  I was testing my solenoids and the stress was just too much for the PSU.  The mistake I made was rapidly turning on and off my solenoid which likely resulted in voltage transients (spikes).  Since the PSU does have a current limiter, it was likely the constant voltage spikes that caused the damage.  There are various methods to suppress voltage transients such as by-pass capacitors and zener diodes.  In particular solenoids and other inductive loads experience these voltage spikes, hence my no longer functioning bench power supply. ATX Breakout Board I could have just rebuilt the same power supply by adding binding posts etc to the PSU housing but after searching the internet an ATX power supply breakout board seemed a popular option.  The main advantage compared to my old power supply was the addition of fuses on the outputs.  The extra safety this provides is perf...