รหัสสินค้า | AG00762 |
หมวดหมู่ | Motor Drive / Shield |
ราคา | 995.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
This is an ultra small size DC motor driver for room limited projects, while the impressive IC - LM2575 could provide a powerful way to drive 36V@15A motors. Also its UVLO (Under Voltage Latch-Out) feature provides a safe guard for your system. Besides all, it is very considerate to own an 5V output for Arduino or any other devices, and its interface is ESD (electro-static discharge) protection.
Features:
Shipping List:
Tutorial
Here you will learn how to use PWM signal to control the motor through this motor driver, do some wiring according to the Connection Diagram below, and then upload the sample code below to the Arduino card, here we use a UNO as the controller, you could see your motor run forward for 3 second and then run reversely for another 3 seconds and repeat this behavior then.
This tutorial will cover how to use PWM to control a motor using the shield.
Connection Diagram
/*
* @file Motor driver DRI0042_Test.ino
* @brief DRI0042_Test.ino Motor control program
*
* control motor positive inversion
*
* @author bernie.chen@dfrobot.com
* @version V1.0
* @date 2016-8-10
*/
const int IN1=5;
const int IN2=4;
const int PWM=6;
void setup() {
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(PWM, OUTPUT);
}
void loop() {
Motor_Brake();
delay(100);
Motor_Forward(200);//Forward, PWM setting 0-255
delay(3000);
Motor_Brake();
delay(100);
Motor_Backward(200);//Reverse, PWM setting 0-255
delay(3000);
}
void Motor_Forward(int Speed) {
digitalWrite(IN1,HIGH);
digitalWrite(IN2,LOW);
analogWrite(PWM,Speed);
}
void Motor_Backward(int Speed) {
digitalWrite(IN1,LOW);
digitalWrite(IN2,HIGH);
analogWrite(PWM,Speed);
}
void Motor_Brake(){
digitalWrite(IN1,LOW);
digitalWrite(IN2,LOW);
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,394 ครั้ง |
ผู้ชมทั้งหมด | 5,878,472 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |