SP_Adapter
github.com / robotsrulz
Logitech G25/G27 shifter/pedals adapter to use as standalone device
x
+
%
Digikey
Digikey
Mouser
Mouser
RS
RS
Newark
Newark
Farnell
Farnell

Logitech G25/G27 pedals/shifter adapter

The idea behind this project is to create open and inexpensive USB HID adapter for Logitech G25 / G27 pedals and shifters based on affordable components. Once you bought (or built) your new shiny and awesome direct drive steering wheel you no longer need your old but still working Logitech wheel. But it parts still can be used as standalone device.

I am aware that some shops already sell similar adapters. Unfortunately these devices are quite expensive and not open source. Also I want to practice a bit with STM32 programming :)

Hardware part is based on STM32F042 microcontroller(TSSOP20), Schematics folder contains Gerber files as well as DipTrace source files.

"Stable" firmware for board revisions 1.0 and 1.1:

hse-2.07.dfu

hse-2.07.hex

Firmware for STM32F103C8T6 "Blue Pill" development board:

bluepill-2.07.hex

  1. Disconnect the device and open the case.
  2. Place jumper BOOT0 to right position (assuming you're holding the board with USB connector down and DB9 connectors left and right. Normal position of BOOT0 jumper is left side).
  3. Install STM DfuSe, download it here: https://goo.gl/JMUFBS (free registration required). Alternatively install it from my Google Drive: https://goo.gl/dp4XGH
  4. Connect the board to computer, it should be detected as "STM device in DFU mode"
  5. Download firmware .dfu file.
  6. Run DfuSe, mark Verify checkbox, press Choose button, select firmware image, then press Upgrade, agree to the warning message.
  7. When Progress bar turns blue firmware update is complete, disconnect the board, move jumper BOOT0 back to the left position, close the case, connect it to computer, the board should be detected as "Shifter/Pedals Adapter". Firmware update complete!

Calibration software (Windows x86):

SP_Profiler.exe

  1. Download and run SP_Profiler.exe.
  2. The board should be detected as HID-device in the drop down menu, and red cross should be visible in the calibration area.
  3. Press Read button, the blue lines should be visible.
  4. The idea of shifter calibration is to match actual shifter X an Y potentiometer positions to gear detection zones, see illustration: You can move blue lines by altering numbers in corresponding edit fields, hit Update button after each edit. Then check if shifter positions are detected correctly. Once you satisfied how shifter detects selected gear press Update and close SP_Profiler, values are stored in adapter flash memory.

PCB is available to order on kitnic.it. I'm testing data for 1clickBOM Chrome plugin to order all parts from major component suppliers (Digikey, Mouser, RS, Newark, Farnell). I'm also selling a small amount of the boards assembled manually by myself, contact me if you want one.

The board uses VID 0x1209 (InterBiometrics) / PID 0xF00D to identify itself, see pid.codes database.

This project is licensed under the BSD License - see the LICENSE file for details

 
ReferencesQtyDescriptionManufacturerMPNDigikeyMouserRSNewarkFarnell
25/27190131-0123WM8121-ND538901310123670344360H44422381222
BOOT0190131-0122WM8120-ND538901310122670344925M58981756986
C1-C2222pF,0603C0603C220J1GACTU399-7874-2-ND80C0603C220J1G801535075R15321813429
C3-C42100nF,0603C0603C104K5RACTU399-5089-2-ND80C0603C104K5R801534772J59921692286
C514.7uF,0603CL10A475KL8NRNC1276-6794-6-ND81GRM188R60J475ME9D691115562W59992211163
C6110nF,0603C0603C103J5JAC7867399-13384-1-ND810C1608X7R1H103K788298845Y51662470427
C711uF,0603GRM188R61H105KAALD490-10732-6-ND81GRM188R61H105KALD846730013T11941845736
C8110uF,0603GRM188R6YA106MA73D490-13248-6-ND81GRM188R6YA106MA3D815134545Y52222470486
HC49SMD18.000AT-8.000MAGK-T887-1599-6-ND717AT8.000MAGKT672034076Y39302142539
LM1117-3.31REG1117-3.3LM1117MPX-3.3/NOPBLM1117MPX-3.3/NOPBCT-ND926LM1117MPX3.3NOPB535863541K34501469051
PEDALS1788750-1788750-1-ND66720TQC47MYF121738901M31232294289
R1-R2222R,0603RC0603JR-0722RL311-22GRCT-ND603RC0603JR0722RL832316868R01689233172
R31100k,0603RC0603JR-07100KL311-100KGRCT-ND603RC0603JR07100KL678967368R01479233628
R414.7k 0603RC0603JR-074K7L311-4.7KGRCT-ND603RC0603JR0747KL740887768R01889233466
R51360R 0603RC0603JR-07360RL311-360GRCT-ND603RC0603JR07360RL66R2746
PWR1LED 0603Q396-PS-35LG Q396-PS-35-ND720LGQ396A396486Y08262575345
SHIFTER1787203-3A32089-ND57157472506798107242K87891087695
ST-LINK1640453-5A19341-ND5716404535864075422C6367588672
STM32F042F6P61STM32F042F6PSTM32F042F6P6-ND511STM32F042F6P6860750142Y10152469549
USBMicroB1ZX62-B-5PAH125270CT-ND798ZX62B5PA33685096586P87931645325