eBay

Arduino Motor Controller Shield L298N Drive 2 Motors




[click to enlarge]

Description

  • Brand New and High Quality
  • This Arduino Motor controller Shield is based on L298N chipset, which is a high voltage (46V max), high current (2A per phrase) dual full-bridge driver, that can control two motors simultaneously.
  • This new version has changed the jumpers of input voltage and logic voltage into switches for easy control of this shield.
  • When using this shield, we should consider the power supply first. If you are using external power supply to your Arduino (e.g. 9V transformer or battery) and its voltage is compatible with the motor (e.g. 9V DC motor), you can connect the motors to MA ( A+ and A- wire contacts ) or MB (B+ and B- wire contacts).
  • Another power supply method will be choosing providing external power to the motors that NOT more than 35V. Connect the power to GND and VEX wire contacts, and the motors is still on MA and MB.
  • On this shield, we use pin 13 and pin 12 as direction of motor A (MA), and pin 10 as speed of MA. For motor B (MB), pin 11 and pin 8 as direction and pin 9 as speed.
  • There is 4 LEDs on the shield to show the working direction of the motors, and the brightness show its speed.
  • There is a VA Switch to set the logic level. We usually set it at V5V, that would get the logic voltage of Arduino
  • If the VA jumper is set to VEX, the logic voltage will be drawn from the external power supply.
  • Here below is an example code,
    // motor A
    int dir1PinA = 13;
    int dir2PinA = 12;
    int speedPinA = 10;
    // motor B
    // motor A
    int dir1PinB = 11;
    int dir2PinB = 8;
    int speedPinB = 9;
    unsigned long time;
    int speed;
    int dir;
    void setup() {
    pinMode(dir1PinA, OUTPUT);
    pinMode(dir2PinA, OUTPUT);
    pinMode(speedPinA, OUTPUT);
    pinMode(dir1PinB, OUTPUT);
    pinMode(dir2PinB, OUTPUT);
    pinMode(speedPinB, OUTPUT);
    time = millis();
    speed = 0;
    dir = 1;
    }
    void loop() {
    analogWrite(speedPinA, speed);
    analogWrite(speedPinB, 255 - speed);
    // set direction
    if (1 == dir) {
    digitalWrite(dir1PinA, LOW);
    digitalWrite(dir2PinA, HIGH);
    digitalWrite(dir1PinB, HIGH);
    digitalWrite(dir2PinB, LOW);
    } else {
    digitalWrite(dir1PinA, HIGH);
    digitalWrite(dir2PinA, LOW);
    digitalWrite(dir1PinB, LOW);
    digitalWrite(dir2PinB, HIGH);
    }
    if (millis() - time > 5000) {
    time = millis();
    speed += 20;
    if (speed > 255) {
    speed = 0;

    }
    if (1 == dir) {
    dir = 0;
    } else {
    dir =1;
    }
    }
    }

Package Content

  • 1x Arduino Motor Controller Shield L298N Drive 2 Motors

Shipping and Payment Details

  • Item(s) will shipped by First Class Airmail from HONG KONG
  • On behalf of environmental protection, item(s) will be sent without retail packing (except those stated retail packing included in the package)
  • Item(s) will usually be dispatched within 2 WORKING DAYS. In case your payment is cleared during holidays of HK, item will be dispatched after holidays.
  • Upgrading Registered Delivery Service costs additional of GBP1.50/ USD2.00/ AUD 3.00/ EUR 1.8. Tracking number will ONLY be available if you choose to upgrade.

Estimated Delivery time

Potential Delay on CUSTOM CLEARANCE,
contact us for any problem! We will usually reply within 48 hours!

Regions or Countries Estimated Delivery Time (Excluding Sat and Sun)
Australia, Canada, Region of Scandinavian, United Kingdom, United States 5-14 WORKING DAYS
Other Countries in Europe (except Italy), Asia 5-21 WORKING DAYS
Italy, Mexico and Region of South America 21-40 WORKING DAYS
Region of Africa and India 40-60 WORKING DAYS

Return Policy

  • In case item is defective on arrival, please notice us within 14 days of receipt.
  • Return will be given as Exchange
  • Please return the defected part, we will ship you a new and well tested replacement to you.
  • Buyers have to pay for the return cost and we will pay for the replacement sending cost.
  • Warranty does not extend to cover any damages or malfunction resulting from misuse, faulty voltage supply, liquid damage, accident, repairs or modifications made by any other person other than the authorized person of R CUBE STATION.

Powered by eBay Turbo Lister
The free listing tool. List your items fast and easy and manage your active items.