G25/G27/G29/G920 USB Handbrake Simracing
Print Profile(1)

Description
16 mm aluminum tube (you have to drill it 8 mm and 4mm holes)
(I used PVC Tube and it work's fine too)
SPDT Micro Interruptor
4 bolts (4x25 mm) with 2 nuts.
1 bolt (8x40 mm) with 1 nut.
2 bolts (6x25 mm) no nuts needed. (used to connect supports to G29, verify that G27/G25 have the same holes, I can't check it.)
1 spring (i bought one from ironmongery, 12mm diameter should be ok).
1 Digispark Usb ATTINY85 board (to emulate a key for our handbrake).
Two wires.
Tools needed:
-Soldering Iron: You'll have to solder the P0 pin to NO and GND to COM respectively on your Switch.
-Driller (to make an 8 mm hole to our tube, the hole near the spring, 4mm holes for the handbrake "cover").
-Micro usb cable.
Software needed:
-Arduino IDE (
You'll have to install the trinket keyboard library's and the Attiny85 board drivers (because Arduino IDE have to recognise the board).
-Digistump digispark drivers (
Handbrake code download:
#include "DigiJoystick.h"
void setup() {
pinMode(0, INPUT);
digitalWrite(0, HIGH);
}
void loop() {
DigiJoystick.setButtons((char)(digitalRead(0) ? 0x00 : 0x01), 0x00);
DigiJoystick.update();
}










Comment & Rating (6)