ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

L298N motor drive board module L298 stepper motor DC smart car robot accessories drive
(มีสินค้าในไทยพร้อมจัดส่งทันที)

Motor Drive Module L298N

ขับมอเตอร์ได้ 2 ตัวแบบแยกอิสระ สามารถควบคุมความเร็วมอเตอร์ได้ ใช้ไฟ 5 โวลต์ สามารถรับไฟเข้า 7-35 โวลต์ได้ มีวงจรเรกูเลตในตัว ขับกระแสสูงสุดได้ไม่เกิน 2A  

Motor Drive Module L298N

This module is integrated with a built-in 5V power.When the drive voltage is 7V-35V, it can enable the onboard 5V logic power supply;afterthe power supply,don't input voltage in the interface+5V power supply,but you can lead the 5V for external use. 
when ENA enable IN1 IN2 control OUT1 OUT2 
when ENB enable IN3 IN4 control OUT3 OUT4

Applied cases: 
1 Driving stepper motor 
The connection of driving a common 4 line 2 phase electric motor is shown in below figure 
after enable ENA ENB 
Input the following driving timing from IN1-IN4,then the speed and direction of the stepper 
motor can be controlled

2 Driving DC motor 
Because the module is drived by double H bridge,it can drive two motors simultaneously. 
The connecting method is shown inbelow figure 
after enable ENA ENB 
You can imput the speed and direction of PWM signal drive motor 1 from IN1 IN2 
You can imput the speed and direction of PWM signal drive motor 2 from IN1 IN2 
The signal is shown in the figure 



 วงจรทดสอบใช้ battery 18650 lithium 2 ก้อน code test: Motor A,B วิ่งหน้าหลัง สลับกัน
Code basic:
//-----------------------------------------------------------------------------------------------

int IN1 = 4;
int IN2 = 5;
int IN3 = 6;
int IN4 = 7;
 
void setup()
{
 
 pinMode(IN1, OUTPUT);
 pinMode(IN2, OUTPUT);
 pinMode(IN3, OUTPUT);
 pinMode(IN4, OUTPUT);
}
 
void loop()
{
 digitalWrite(IN1, HIGH);
 digitalWrite(IN2, LOW);
 delay(2000);
 digitalWrite(IN1, HIGH);
 digitalWrite(IN2, HIGH);
 delay(500);
 digitalWrite(IN3, HIGH);
 digitalWrite(IN4, LOW);
 delay(2000);
 digitalWrite(IN3, HIGH);
 digitalWrite(IN4, HIGH);
 delay(500);
 digitalWrite(IN1, LOW);
 digitalWrite(IN2, HIGH);
 delay(2000);
 digitalWrite(IN1, HIGH);
 digitalWrite(IN2, HIGH);
 delay(500);
 digitalWrite(IN3, LOW);
 digitalWrite(IN4, HIGH);
 delay(2000);
 
 digitalWrite(IN3, HIGH);
 digitalWrite(IN4, HIGH);
 delay(500);
}

//------------------------------------------------------------------------------------------------

เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม