Controlling the pololu MD03A with k8055

looking to run 2 12vdc motors with the k8055 through the MD03A motor driver but can seem to work it out.
Not very good with electronics but manange to solder the k8055 project without any hicups, wow this is a great kit. I can see that i have to connect the pmw pins from the k8055 to the pwm pins on the MD03A but after that i get lost. the motor driver needs A B pins connected ? plus then i want to wire in to pots to give feedback on postion of motors ? Have software x-sim that can control the k8055 well so once i get them connect properly will post back info on a 2dof motion seat for racesims powered by Velleman. go girl.

opps this might help the board is a Pololu Dual VNH3SP0 motor driver carrier

Please see this thread how to connect the motor driver to the K8055:
viewtopic.php?f=3&t=5492

You have to connect only INA, INB, PWM and GND pins of the motor driver to the digital output / PWM / GND terminals of the K8055. You have to put pull-up resistors from the K8055 outputs to +5V supply.
Please see this thread p.2 how to connect the pull-up resistors: viewtopic.php?f=15&t=3839

Datasheet: datasheetcatalog.org/datashe … 63f5wy.pdf
Please see “PIN FUNCTIONS DESCRIPTION”.
Especially see the ENA/DIAGA and ENB/DIAGB function and connection.

[quote]plus then i want to wire in to pots to give feedback on postion of motors ?[/quote]You can use the analog inputs for the feedback potentiometers:

To get the analog inputs working, you have to remove the pin header caps from the SK2 and SK3 and turn the potentiometers ATT1 and ATT2 to max position clockwise.

ah i see thanks mate once working will post back info for others to see.
Velleman controlled sim seat.

wow all good now works just got to pretty it up and run a video with wiring details for others to see.

  1. Relays never worked real nicely, poor motor speed and excessive heat in transistor a problem.
  2. pololu card a little tricky to wire up but works at full pace.

I already use the jrk12v12 cards to run a race motion seat very fast reaction times needed.
But ran into the problem of them being out of stock till april so my flight sim got put on hold till i read about using the K8055 to run dc motors, well guys im back on travk thanks mate i owe a beer.

[quote]But ran into the problem of them being out of stock till april so my flight sim got put on hold till i read about using the K8055 to run dc motors, well guys im back on travk thanks mate i owe a beer.[/quote]Nice! :slight_smile:
When ready - can you provide a video…?

just implementing pwm control and feedback once together video will be done, worth a 1000 words
No worries.

Well it works not too badly just need to sort the P.I.D values in x-sim software but the motor is off my test bed which has been given a thrashing, didnt expect to see perfect movement just to proof the controllers.
Here a vid.
http://www.youtube.com/watch?v=k6rCUOBBlSU

When time permits i will draw out wiring for all plus a little more info.

Seems to work. - Nice !

Ok to make things a little easier to connect and build i have put together a connection board, thus implementing the pull up resistors and pot connections all in one place saves on a wiring headache.

Ledgend:

IN5VN - 5VDC in Negative from either a ubec or 5vdc regulated supply.
IN5VP - 5VDC in Positive from either a ubec or 5vdc regulated supply.
D5 - Digital Output 5 from K8055.
D6 - Digital Output 6 from K8055.
PWM1 -Digital Output PWM1 from K8055.
D1 - Digital Output 1 from K8055.
D2 - Digital Output 2 from K8055.
PWM2 - Digital Output PWM2 from K8055.
D3 - Digital Output 3 from K8055.
D4 - Digital Output 4 from K8055.
ANLA1 - Analog Input A1 from K8055.
ANLA2 - Analog Input A2 from K8055.
ANLGRD- Analog Input Ground from K8055.
DIGGRD- Digital Output Ground from K8055.

PDIAG1 - Pololu VNH3SP30 1DIAG/EN
PDIAG2 - Pololu VNH3SP30 2DIAG/EN
P1PWm - Pololu VNH3SP30 1PWM
PINA1 - Pololu VNH3SP30 1INA
PINB1 - Pololu VNH3SP30 1INB
P2PWM - Pololu VNH3SP30 2PWM
PINA2 - Pololu VNH3SP30 2INA
PINB2 - Pololu VNH3SP30 2INB
P5VIN - Pololu VNH3SP30 +5 V (IN)
POT1VIN- Position Pot 1 (10-100ohm) Positive.(5 V in)
POT1S - Position Pot 1 (10-100ohm) Signal out.
POT1GRD- Position Pot 1 (10-100ohm) Ground.
POT2VIN- Position Pot 2 (10-100ohm) Positive.(5 V in)
POT2S - Position Pot 2 (10-100ohm) Signal out.
POT2GRD- Position Pot 2 (10-100ohm) Ground.
PGRD1 - Pololu VNH3SP30 GND.

K8055 - VNH3SP30 (Schematic).pdf http://www.mediafire.com/?dao7fq5r9rs9b82

K8055 - VNH3SP30 (PCB BOTTOM LAYER).pdfhttp://www.mediafire.com/?1o1lf4v2o3pvepg

K8055 - VNH3SP30 (PCB LAYOUT).pdfhttp://www.mediafire.com/?68tj9wxr64br2z8

All resistors are 0.5w mtl 47R 1%
All pin outs are single but can be left out and wire soldered directly to board.