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.

Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Sat 31. Aug 2013, 13:19

Hello Kalarakis !

ok, i'll check my profile (but i'm away from my sim today) :?

To have a global view, can yo confirm that
1: you have mated together the pot and the motor ?
2: you have tried successfully to send orders from Serial Monitor ? and motors move until they reach the position
3: do you see graphs moving in the Math tab ?

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 kalarius » Sun 1. Sep 2013, 10:11

hi,

what effect must I add to left axis and the right axis?

kalarakis
kalarius
X-Sim Supporter
 
Posts: 22
Joined: Mon 5. Aug 2013, 18:17
Has thanked: 1 time
Been thanked: 3 times

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Sun 15. Sep 2013, 10:48

Hello Aboodix5,

If you bought the Motomonster board, the simpliest is to stack it onto Arduino !



If you don't, you have to follow the following pinout :
Arduino and Motomonster have same pin's number !
connect together


Arduino .../...Motomonster
......GND <-> GND pin
........5V <-> 5V
.....pin 4 <-> pin 4
.....pin 5 <-> pin 5
.....pin 6 <-> pin 6
.....pin 7 <-> pin 7
.....pin 8 <-> pin 8
.....pin 9 <-> pin 9

pin 13 is not needed

In the initial post, I've soldered more wires but they are unused wire...

On Arduino pin A4 and A5 connect Pot left and Pot Rigth.
Mat
Last edited by RacingMat on Sun 15. Sep 2013, 11:59, edited 2 times in total.
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 aboodix5 » Sun 15. Sep 2013, 11:02

connect on two side of the arduino the same Sequence?
aboodix5
 
Posts: 4
Joined: Thu 15. Aug 2013, 10:14
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Sun 15. Sep 2013, 12:20

No...
the wire should connect the Arduino's pin 4 to the Motomonster's pin 4
and so on !

Just like if it would be stacked ;)
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 ne02005 » Mon 16. Sep 2013, 14:32

very nice!
are you using only 1 psu for both motors?

thanks
User avatar
ne02005
 
Posts: 36
Images: 0
Joined: Fri 13. Jul 2012, 22:00
Location: Buenos Aires - Argentina
Has thanked: 3 times
Been thanked: 0 time

Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Mon 16. Sep 2013, 15:07

Thank you !
Yes, it's only one server PSU 12V 47A
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 mleunam » Mon 16. Sep 2013, 21:22

If i dont connect the analog pin of arduino to the monster motor shield analog pin, should work ?
mleunam
 
Posts: 11
Joined: Wed 10. Apr 2013, 20:58
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Mon 16. Sep 2013, 21:59

Hello mleunam !

In my configuration, the potentiometer's values are "read" by the Analog pins of Arduino .
So, there is no need to connect Anolog pins between Arduino and Motomonster.

Motomonster is an H-bridge without feedback loop capabilities : it doesn't have analog pins.
Arduino tells to motomonster information as "this way" and at "this speed".
This requires only 2 pins for direction and 1 pin for speed per motor : (2+1) x 2 = 6 wires and 5V and GND.

Mleunam, what is exactly your hardware setup ?

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 mleunam » Tue 17. Sep 2013, 10:10

my seup is the same of you, monster motor shield and arduino but i cant send the strings for arduino,
wen i manualy turn the pot to roll one motor, the 2 motor turn with the same pot, i dont know wy
mleunam
 
Posts: 11
Joined: Wed 10. Apr 2013, 20:58
Has thanked: 2 times
Been thanked: 0 time

PreviousNext

Return to Motion simulator Finished Project Gallery

Who is online

Users browsing this forum: No registered users and 1 guest

cron