Header.jpg (20350 bytes)

Pack 180's Pinewood Derby
Finish Line and Software

pinem1.gif (12147 bytes)

This page describes our new finish line and gives you information on how to build a 4 lane finish line for your Pack.  Total cost can be less than $25 if you shop around for parts or know someone who has a junk drawer with electronic components.  All the parts are very common and easy to come by, but you do need to have the ability to program a 22V10 PAL with the JEDEC file that is provided later on this page.  The PAL is the thing that makes this project simple and low cost.  Programmable Array Logic enables complex logic that would normally require many ICs to be placed into one IC.

This finish line indicates the first, second, and third place finishers by lighting one, two, or three LEDs.  The logic also accounts for ties and will indicate these if necessary.  Construction details can be found below.

We also have pinewood derby software that we are working on to run our double elimination races.  Preliminary copies can be found in PWDERBY.ZIP on this web site.  There are two versions, one for tracks with 3 lanes and one for 4 lanes.  This is currently a work in progress.  It's a DOS version of the program that must run in a DOS window.  We are currently converting it over to a Windows-based 32-bit application which will also interface direct with our finish line through the computer's parallel port.  Look here for future updates.


First a description:

Here is a picture of our old 4 lane finish line made with mechanical switches and pinball machine relays.  1950's vintage we think.  It's been acting up a lot over the last few years and has been difficult to set up and align.  Certain lanes always seemed to have the advantage because of the mechanical switches used and tripped by the cars!  The relays are used like flip flops.

OldFinishLine.jpg (37731 bytes)

Below is a picture of our new, fully electronic, finish line.  Light beams replace the mechanical switches and digital logic replaces the old-fashioned relays.  It utilizes infrared sensors and PAL based logic.  All the electronics are in the small gray box hanging on the side of the finish line.  The infrared photo sensors are in the track and the infrared emitters and LED finish indicators are in the "tower".   There are three LEDs for each lane.   First place is indicated by one LED being on, second by two, third by three, and last or fourth place stays dark.  Ties are also displayed, for example, a first place tie would light one LED for both first place lanes, the next place would light three LEDs, and last would be dark.  This works up to a four way tie.  With a 1.544 MHz oscillator we have never seen a tie nor have I been able to simulate one by breaking the light beams.  It can only be done by either slowing the clock way down or wiring switches to simultaneously trip multiple lanes.

FinishLine.jpg (43886 bytes)

Construction Details:

The schematic for our 4 lane finish line is available in this PDF file.  The PAL equations, JEDEC file, and compile results are in this PAL source ZIP file.  Thanks go out to Jay Gerbehy for providing a modified version of his Pack's 3 lane PAL equations.

Only three ICs are needed for this project because all the logic is contained in the PAL.  The other two ICs are a TTL clock (< 1 MHz or so, speed is not critical) and a comparator for the IR sensors.  This allowed it to fit into a small project box with lots of room to spare.

inside.jpg (25500 bytes)

Construct-guy.gif (6090 bytes)

Construction can be done in a myriad of ways, I'll outline how I did it though.  You'll have to get the parts list from the schematic, I will explain a few parts below though.

That's it for the parts, on to the building.   I bought a prototyping board (Radio Shack 276-150) PC board that has copper patterns etched on the back to make power hook up and many of the connections easier.   You could wire wrap it, but I wanted it to be more durable for the long haul.   The mechanical nightmare we used to use had to be over 20 years old and still worked (kind of) so I wanted this new electronic judge to last even longer.

I installed the ICs in sockets on the board and soldered everything else directly to the PCB.  I installed the power switch, power LED, and reset switch on the electronics enclosure.  The batteries, four D cells, are connected via a pig-tail lead.  Four D cells have more than enough staying power.   I could have gotten away with AA cells.

I decided to use connectors on the box that holds the electronics so that it could be easily separated from the track and finish for storage.  I used a 20 pin dip (ribbon cable type connector) to connect to the finish which has the IR emitters (and their associated 47 ohm resistors) and the place indicator LEDs (and their resistors).  I used a DB9 connector for the connection to the track IR detectors.

I added an additional diagnostic feature to my circuit which is not on the schematic.  I connected the output of each comparator to a small LED (and 300 ohm resistor in series) mounted in the enclosure so I could test the status of each IR pair for alignment purposes.  So the battery would not be drained further by an additional LED for each lane, I installed a momentary push button switch which needs to be pressed in order to use the diagnostic LEDs.  It's a frill that you might want to add to yours, but I have not found it to be necessary during set up, the IR pair I'm using has great range and is easy to align.

One more thing I've thought of adding is a diode on the supply feed line, something like an IN4002, so that if the batteries get plugged in backwards accidentally the diode will protect the electronics from getting fried.  It'll bring the voltage closer to 5V from the 6V batteries also.   Suppose you could also power it with an AC adapter, but where we race extension cords would be a problem and batteries are more universal.  I'd be afraid someone would plug in a 24V power supply instead of a 5 or 6 volt one.

Other than make sure that the detectors are perfectly in line so that each lane is equal and the building of the finish tower that houses the emitters and place indicator LEDs (see the mechanical drawing of ours), that's about it.  Sorry I don't have time for a detailed and fully illustrated step by step instruction list, feel free to email me if you have any questions though.

Pack 180 4 lane finish line, Copyright © 1999 by Dan Roman and Jay Gerbehy.  Permission is given to build and use a finish line based on this design to Boy Scout Troops and Cub Scout Packs.  Commercial use or sale of this design is prohibited.  Commercial use or sale of finish lines based on this design is also prohibited.

 

Back to Pack 180 home page

Updated: 10/06/2020