Construction of a FFB WHEEL with megajoy - arduino

This forum is intended for general motion sim related topics which do not have their own subforum.

Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Wed 26. Feb 2014, 21:24

Good Afternoon !

I know there are the RealFeel plugin to handle the forces of the suspension arm to apply directly on the steering wheel of the car, I was wondering if there is any way to get information is the value of this force through the serial port, the same way that today l receive strength G lateral and longintudinal by x-sim Converter, is there any manual way to do it ? I used arduino and finished a 2 DOF cockpit, prograamming that is much like the x-pid, it follows the same logic and l gave the code for two other friends who also managed to make the simulator itself, now these same colleagues are also trying to build a feedback steering wheel, and l discovered unojoy and megajoy, perfect firmware arduino solutions that make that microcontrollers work as a HID device or even two hid devices , perfect for such a project, 12 analog axis and 32 digital buttons with no need of ppjoy or any other emulator, but now l m stuck in get the force over the wheel ?? it is necessary to know the strength / direction of the force on the steering wheel to be able to build the arduino programming DIY, could you , the forum guys, aid me in this new development ? How can l extract values from the realfeel plugin ?
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby RacingMat » Fri 28. Feb 2014, 11:04

Hello adrianovrm!

What a good project!
I understand your desire as I was fed up with my small MOMO FFB Wheel (too small: Ø20 cm, too weak 75W)
and I built a DIY FFB wheel Ø35cm based on 1000W motor 8-) : that's so cooool!

This was possible due to Mizoo's work on Racingfr.com
You will find the principle explained here (in french) http://www.racingfr.com/forum/index.php ... &p=1439538
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: Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Sat 1. Mar 2014, 04:51

good Nighy,

and thanks for the help, hhahah 1000wats, care with your wrist ! Could do it stronger puttings gears too heheeh. l ll see your tip now
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Sat 1. Mar 2014, 05:34

Ohh god, l know nothing about french language, sorry !
Is there any place that explain that in english ? Ljust see pictures, seems that its using a step motor, is there a step motor ?
L was plannign to do it with common dc not geared motors with pots, cause step motors can loose steps but if it works already l ll think my strategy
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby telfel » Sat 1. Mar 2014, 11:15

Hi

Here's an english one, (Right Hand Drive Only. lol)

2588

http://bffsimulation.com/Steering-FFB.php

regards Terry
User avatar
telfel
 
Posts: 108
Images: 54
Joined: Thu 22. Mar 2012, 19:05
Location: Borders Scotland UK
Has thanked: 2 times
Been thanked: 9 times

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby RacingMat » Mon 3. Mar 2014, 11:05

Hi!

it's not a stepper motor:
it's a AC Three Phases Synchronous Motor
yours
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: Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Mon 3. Mar 2014, 14:07

Hi, man,


WTF, 3-phase motor, brutal and dangerous shocking wheel , WUAAA !
L think l will have a minor aproach, using dc motor with a potenciometer , the dc motor of 120 watts with an good reduction can be very strong too, no need of 3-phase , well not for now, in future maybe, but first l have to find the right effect and how to pass them through the serial port. L tried the direct X port at extractor , it not works yeah , the windows xp recongnized teh dgft wheel, l make the right config of the wheel at extractor profile, but nothing shows up at direct forcefeedback, lm exchanginig messages with sirnoname, trying to solve the problem. Direct external plugins of rfactor l dont lnow use yeah, but l m continue studing and will find and asnwer to share with all you guys. l did an video for sirnoname , showing my situation , lets see if he can discover my trouble.. praying for a light *.. But l m not stopped meanwhile, L already know how to configure my arduino to an gamepad, so here is my idea:
1. After Programming the arduino gamepad , the code of the feedback, Calculations will be done taking the following aspects :
1.a - Effect 27 lateral force G, for detecting lateral spins too , we have two rolls effects and xpsimplugins, l guess this is for front and rear rolls, two diferents rows, maybe indicate an spin, as l cant find the right force over wheel right now, l l try this aproach at now moment.
1.b - Effect Speed of the car (As speed, as lighter force wheel should applied)
1.c - Taking Speed 0 , from where you move the wheel it should apply constant force, resistance and when we left the wheel it must remain on place(With car stopped), comercial sim wheel back to center place, this is a mistake phisical, l addressing in work strong in soft to make my solution closeest of the reality, l have to deal time to end this, is a hobbiest thing from now on.
1.d - Vertical G force will be use to detect bumps and make wheels shake.
1.e Two arduinos mega are beeing using. ( one gamepad firmware modified , and another that will pass xsiminformation over a second serial two the gamepad one ).

Well this is trhe aproach , and will not change must if l find the correct force , but the the right force it will make my life a lot easy...
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Mon 3. Mar 2014, 14:10

ooops l forgot the video of my testing showing direct force dont shows nothing and detecting , two rolls and picyth effect with diferents values, what make me think that are front and rear apart effects, dont know if l right now, wait sirname answer !

http://www.youtube.com/watch?v=yarLKrdm ... 8pG6BCpq-g
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time

Re: Construction of a FFB WHEEL with megajoy - arduino

Postby RacingMat » Mon 3. Mar 2014, 21:22

@ adrianovrm: it's powerfull enough to simulate the mechanical limits
For example, if your car has a wheel range of 270°: the software will emulate a mechanical limit at 270°... and trust me, it's very hard!
the feeling is like metal against metal :P

How will you limit the range in your case?
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: Construction of a FFB WHEEL with megajoy - arduino

Postby adrianovrm » Tue 4. Mar 2014, 17:46

Well,

Racing dont have the need of more than 240 degrees of movement, racing cars doesn't use more than that ! There are two aproaches for that, of mechanical lock at 240 degres, but adjustable to any another value, minor value probably, and software lock since we will have a potentiometer attached to know the angle beeing used and can aplly forces over the wheel to avoid user to travel over that limit, is tricky to program, but can be done. l m the programmer and have more two another guys that are mechanical that works with real life cars, the pieces of mechanical are sent to me and l sent and teacher them how to set up eletronics pieces (ARDUINO + LCD + KEYBOARD + SD CARD and H-bridges for now). Next step is work with AC BIG MOTORS and VFD's , but this project will be more slow since it is dangerous, have to care much care with AC POWER, isolate well, a controlled place to do it with restriction at access, l dont have these conditions at my home yet, so is a 1 year project at least , so now l wanna program de wheel + gears and pedals more some analog buttons to setup the car at racing ! mechanical gus will send me a prototype to work with, now we re buying pieces, motors and gears, and l searching about a path to follows, as l said, l will start working only with xsimplugins forces cause l couldnt put de direct force to work, despite of the fact l already have a stage2 key that l brought at time of developed my cockpit prograaming, l was needing offline access to work at any place, later l discover that this kind of license permits another more things too, but as l explained for sirnoname, maye it is not working cause the key is installed at a virtual machine (parallels at macos runnin windows XP) may be is problem is this , so l dont have to whre to go, or buy a second key for a second machine or try to work with curent x-sim values.
adrianovrm
X-Sim Supporter
 
Posts: 214
Joined: Tue 20. Nov 2012, 07:35
Has thanked: 0 time
Been thanked: 1 time


Return to General Chat

Who is online

Users browsing this forum: No registered users and 7 guests