Finished 2DOF 12V DC wiper arduino playseat

Running simulator build projects.
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 Greg1976 » Wed 17. Dec 2014, 07:02

Hello Racing Mat
As we talked. I´m sending you the information about the motor driver and motor.
Please check it how to connect the motor driver to the Arduino UNO board. As I told you I´m not using the motor monster because it has not power enough to support that two motors I´m using.
By the way the pot I´m using are 10K but they are very exactly. I mean I need to turn them about 10 times from start to end.
Here the data of the motors.
DC 12V / 160W / 50rmp
If you need such a motor driver for yourself so as I told you already in the past time I can help you with this. They also have bigger one for example 48V / 100A.
And here the links for the Motor driver and the motors.
http://item.taobao.com/item.htm?spm=a23 ... s=1#detail
http://item.taobao.com/item.htm?spm=a23 ... =19#detail
Regards
Gregor
Greg1976
 
Posts: 14
Joined: Fri 25. Apr 2014, 07:19
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Wed 17. Dec 2014, 10:04

Hello!

If you're using more powerfull motors, you can use one Motomonster per motor. Follow the specification of VNH
3479

10 turn pot won't really fit: it will work but you will loose accuracy
unless you use gears to use the whole range

I cannot read the driver specification: does it requires 1 pin for PWM and 2 pins for Direction?
or 1 pin for PWM and only 1 pin for Direction?
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 Greg1976 » Fri 19. Dec 2014, 12:06

Hello May. I try here to explain my issue.
As i already send you by e-mail i have a problem to connect my motor driver to the Arduino board. I do not use motor monster because i need mote power for my two 160W DC12V motors.
Here are the URL´s

http://item.taobao.com/item.htm?spm=a23 ... s=1#detail

http://item.taobao.com/item.htm?spm=a23 ... =19#detail

It would be very nice if you could help me with the connection.
If you need more informations so just let me *

Regards
Greg
Greg1976
 
Posts: 14
Joined: Fri 25. Apr 2014, 07:19
Has thanked: 2 times
Been thanked: 0 time

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Fri 19. Dec 2014, 14:26

As I told you earlier, I cannot read the driver spécification in chinese.
You have to tell me if your driver requires 1 pin for PWM and 2 pins for Direction?
or 1 pin for PWM and only 1 pin for Direction?

Because it is not the same code to use.
Motomonster has 2 direction pins.
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 billo2404 » Fri 2. Jan 2015, 16:32

ciao, sto modificando il mio 2 dof da velleman e sabertooth ad arduino + 2 x BB-VNH3SP30
https://www.olimex.com/Products/RobotPa ... -VNH3SP30/

volevo capire meglio come collegare arduino a 2 di questi e se il tuo codice è valido per questi o va modificato.
Non vorrei però attaccare 2 fili solo per copiare ma vorrei capire un paio di cose se non ti disturbo:

quali ingressi analogici per i potenziometri sono da utilizzare per controllare 2 motori?
mi pare di aver capito che arduino funzioni con una tensione analogica (PWM) 0-5 v per controllare la velocità del motore e un altra uscita (digitale credo ON/OFF) che indica il verso di rotazione.
Questo è giusto?
Se è cosi come so quali uscite di arduino utilizzare per controllare il driver?
Esempio:
Ingresso potenziometro A1
Uscita PWM: (2 fili) GND e 3?, 5?, 6?, 9? 10? 11?????
direzione?????
Credo che dipenda da come arduino è stata programmata giusto?
Per semplificare la domanda posto una foto dei collegamenti e dello schema del driver
grazie in anticipo



Hi, I'm changing my 2 dof by velleman and sabertooth to arduino 2 x BB-VNH3SP30
https://www.olimex.com/Products/RobotPa ... -VNH3SP30/

I wanted to better understand how connect arduino to 2 of these and if your code is valid for these or modified.
I would not, however, attach 2 wires only to copy but I would understand a few things if you don't trouble:

