Arduino Uno and Race Coordinator
This document describes the pin assignments for the Arduino Uno used from Race Coordinator, and a suggested sensor setup for the Arduino board. These pin assignments should be the same on any of the Arduino boards but the interface has only been tested on the Arduino Uno. The Arduino Uno has sufficient pins to fully support a 4 lane circuit.
In addition to an Arduino Uno board and a version of Race Coordinator which supports the Arduino interface, you must also upload the Race Coordinator lapCounter.ino sketch to the Arduino board. The process to install the Arduino environment, required drivers and upload instructions are detailed on the Arduino getting started page at http://arduino.cc/en/Guide/HomePage. If you follow these instructions on the Arduino site simply open the lapCounter.ino sketch instead of blink sketch suggested in the tutorial.
4-7 Lane sensors for lane 1-4 Pins 4-7 are the inputs from the track sensors, to record laps from each lane.
Track lane relays lane 1-4
If a relay board is connected then these pins will enable Race Coordinator to control power to each lane.
12 Track call button Connect a push to make switch to pin 12 if a track call is required.
If starting lights are required then LED’s should be connected to these pins via a suitable resistor. The supply voltage is 5v so for a typical LED a 150ohm resistor would be needed.
Obviously for a 1, 2 or 3 lane track you would simply use the correct number of pins and leave the rest unconnected.
The diagram below shows how a typical 2 lane lap counter can be connected to the Arduino Uno. The example shows the use of 2 Photo Transistors mounted in the track for recording the laps; however alternatives could include Light Dependent Resistors or Slotted Optical Transistors. In addition to the circuit you will also need a light source above the sensors to ensure sufficient light to correctly detect cars. This can be a simple desk lamp or light bridge.
Race Coordinator - now interfaced with DS Equpment
I have been testing for Dave from Race Coordinator to get his software to operate with DS 300 lap counters and the Stop/ Go Box. It took quite a bit of testing and work on the software to get the Race Coordinator software to correctly count laps and record lap times. Dave & I spent a few weeks to get to the RC and DS working together.
The end solution was to let the DS box supply the information and control the race protocol. The Race Coordinator controls the Race grid and heat rotations RC has many options on how to organize and run races - all can be configured by the user.
This is where Race Coordinator is a great solution to Race Managent or Coordinator - as the name indicates.
RC has an excellent recording system . Part laps can be added for timed heats and results are editable by exporting to an MS Exell spreadsheet.
Races are automatically recorded ready for exporting. The result can be removed if not required .
The driver list can be put in order of seeding which can then be organised into groups of similar drivers or grouping car types.
There are many other features.
Race Coordinator now can be used as a companion to DS by using the DS to control track power via the DS 61 stop & go boxes.
Fuel races are not available with the full DS interface as yet . However Phidget interface for that may be developed for that.
Dave has added complete Phidget power control and that may the option you want fuel races.
The program has to be configured to allow full DS control . I have added screen shots to help with the configure procedure.
Download the software from the Race Coordinator site .
Site link http://www.racecoordinator.net/download.html
Then select the Beta version (test program) and will it be:
03.11.2012 Race Coordinator v18.104.22.168 or a higher end number as new versions are released.
The program can be run without DS or track connected in Demo mode to try it out.
There are very good Wizards for the set up and a full range of video tutorials .
It does take a little learning but it is well worth the effort . Below are the screen shots of how I have configured the program. Many of the configurations can be varied by the user but some can't for DS operation.