XC-5 and rFactor
Wednesday, 25 November, 2009 - 17:13 — larry
Description:
Tags:
Description:
YouTube video: http://www.youtube.com/watch?v=QKp0bWfGU7w
In the video: Racing simulator rFactor and XMOS XC-5 development kit.
How is it done: There is a custom plugin added to the game that gets all telemetry data every frame (up to 90fps). The plugin extracts RPM information and sends it down a virtual RS232 COM port, which gets into the XC-5 board via the USB cable. There is a little XC program running on the XC-5 that drives the LED circle with PWM based on the RPM information. I can't possibly use any more acronyms to look educated.
More information:
- RS232
- Virtual COM port - FTDI D2XX programming guide
- Windows API or your favourite source
- rFactor example plugins and notes
- Thread explaining some issues with rFactor's plugin interface
Downloads:
- BUILDING.txt - instructions on compiling the plugin DLL and XC-5 firmware
- README.txt - this page
- source.tar - source for the plugin DLL and XC-5 firmware
- plugin.dll.zip - rFactor plugin binary (zipped because current xmoslinkers.org doesn't support files gt 512KB)
- firmware.xe - XC-5 firmware binary

Source Files
| Name | Last changed |
|---|---|
| BUILDING.txt | 25-11-2009 18:29:01 |
| README.txt | 27-11-2009 07:59:29 |
| firmware.xe | 25-11-2009 18:22:35 |
| plugin.dll.zip | 27-11-2009 07:59:29 |
| source.tar | 25-11-2009 18:22:35 |
Tags:


