资 源 简 介
TurboScalextric
Control Scalextric / Slot cars via an Raspberry PI and a PCB.
TurboScalextric is a project undertaken as part of CS413: Embedded Systems at
the University of Strathclyde. Its authors are: Matt Reilly, Doug Burnside, Barry Evans.
TurboScalextric uses PWM combined with a N-Channel Power MOSFET (Metal Oxide Semiconductor Field Effect Transistor) to replace standard Scalextric controllers with a Raspberry Pi, allowing speed to be controlled with any joystick supported by the Linux Kernel Joystick API. The project also supports timing laps via an Arduino and custom built light gate using IR LEDs and sensors - This data is transmitted to the multi-threaded controller application on the Raspberry Pi via USB Serial.
Code
Source code of final application as well as prototypes is available at:
Raspberry Pi Code
http://chargedhosting.co.uk/~matt/TurboScalextric.zip
Arduino Code
http://c