that analogue inputs for potentiometers are used to control 2 motors?
I seem to have understood that arduino functions with an analog voltage (PWM) 0-5 v to control the motor speed and another exit (I believe digital ON/OFF) that indicates the direction of rotation.
This is right?
If so how do I know what arduino outputs use to control the driver?
Example:
Potentiometer Input A1
PWM output: (2 wires) GND and 3?, 5?, 6?, 9? 10? 11?????
direction?????
I guess that depends on how arduino is programmed right?
To simplify the application place a link and picture of driver circuit.
Thanks in advance
3513
3514
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Fri 2. Jan 2015, 23:28

hello billo!

yes the olimex VNH3SP30 works like Motomonster VNH2SP30: 1 pin for PWM speed, 2 pins needed for direction
and so the code is compatible!

look at page 2/26 of the specs https://www.olimex.com/Products/RobotPa ... h3sp30.pdf
and just follow the pinout below:

Arduino /.. VNH3SP30 motor1
....GND <-> GND pin
.........5V <-> 5V
.....pin 4 <-> pin 5 inA motor1
.....pin 5 <-> pin 8 pwm1
.....pin 8 <-> pin 11 inB motor1

Arduino /.. VNH3SP30 motor2
.....pin 6 <-> pin 8 pwm2
.....pin 7 <-> pin 5 inA motor2
.....pin 9 <-> pin 11 inB motor2

Arduino / Potentiometers
.....pinA4 <-> center pin of pot 1
.....pinA5 <-> center pin of pot 2
.....pinGND <-> 0 ohm's pin potentiometer 1 & 2
.....pin 5V <-> 10k ohm's pin potentiometer 1 & 2
Last edited by RacingMat on Thu 29. Jan 2015, 09:28, edited 1 time 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 billo2404 » Sat 3. Jan 2015, 17:11

Grazie @RacingMat per la velocità e la spigazione molto chiara.
Ho completato lo schema seguendo le tue indicazioni, se ti va di dargli un occhiata mi dici se è corretto o ho sbagliato qualcosa.
L' unico dubbio che mi è rimasto è l' alimentazione dei driver ma dalle foto è molto chiaro.
Quale pin devo alimentare, 1 o 2 ?
Grazie ancora per la pazienza



Thanks @RacingMat for speed and very clear explanation.
I have completed the scheme by following your directions, so maybe it will be useful to other users.
If you want to give it a look you tell me if it is correct or I missed something.
The only question that remained was the power of the driver but the picture is very clear.
Which pin should I feed, 1 or 2?
Thanks again for your patience

3516
3515
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby arne » Sun 4. Jan 2015, 20:02

I think that your link is false. Because a windscreenwiper motor isn't a stepper motor.
http://www.aliexpress.com/item/-/1992625367.html
2DOF: X-sim - Arduino - Motomonster
http://www.x-sim.de/forum/viewtopic.php?t=1640
arne
 
Posts: 32
Images: 31
Joined: Thu 4. Sep 2014, 18:51
Has thanked: 4 times
Been thanked: 3 times

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby billo2404 » Sun 4. Jan 2015, 22:12

scusa ma quello del tuo link e un VH2SP30 mentre quello del mio link è VH3SP30.
Non capisco cosa intendi dire :shock:

sorry but your link and a VH2SP30 while that of my link is VH3SP30.
I don't understand what you mean :shock:
User avatar
billo2404
 
Posts: 70
Images: 72
Joined: Tue 2. Jul 2013, 18:29
Location: Roma (ITALY)
Has thanked: 7 times
Been thanked: 2 times

Re: Finished 2DOF 12V DC wiper arduino playseat

Postby RacingMat » Sun 4. Jan 2015, 22:41

@arne : I think it's fine, VNH2 and 3 drive DC motors (not stepper motors)
but I may have missed a point

@billo2404 : I cannot find the names of the pins on the board (1 and 2). The specs are about the chip and unfortunatle not the board itself
do you have a picture?
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

PreviousNext

Return to Motion simulator Projects in progress

Who is online

Users browsing this forum: No registered users and 2 guests

cron