
This is a 4.8-46V, 2A Dual Motor Controller which is the revised version of the DF-MDV1.0. Its
performance has been improved greatly. It can bear larger current due to the increased haetsink
dissipation. It is easy to control, using LGS's outstanding high-power motor driver chip, the L298N.
This chip allows for direct drive of two bi-directional DC motors, and incorporates high-speed short
diodes for protection. Drive current up to 2A per motor output. The driver uses a broad-brush design
to reduce wire resistance.


NOTE: Ensure you have a ground wire running between Arduino GND and motor controller GND where battery power GND is connected.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | // # Editor : Lauren from DFRobot// # Date : 17.02.2012// # Product name: L298N motor driver module DF-MD v1.3// # Product SKU : DRI0002// # Version : 1.0// # Description:// # The sketch for using the motor driver L298N// # Run with the PWM mode// # Connection:// # M1 pin -> Digital pin 4// # E1 pin -> Digital pin 5// # M2 pin -> Digital pin 7// # E2 pin -> Digital pin 6// # Motor Power Supply -> Centor blue screw connector(5.08mm 3p connector)// # Motor A -> Screw terminal close to E1 driver pin// # Motor B -> Screw terminal close to E2 driver pin// # // # Note: You should connect the GND pin from the DF-MD v1.3 to your MCU controller. They should share the GND pins.// #int E1 = 6;int M1 = 7;int E2 = 5; int M2 = 4; void setup() { pinMode(M1, OUTPUT); pinMode(M2, OUTPUT); } void loop() { int value; for(value = 0 ; value <= 255; value+=5) { digitalWrite(M1,HIGH); digitalWrite(M2,HIGH); analogWrite(E1, value); //PWM Speed Control analogWrite(E2, value); //PWM Speed Control delay(30); } } |

![]()

교환 및 반품이 가능한 경우
- 구매자의 단순변심일시 상품을 수령 받으신 날로부터 7일이내 이며 구매자가 반품비를 부담합니다.
- 제품에 하자가 있을경우 상품 수령후 3개월이내 이며 판매자가 반품비를 부담합니다.
교환 및 반품이 불가능한 경우
- 반품/교환 요청기간이 지난 경우
- 제품이 멸실 또는 훼손된 경우 (단, 상품의 내용 확인을 위해 포장등을 훼손한 경우는 제외)
- 고객 주문후 제작에 들어가는 주문제작 상품
- 복제가 가능한 자료가 있는 상품의 포장을 훼손한 경우(CD, DVD, BOOK의 경우 포장 개봉 시)
- 사전 반품확인 없이 반품된 제품은 착불로 다시 고객님께 반품처리됩니다. 그외에 궁금한 사항은 고객센터로 연락부탁드립니다.
※ 고객님의 마음이 바뀌어 교환, 반품을 하실 경우 상품반송 비용은 고객님께서 부담하셔야 합니다.
(색상 교환, 부품 교환 등 포함)
상품이 장바구니에 담겼습니다.
바로 확인하시겠습니까?
상품이 찜 리스트에 담겼습니다.
바로 확인하시겠습니까?
이미지파일 플래쉬 다운로더 (P5188)
54,450원
세그먼트LCD-HT1621 드라이버 PC...
35,200원
MSP430F149-BASIC-II (P...
59,290원
마이크로 마우스, 로봇용 바퀴,휠(Whe...
38,720원
18650 배터리홀더 일체형 승압 DC-...
30,800원
사운드 2.4GHz 디지탈무선(nRF24...
39,380원
고정밀 5자리 표시 로드셀 판넬메타 (P...
145,200원
LED 전압전류 승압형 DC/DC LCD...
64,130원
ARM11 3C6410-A CPU Cor...
211,750원