Skip to content

Commit efc5d89

Browse files
authored
Merge pull request #5 from dmadison/shields
Sim Racing Shield Documentation
2 parents e3fe242 + 13cd8a1 commit efc5d89

7 files changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ Run one of the library examples in the Arduino IDE by going to `File -> Examples
2525
* [Logitech Three Pedal Peripheral (Gas, Brake, Clutch)](http://dmadison.github.io/Sim-Racing-Arduino/docs/logitech_pedals.html)
2626
* [Logitech Driving Force Shifter](http://dmadison.github.io/Sim-Racing-Arduino/docs/logitech_shifter.html)
2727

28+
## Adapters
29+
30+
Open source shields are available to connect the [Logitech Three Pedal Peripheral](http://dmadison.github.io/Sim-Racing-Arduino/docs/logitech_pedals.html) and the [Logitech Driving Force Shifter](http://dmadison.github.io/Sim-Racing-Arduino/docs/logitech_shifter.html) to a [SparkFun Pro Micro](https://github.com/sparkfun/Pro_Micro). The design comes with a 3D printable case and custom board files so that the adapter appears with a custom identity and "Sim Racing" name over USB. You can use these shields to build an inexpensive USB HID adapter.
31+
32+
You can find all of the necessary files in [the project repository](https://github.com/dmadison/Sim-Racing-Shields).
33+
2834
## License
2935

3036
This library is licensed under the terms of the [GNU Lesser General Public License (LGPL)](https://www.gnu.org/licenses/lgpl.html), either version 3 of the License, or (at your option) any later version. See the [LICENSE](https://github.com/dmadison/Sim-Racing-Arduino/blob/master/LICENSE) file for more information.

docs/pages/devices/logitech_pedals.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The 2-pedal peripheral included with the [Logitech Driving Force GT wheel](https
66

77
See the PedalsPrint.ino and PedalsJoystick.ino examples for reference.
88

9+
## Adapters
10+
11+
An open source shield is available to connect the three pedal peripheral to a [SparkFun Pro Micro](https://github.com/sparkfun/Pro_Micro). The design comes with a 3D printable case and custom board files so that the device appears as "Sim Racing Pedals" over USB. You can use this shield to build an inexpensive USB HID adapter.
12+
13+
You can find all of the necessary files in [the project repository](https://github.com/dmadison/Sim-Racing-Shields). Please note that this shield is *not* compatible with the two pedal peripheral.
14+
915
## Connector
1016

1117
| ![DE-9](DE9_Male.svg) | ![DE-9_Female](DE9_Female.svg) |

docs/pages/devices/logitech_shifter.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ The [Logitech Driving Force Shifter](https://www.logitechg.com/en-us/products/dr
44

55
See the ShiftPrint.ino and ShiftJoystick.ino examples for reference.
66

7+
## Adapters
8+
9+
An open source shield is available to connect the shifter to a [SparkFun Pro Micro](https://github.com/sparkfun/Pro_Micro). The design comes with a 3D printable case and custom board files so that the device appears as a "Sim Racing Shifter" over USB. You can use this shield to build an inexpensive USB HID adapter.
10+
11+
You can find all of the necessary files in [the project repository](https://github.com/dmadison/Sim-Racing-Shields).
12+
713
## Connector
814

915
| ![DE-9_Male](DE9_Male.svg) | ![DE-9_Female](DE9_Female.svg) |

examples/Pedals/PedalsJoystick/PedalsJoystick.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const int Pin_Brake = A1;
3636
const int Pin_Clutch = A0;
3737

3838
SimRacing::LogitechPedals pedals(Pin_Gas, Pin_Brake, Pin_Clutch);
39+
//SimRacing::LogitechPedals pedals(PEDAL_SHIELD_V1_PINS);
3940

4041
Joystick_ Joystick(
4142
JOYSTICK_DEFAULT_REPORT_ID, // default report (no additional pages)

examples/Pedals/PedalsPrint/PedalsPrint.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const int Pin_Brake = A1;
3232
const int Pin_Clutch = A0;
3333

3434
SimRacing::LogitechPedals pedals(Pin_Gas, Pin_Brake, Pin_Clutch);
35+
//SimRacing::LogitechPedals pedals(PEDAL_SHIELD_V1_PINS);
3536

3637

3738
void setup() {

examples/Shifter/ShiftJoystick/ShiftJoystick.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const int Pin_ShifterY = A2;
4545
const int Pin_ShifterRev = 2;
4646

4747
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
48+
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);
4849

4950
const int Gears[] = { 1, 2, 3, 4, 5, 6, -1 };
5051
const int NumGears = sizeof(Gears) / sizeof(Gears[0]);

examples/Shifter/ShiftPrint/ShiftPrint.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const int Pin_ShifterY = A2;
3232
const int Pin_ShifterRev = 2;
3333

3434
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
35+
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);
3536

3637
const unsigned long PrintSpeed = 1500; // ms
3738
unsigned long lastPrint = 0;

0 commit comments

Comments
 (0)