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 sirnoname » Tue 18. Mar 2014, 20:20

It is equal which chip you use. I am firm with both, 16f and 18f.
But the MPLAB software use C++ compiler for 500€ or 30 days trial.
You must use for 18f and USB the old MPLAB 8 and for 16F1459 the new MPLABX software. For MPLAB 8 you have to use C18 compiler, for MPLABX the X8 compiler. This because the ready written HID samples are written for one compiler and are not portable to other compilers.
You should think about the 16F because of internal Oszillator and cheap version. Two PWM for H-Bridges. It is also using the newer MPLABX. There is a simple sample for HID where you simple exchange the descriptor for Force Feedback.
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 » Sat 29. Mar 2014, 00:27

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 7. Apr 2014, 12:01

Hi at all!

Yesterday I build a prototypeboard for the AS5045 12Bit contactless magnetic rotary encoder.
The AS5045 has SPI output over 3 wires and a PWM output.
To convert the PWM-Signal to a 0 to 5V analog signal, I used a simple passive low pass filter (2x 10K ohm resistor and 2x 2,2µF capacitors).


I tested it on my BU0836-LC and on my Arduino. Works fine.
The steering is very precise. Tested with 360° steering impact.

More detailed information coming soon.
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 vell001 » Tue 8. Apr 2014, 11:29

dennisnojack wrote:Hi at all!

More detailed information coming soon.


congratulations,I am wating for your detailed information...
User avatar
vell001
 
Posts: 21
Joined: Sat 30. Nov 2013, 13:02
Has thanked: 4 times
Been thanked: 1 time

Re: DIY Steering Wheel Base

Postby RacingMat » Fri 1. Aug 2014, 11:50

Hi Dennisnojack!

What's new? Can you share the results of your prototype?

We are interested in seeing your progress!
Mat :D
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 vell001 » Wed 13. Aug 2014, 10:46

I am using vjoy http://vjoystick.sourceforge.net/site/ to build my wheel, I finished the base controll function. vjoy is very useful, but ffb is not support now~ I am waiting auther to finish ffb. And I am waiting for your news
User avatar
vell001
 
Posts: 21
Joined: Sat 30. Nov 2013, 13:02
Has thanked: 4 times
Been thanked: 1 time

Re: DIY Steering Wheel Base

Postby dennisnojack » Thu 14. Aug 2014, 19:58

Hi.

Arduino UNO and MEGA2560 USB firmware for HID devices.
https://github.com/harlequin-tech/arduino-usb

I compiled a firmware for my Arduino Mega 2560 (Environment: Debian Linux, AVR-LIBC).
Now my Arduino Mega 2560 is a 40 Button USB HID. Works on native (no driver needed) Windows and Linux. Mac OS not testet yet.

I also try a Controller with 8 analog axis and 40 Buttons.

EDIT:

I compiled a Firmware with FFB description...
FFB description automatically added to registry when plug in the Controller.
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 vell001 » Fri 15. Aug 2014, 18:44

dennisnojack wrote:
I compiled a Firmware with FFB description...
FFB description automatically added to registry when plug in the Controller.


Can you upload your project to github.com? I am very interested in this project

:)
User avatar
vell001
 
Posts: 21
Joined: Sat 30. Nov 2013, 13:02
Has thanked: 4 times
Been thanked: 1 time

Re: DIY Steering Wheel Base

Postby RacingMat » Sat 16. Aug 2014, 11:04

Hey!

that's really excellent turning arduino as USB HID with FFB descriptors!

I have seen the arduino requirements on your site
This is a collection of USB firmware for the Atmega8U2 and Atmega16U2 processors on the UNO and MEGA2560 boards.

but I'm not sure:
Does a Arduino PRO MINI ATMEGA328 5V/16M MWC avr328P Development Board @3$ work?
In such a case, event button boxes would be really cheap!

Well done :)

About FFB, can you give usmore information about your wheel?

yours
Mat
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 » Sat 16. Aug 2014, 14:53

My FFB HID discription is different to the Sample HID Description.

Now i have to figure out, if the firmware give FFB output to the Arduino and how to give input to the HID.
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 3 guests

cron