Scalextric Sport Race Start Controller using PIC16F627A
I developed this after my nephews got a Scalextric Sport slot car racing set for Christmas. The set included a lap timer and counter but one thing that was missing was a way to start a race. Having someone say “3-2-1-Go” wasn’t really doing the job, especially as it was easy to go just after “1” and before “Go” This works in a similar way to the lights used in F1 motor racing with five lights illuminating sequentially, holding for a random time before all lights turn off to signal the race start.
I put together a battery operated version one afternoon between Christmas and New Year, it took about four hours from concept to completed hardware in a box. [see original] It worked quite well but we still had the issue of ‘jump starting’ so I decided to develop things further.
I had four key requirements for the design.
- It should work with the standard Scalextric power-base (part C8217), throttles and transformer pack.
- It had to be simple to use.
- Powered from the Scalextric power supply, no extra transformers or batteries.
- Not require any alterations to the Scalextric power-base, throttles or cars.
I know that there’s a lot of computerised solutions that will do all kinds of smart things out there, including controlling the start of a race, but not everyone wants or needs that level of complexity. The device described on this page is easy to use, cheap to build and doesn’t require any permanent modifications to the original Scalextric setup, although it can be hard wired in to permanent setup should you wish to do so.
Using the controller is very simple. To start a race simply press the start button. The controller than waits for both hand throttles to be released before starting the countdown. During the countdown the LEDs illuminate at 1 second intervals until all five LEDs are on. The start of race is signaled when the LEDs extinguish after a random delay of between 0 and 3.5 seconds.
The start controller detects a jump start by sensing the hand throttle; if it’s operated during the countdown the controller will either ignore it, display a Jump-Start condition on the LEDs after the countdown completes, or abort the countdown and display Jump-Start condition on the LEDs. This action is determined by the operating mode which is user configured.
Operation and modes
- Mode 1 – Turn track power off during start sequence, restore power at ‘Go’ signal.
- Mode 2 – Normal start countdown, no jump start detect.
- Mode 3 – If jump start detected during countdown, track power is cut, start sequence aborts and jump start condition is displayed on LEDs..
- Mode 4 – If jump start detected during countdown, start sequence continues and then one second after ‘Go’ signal Jump start condition is displayed on the LEDs.
Graphical representation of the four modes are shown in the PDF document here.
If the Controller is used on its own without the PSU described here then modes 1 and 2 behave in the same way. Reference to the track power is also only relevant when used with this PSU. The Controller still functions in all other respects as described.
To start a race countdown, press and release the start button. LEDs 2 and 4 light if the controller has detected an open throttle. Countdown commences when both throttles are released.
To change modes, press and hold the start button for 3 seconds. When the controller goes to mode change setup a single LED will light indicating the current operating mode. Repeatedly pressing the start button will cycle through the four modes. When the desired mode is selected press and hold the start button for 3 seconds until the LED turns off.
Operating modes can be changed at anytime, except when a start is in progress. The mode is saved to non-volatile memory so the controller will start up in the mode that was selected when it was last used.
Full details of the Race Start Controller with schematics and PCB layouts are provided below. Click on the images for full size view.
For more detail: Scalextric Sport Race Start Controller using PIC16F627A
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
Current Project / Post can also be found using:
- игра микроконтроллер pic16
- microcontroller game
- microcontroller video game