Finished 2DOF 12V DC wiper arduino playseat

Finished projects, you can't start topics here and have to request a topic in the "administrator" section first.
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: Finished 2DOF 12V DC wiper arduino playseat

Postby gingercat » Thu 4. Sep 2014, 20:49

Yip, just been making a start on a sim based on Bergison's g-seat. So far just have wiper motors and a few Monster-moto boards.

I've been going over the code to add more features to it - so far have implemented more progressive ramping of velocity, and tweaks to enable it to creep up to the exact target. I also want to add support for hard limit-switches incase the encoders go haywire. I work as a software engineer, specializing in data acquisition and control systems (wind tunnels, car telemetry) so can hopefully apply some of my skills. I'll make all the source freely available once I'm done.
gingercat
 
Posts: 2
Joined: Sun 17. Aug 2014, 17:55
Has thanked: 0 time
Been thanked: 1 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Thu 4. Sep 2014, 21:32

Great!
Welcome on board! :-)
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: Finished 2DOF 12V DC wiper arduino playseat

Postby venven » Fri 5. Sep 2014, 21:35

to gingercat :Great!
see you improve and share :D
venven
 
Posts: 2
Joined: Tue 22. Jul 2014, 17:59
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Fri 5. Sep 2014, 23:04

@venven : do you intend to build a simulator as well? :)
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: Finished 2DOF 12V DC wiper arduino playseat

Postby venven » Sat 6. Sep 2014, 12:28

RacingMat wrote:@venven : do you intend to a simulator as well? :)

thank RacingMat!I followed your tutorial, step by step in my build :D
venven
 
Posts: 2
Joined: Tue 22. Jul 2014, 17:59
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Sat 6. Sep 2014, 13:08

Congrats!!!
Is it finished?

Oh, don't be shy... show us a picture or better a video! :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: Finished 2DOF 12V DC wiper arduino playseat

Postby Lighthill » Mon 15. Sep 2014, 12:55

Hello RacingMat ...
as promised I ask my next question in the forum ...
As you described, the pots need no "modding".
I have the pots now connected to the motor and unfortunately it rotates at startup until the pot is going around and broken.
-already 5 times- 8-)
Do you have any idea what is going wrong?
Is it all just a software problem?
Where exactly do I find the line for "tolerance" parameter?
Is it this +++ int Tol = 20; +++ ?
Something desperate and thanks for your help ...

Lighthill
Lighthill
 
Posts: 1
Joined: Tue 26. Aug 2014, 08:01
Has thanked: 1 time
Been thanked: 0 time

Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Mon 15. Sep 2014, 14:52

Your polarity is reversed: switch ground and 5v wires of your pot.
Before mechanical coupling, test by turning manually:in the case they are mounted "face to face" like mine -> if you turn pot one way, the motors have to turn reverse.
It's mind twisting :-)

The code is designed to stabilise the position to what is told to arduino by game.
With nothing is connected to arduino, the order is horizontal. Hence is you turn the pot one way, the motor turn the other way
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: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Tue 16. Sep 2014, 09:13

@Thread
Thread wrote:Could you give some advice on how to use these cheap IBT-2 H-bridges?
http://www.ebay.com/itm/Semiconductor-B ... 259160f4a7
they have a different control method, so the programme most be modified.

Or maybe it can work this way:
<<<1. Use the H-Bridge EN pin as the PWM input and use the PWM inputs as the
Direction pins. Sounds odd but this drives the H-Bridge in drive/coast mode
which is generally fine for motion sims as they are always in motion.>>>

The programs are written to control the bridges to drive/brake mode.
Is it really not a problem if the motors will coasting instead of breaking?


- I cannot open the ebay link due to legal restrictions in some countries: can you post screenshots?

- Braking is not necessary with Smolka motors in 2DOF configuration.
If gearmotors are irreversible, it's better because the sim stays horizontal without braking.

If you want to be sure (and not be disappointed by some trials and errors), follow stricktly the recipe ;)
If you change Hbridge, motors, and so on, you may hit some problems... but it's sometimes interesting as well to try new things :)

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: Finished 2DOF 12V DC wiper arduino playseat

Postby Thread » Tue 16. Sep 2014, 15:54

This is the datasheet, in theory, it will work with the default programme, but without braking.

I have seen several ino files in this, and the other website, my suggestion is gathering them to one place, or at least making links to them, and with a description. And i wonder, which one is the best? :)
Are not they slower than other, more expensive solutions?
Can they be made faster by "analog to direct port" programming? [whatever that means] I guess that is harder to code.
Attachments
30A _Motor_Driver.pdf
(142.91 KiB) Downloaded 653 times
Thread
 
Posts: 4
Joined: Wed 20. Aug 2014, 23:31
Has thanked: 1 time
Been thanked: 0 time

PreviousNext

Return to Motion simulator Finished Project Gallery

Who is online

Users browsing this forum: No registered users and 2 guests

cron