The motor runs on 10..24V, i feed 20V into the MotoMama from an external source. Now, according to the MotoMama Spec whatever is fed into Vin should be available at the Motor outputs, however using the "analogWrite()" command i get not more than 4.8 V on the outputs.

Sadly, the motor will not run with less than 9V, and if i use its control input (feeding power to the motor directly, and using the MotoMama output to drive the speed control wire, which is prepared to receive between 0.33 and 10 V), then i won't be able to get to more than 50% speed.

am i missing something? i should say here that this is my first arduino project...

any help is greatly appreciated, also any suggestions on how i could alter the setup to get an easier and better result.

i've attached a schematic, sorry for not having more professional tools for this.

however, the motor load is 1.4 A at max, the power supply delivers 4.5 A, so here we're safe.

with "analogWrite()" i meant that i use the PWM on pin 10, with the sketch command "analogWrite(10, 255);", when i run this on the arduino i measure 4.8V on the MotoMama out. with "analogWrite(10, 128);" i get about 3V.

so i was wondering if a PWM output is never above 5V regardless of what i'm feeding, and that i should probably use another command set (which i don't know) in the sketch?

Have you got In1 and In2 set high and low via pins 8 and 9 to give it direction?

Edit... and this is me never having used the MM as a shield, always loose... don't you need to give the MM 5V and ground at the screw terminals to drive the board?- or does it take power from the Arduino underneath? (The Vin is the motor power and not to drive the MM)

Are you sure the MM gets its power from the 20V?.... I'm pretty sure that 20V is just fed to the 298's pin that drives the motors, and that it needs a different supply of 5V to drive the logic side of the 298 chip itself. The manual lists Vlogic and Vsupply as separate items....

Certainly, when I ran mine (again, loose not as a shield) I took 5V and ground from the Arduino to the 5V and ground screw terminals on the MM board.

The motor listed has integrated driver electronics - you _cannot_ PWM its supply at all, that is going to cause all sorts ofproblems. Don't do it.

The 5-wire version has an analog 0..10V input to control speed - that's how you can control speed, which meansyou'll need to generate a 0 to 10V control voltage. You can generate 0 to 5V by passing a PWM signal through anRC low-pass filter.