Skip to content

External pedals for gamepads with DSAdvance & X360Advance / Внешние педали

Notifications You must be signed in to change notification settings

r57zone/XboxExternalPedals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EN RU ← Choose language | Выберите язык

Xbox external pedals

External pedals for gamepads: Xbox, DualSense, DualShock 4, Pro controllers and joycons. Pedals based on DInput or Arduino, compatible with programs: DSAdvance and X360Advance. I recommend the Logitech e-uk12 pedals, they are pretty compact and high quality.

Soldering

The first type of connection is used to connect pedals, with 2-pin potentiometers. A 10 kΩ resistor is soldered with one contact to A0, and the second contact to 5V. The second 10kom resistor is soldered to A1 and 5V. The potentiometer of the first pedal is soldered with one pin to A0, and the second pin to ground (GND). The potentiometer of the second pedal is soldered with one pin to A1, and the second pin to ground (GND).

(MH-ET Live ATtiny88)

(Arduino Nano)

The second type of connection is used to connect pedals, with 3-pin potentiometers. The center pins are connected to A0 and A1, the first pin is connected to 5V, the last pin to ground (GND).

(MH-ET Live ATtiny88)

(Arduino Nano)

Setup DInput pedals (MH-ET Live ATtiny88 board)

  1. Download and install Arduino IDE.
  2. Install the latest Digispark drivers ("Digistump.Drivers.zip").
  3. Launch the Arduino IDE, go to settings and add http://drazzy.com/package_drazzy.com_index.json in the "Additional links for board manager" field and click "OK".
  4. Go to "Tools" -> "Board" -> "Board Manager", search for ATTinyCore and install.
  5. Copy firmware contents for calibration, paste it into the Arduino IDE and click the "Upload" button.
  6. Connect the MH-Tiny ATTINY88 board after clicking the firmware or click the download button again. MH-Tiny ATTINY88 is flashed immediately after connection (you need to re-plug it for flashing).
  7. Open the notepad and press the pedals. The notepad will display values for pedal calibration. For reliability, you can repeat the procedure several times, with USB reconnection, and display the average values. Save your data.
  8. Copy firmware contents and paste into Arduino IDE. Change the parameters Pedal1Min, Pedal1Max and Pedal2Min, Pedal2Max to the previously saved ones and click the "Load" button. If necessary, adjust the values so that the percentage of pressing is across the entire pedal, and also enter the required percentage of the dead zone DeadZonePercentPedal.
  9. Enable DInput search for pedals in DSAdvance in the configuration file.

Setup Arduino pedals

  1. Download and install Arduino IDE.
  2. Change the board type to Arduino Nano, also change the Bootloader if necessary.
  3. Download the sketch, change the 6th line bool Calibration = false; to bool Calibration = true; for enable calibration mode.
  4. Press the pedals several times, note down the minimum and maximum values ​​of the pedals.
  5. Enter your values ​​to PedalMin, PedalMax into the sketch and re-sew it. Look at the results - "Out". If necessary, adjust the values ​​so that the percentage of depression is across the entire pedal, and also enter the desired percentage of the dead zone DeadZonePercentPedal.
  6. Change the sketch again, bool Calibration = true; to bool Calibration = false; to disable calibration mode.
  7. Change the COM port number in DSAdvance or X360Advance, then the pedals are ready to play.

Feedback

r57zone[at]gmail.com

About

External pedals for gamepads with DSAdvance & X360Advance / Внешние педали

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages