Page 1 of 1

Direction/speed control of MDS40B in Analog mode

PostPosted: Mon Aug 30, 2021 11:58 pm
by h00die
Hi - considering using this controller for a project, and I'm not 100% clear how to control speed and direction of a single DC brushed motor when in analog mode. I have read the manual, but it's still not clear to me.

I would like to control a large, brushed 12v DC motor using external hard-wired switches to go forward and reverse (can be sink-to-ground or +12v [preferred]). The speed can be set with a trim-pot local to the controller and left alone, as the speed does not need to be controlled once the optimal PWM drive current has been identified.

Can you give a simple example please?

Thx!

Re: Direction/speed control of MDS40B in Analog mode

PostPosted: Thu Sep 02, 2021 5:10 pm
by waiweng83
You can start with DIP switch setting = 0100 0111 (Analog Sign Magnitude mode).
The potentiometer should be connected to 5V and GND and connect its output to IN1 of the motor driver.
The switch should be connected between IN2 and GND.

Thanks.

Re: Direction/speed control of MDS40B in Analog mode

PostPosted: Fri Sep 03, 2021 12:14 pm
by h00die
waiweng83 WROTE:You can start with DIP switch setting = 0100 0111 (Analog Sign Magnitude mode).
The potentiometer should be connected to 5V and GND and connect its output to IN1 of the motor driver.
The switch should be connected between IN2 and GND.


Ok, I will try that and let you know.

What do the Fan Input pins do (marked D in the pcb diagram in the user manual)?

Re: Direction/speed control of MDS40B in Analog mode

PostPosted: Mon Sep 06, 2021 5:07 pm
by waiweng83
The fan connector is for you to connect to an optional cooling fan.