DIY Steering Wheel Base

Dashboard, gauge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: DIY Steering Wheel Base

Postby dennisnojack » Mon 17. Mar 2014, 19:20

Found this on USB.org.

HID Descriptor Tool
This tool allows you to create, edit and validate HID Report Descriptors. The tool also supports a variety of output formats (.txt, .inc, .h, etc.). DT uses ASCII based Usage Tables and supports vendor defined pages as well. Included are Usage Table files for the HID Usage Table document 1.0 Release Candidate 1, Monitor Class 1.0 Release Candidate 2, and Power Class Spec. Read the included README.TXT file for more information.

Communicating Arduino with HID-Devices

Could be helpful....
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby sirnoname » Mon 17. Mar 2014, 19:45

The HID part is easy and clear. The driver is the problem. For x86/64 support etc.
A HID has no option for Force Feedback, only for joystick input without output.
For example the RnR Interface on this page has a HID joystick included.
HID is driverless but has no FF option.

A FF driver get from the game different commands with frequency/type and play duration that is downloaded to the device. After it is downloaded it can be played, paused or stopped.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Mon 17. Mar 2014, 21:31

DirectInput (Windows Drivers)

This suggestet me that the FFB is done by Registry Settings.
Force Feedback Device Driver Interface

I also read on a site (haven't bookmarked it) that they successfully use the FFB-Registrysettings from the Sidewinder Pro Joysick to bring FFB to an DIY-Device.
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby RacingMat » Mon 17. Mar 2014, 21:35

Keep going Dennisnojack!
It's interesting :-)
Yes, the driver part is much more difficult than mechanical hardware fitting... You will have to learn to code ;-)
That's exciting!
2 DOF playseat : arduino, motomonster, 12V truck wiper motors
http://www.x-sim.de/forum/viewtopic.php?f=37&t=943
User avatar
RacingMat
X-Sim Stage 2 edition
 
Posts: 456
Images: 147
Joined: Wed 20. Feb 2013, 21:30
Location: Marseille - FRANCE
Has thanked: 4 times
Been thanked: 130 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Mon 17. Mar 2014, 21:55

I know Mat!! I just startet with Arduino this year and the progress is really good, but driver coding is like a big book with white pages. ;-)

But i keep learning....
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Mon 17. Mar 2014, 22:37

dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby sirnoname » Mon 17. Mar 2014, 23:00

Interesting and fits to the standard driver of microsoft.
So the 18f firmware is the best way to implement such a descriptor.
Which way you go? C++ or picbasic?
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Mon 17. Mar 2014, 23:20

I don't know, because i have no clue about coding. I just startet this year with Arduino. C code is like PHP. I can write simple programs but never wrote a Firmware. =)

If I woud be able to write a Firmware, i would write it in c++. Because its simular to c and the MS reference is also in c++.

Anyone like to help me to code an FFB Firmware for my Project.

The BU0836-LC is also based on a PIC18F. Its a 2458.
Attachments
39887b.pdf
PIC18F2458/2553/4458/4553
Data Sheet
28/40/44-Pin High-Performance,
Enhanced Flash, USB Microcontrollers
with 12-Bit A/D and nanoWatt Technology
(976.29 KiB) Downloaded 1142 times
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Tue 18. Mar 2014, 15:37

Today i order two samples (PIC18F4553-I/P and PIC18F2553-I/SP) from Microchip.
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

Re: DIY Steering Wheel Base

Postby dennisnojack » Tue 18. Mar 2014, 18:17

Found today :-)

http://www.lvr.com/hidpage.htm

Microchip PIC18F4550

device-hid-generic-lvr.zip is a modification of Microchip's USB example titled Device - HID - Custom Demos. My code adds support for vendor-defined control transfers. Written for the PIC 18F4550 and Microchip's MPLAB mcc18 compiler v3.44 with the Microchip Libraries for Applications v2012-10-15. Tested with MPLAB v8.88 and MPLAB X v1.60. Updated 1/20/13.
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

PreviousNext

Return to Peripheral Projects

Who is online

Users browsing this forum: No registered users and 1 guest