Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robotsrulz authored Oct 4, 2016
1 parent c5af1c1 commit 2cb3a62
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,35 @@ Hardware part is based on STM32F042 microcontroller(TSSOP20), Schematics folder

"Stable" firmware:

[hse-gear-check-1.4.dfu](binaries/hse-gear-check-1.4.dfu)
[hse-xy-mute-1.5.dfu](binaries/hse-xy-mute-1.5.dfu)

[hse-gear-check-1.4.hex](binaries/hse-gear-check-1.4.hex)
[hse-xy-mute-1.5.hex](binaries/hse-xy-mute-1.5.dfu)

## Firmware update

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_1.2.exe](binaries/SP_Profiler_1.2.exe)

## Calibration procedure

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: (!calibration)[https://habrastorage.org/files/a58/dce/3ea/a58dce3ea492499faaae6c0fd2231812.JPG]
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.

## Assigning controls in the game (ver 1.5)

If you cannot assign controls correctly in the game because X and Y axis move with gear selection then press the following buttons on shifter simultaneously: red left + red right + d-pad up. The X and Y axis then lock and you will be able to assign gears in the game. This functionality will be changed soon...

## Obtaining the board

Expand Down

0 comments on commit 2cb3a62

Please sign in to comment.