Changes

m
no edit summary
Line 21: Line 21:  
The wheel hardware contains the nRF24L01, a ATMEGA micro, and a PWM/Full-bridge driver for controlling the motor. The micro scans the [[:File:Logitech_usb_buttons.pdf|buttons]] mounted on the wheel, digitises the wheel/accelerator/brake positions and sends the data to the PC/Dongle.
 
The wheel hardware contains the nRF24L01, a ATMEGA micro, and a PWM/Full-bridge driver for controlling the motor. The micro scans the [[:File:Logitech_usb_buttons.pdf|buttons]] mounted on the wheel, digitises the wheel/accelerator/brake positions and sends the data to the PC/Dongle.
   −
==Protocol==
+
===USB HID Joystick===
    
The dongle is a standard USB HID device. The feature port is used to configure the dongle/wireless link, the in-port reads data from the wheel and the out-port is used to send Force Feedback commands.
 
The dongle is a standard USB HID device. The feature port is used to configure the dongle/wireless link, the in-port reads data from the wheel and the out-port is used to send Force Feedback commands.
  −
===HID Joystick===
      
The dongle has the USB ID 0x046D:0xC29C, the HID descriptor is (unfortunately) corrupt.  
 
The dongle has the USB ID 0x046D:0xC29C, the HID descriptor is (unfortunately) corrupt.  
Line 113: Line 111:  
There are a number of force feed back codes which can be written to the USB out-port, some of these are know/understood but assistance is required to further reverse engineer the rest.
 
There are a number of force feed back codes which can be written to the USB out-port, some of these are know/understood but assistance is required to further reverse engineer the rest.
   −
The Force Feedback configuration is sent continuously over the wireless link, which takes the form of a 31 byte payload. The wheel is capable of supporting 4 simultaneous effects, plus an additional auto-center effect.  The various effects are upload into 'slots', the format is as follows:
+
The Force Feedback configuration is sent continuously over the wireless link, which takes the form of a 31 byte payload. These are seen on the SPI bus as they are sent to the RF24L01 output buffer (register 0xA0).
 +
 
 +
The wheel is capable of supporting 4 simultaneous effects, plus an additional auto-center effect.  The various effects are upload into 'slots', the format is as follows:
 
: Bytes 1..2 - Negotiated SubChannel Address
 
: Bytes 1..2 - Negotiated SubChannel Address
 
: Byte 3 - Receive Ack (0x40 saw packet, 0x80 missed packet, 0x20 awaiting sync, 0x07..0x04 sync received, 0x10?).
 
: Byte 3 - Receive Ack (0x40 saw packet, 0x80 missed packet, 0x20 awaiting sync, 0x07..0x04 sync received, 0x10?).
49

edits