Basic Finish Line Hardware Design

Build for less than $10
NOTE: As of Febuary 10, 2004, this project is undergoing a significant revision. With the availability of the PIC 16F88 chip (pin compatible with the 16F628) it will be possible to have stable RS-232 communications without using an external crystal. This will free up two more pins, allowing all of Port A to be used for input.

Whats so cool about that? Well for one thing, this design will be able to support a track of up to 8 lanes with only the extra cost of the additional lane sensors!

Another thing the 16F88 will allow is the (eventual) use of a bootloader, eliminating the need to have a chip programmer, or pins dedicated to ICSP, in order to upgrade the firmware. Instead a bootloader will allow you to download new firmware from the PC using the same RS-232 interface connection already used for sending up scoring info.

Other things in the works are a conversion to the JAL language for the firmware, to make it easer for people to understand and modify if they desire.

I will soon be able to offer preprogrammed chips, and I'm looking into getting PC boards made as well.

In addition, there will be optional features and cost saving options, as well as optional enhancements that can be added if you desire. For example, in every case where there are headers (J1 to J4) you can, to save money, solder wires directly into the circuit. Or for increased flexibility, keep the headers.


This is the schematic for a basic PIC 16F628 based finish line.
Major Parts: (Prices are from www.glitchbuster.com)
PIC 16F628$2.78
20 MHz Crystal with caps$0.78
MAX232$1.79
7805 +5v regulator$0.35

basic_finish_line_schematic_sm (17K)

Click on diagram for larger version
J3 pins 1 to 6 connect to the phototransistors. Since the pullups are on the board, you only need to connect the line to the phototransistor, and connect the other side of the phototransistor to ground. (Checking the polarity, of course.)

J1 connects to the 9 to 20 volt DC input power source. (Usually a wall-wart.)
J2 connects to the start switch (or optionally a reset button if no start switch is used.)
J3 pins 1-6 are a 6-pin header to which the cable to the sensors is plugged.
J4 connects to the Ready LED.

Also this diagram and board don't show the in-circuit-serial-programming connections.

This is a sample board layout:
basic board sample basic_board_pcb_template_sm (13K)

Click on image for larger version


These schematics and board layouts were done using the freeware version of CadSoft EAGLE.

My Main Pinewood Design Page has some different designs, including a time saving shortcut of spending a little more and using a prebuilt Olimex protoboard.

The PC Software Interface Protocol for communicating with Race Management Software on a PC is documented here.