Mycest Solution

Mycest 10 Amp DC Motor Driver (MDC10A) R1.0

Features

1 – Bi-directional control for one Brushed DC motor (Single Channel).
2 – Support motor voltage ranges from 5V to 30VDC.
3 – No Reverse Polarity Protection at Vmotor, please double check the polarity before power up.
4 – Regenerative Braking.
5 – Maximum current up to 13A continuous and 30A peak (10 seconds).
6 – 3.3V and 5V logic level input, compatible with Arduino and Raspberry Pi.
7 – Fully NMOS H-Bridge for better efficiency and no heat sink is required.
8 – Speed control PWM frequency up to 20KHz (output frequency is same as input frequency).
9 – Single power source and NO additonal Vin is required.
10 – Dimension: 75mm x 43mm

Sample code

//sample coding for MDC10A hustler motor driver 10amp
//www.mycest.com
const int pwm = 3; //pin 3
const int dir = 2; //pin 2
int i = 0;
int s = 255; //speed (min 0 – max 255)
void setup()
{
Serial.begin(9600);
pinMode(pwm, OUTPUT);
pinMode(dir, OUTPUT);
}
void loop()
{
digitalWrite(dir, HIGH);
analogWrite(pwm, s);
delay(1000);
digitalWrite(dir, LOW);
analogWrite(pwm, s);
delay(1000);
digitalWrite(dir, LOW);
analogWrite(pwm, i);
delay(1000);
}
view raw gistfile1.txt hosted with ❤ by GitHub

Leave a Reply

Discover more from Mycest Solution

Subscribe now to keep reading and get access to the full archive.

Continue reading