Description
Drive two DC motors forward and reverse with the L298N Dual H-Bridge Motor Driver. It handles motor direction and speed in one module, with up to 2A per channel — strong enough for robot car motors. A very easy way to understand motor control, and a great circuit for students learning robotics in Pakistan.
How to connect
- IN1 → Arduino D8, IN2 → D9, IN3 → D10, IN4 → D11 — these four pins set the direction of the two motors.
- ENA and ENB jumpers ON — with the jumpers on, both motors run at full speed. Remove a jumper and feed PWM on that pin to control speed.
- Motor power: connect a separate 5–12V motor supply (for example two 18650 cells) to the 12V input — never power motors from the Arduino 5V pin.
- Common GND: connect the driver GND to the Arduino GND, or the motors will not run properly.
- Motor outputs: OUT1/OUT2 for motor A, OUT3/OUT4 for motor B. Follow the labelled circuit diagram in our Robotic Car guide for the full wiring.
What you can build
An obstacle avoidance robot car, a line following robot, a Bluetooth-controlled car, a smart bell system, or any project with two DC motors. The L298N is the classic driver for Arduino robot cars — if your project has wheels, this is the module it needs.
You may also need
- Arduino Uno R3 SMD Board Kit — the board that controls the driver.
- Arduino Nano V3 ATmega328P — the compact board for smaller robot cars.
- HC-SR04 Ultrasonic Distance Sensor — distance sensing for obstacle avoidance.
- 4WD Smart Robot Car Chassis Kit — the chassis and motors this driver is made for.
- Robotic Car Complete Digital Product — full guide with circuit diagram and Arduino code for an obstacle avoidance robot car.
- 5-in-1 Smart Robot Car Kit — build five different robot cars with one kit.
- Obstacle Avoidance Robot Car (Assembled Kit) — the same car, ready-made.
How delivery works
Delivery all over Pakistan — Rs 450, 3–4 working days. Cash on Delivery and Direct Bank Transfer available.
Need help?
Message us on WhatsApp at +92-336-4459320 and we will help you wire the driver and test your motors. SCH (Smart Circuit Hub) — a ready-made system is available on order, contact us. Components are also available in our store.
Frequently Asked Questions
What is the price of the L298N motor driver in Pakistan?
Rs 367 (regular price Rs 421). Delivery is Rs 450 all over Pakistan, and Cash on Delivery is available.
How do I connect the L298N to Arduino?
Connect IN1–IN4 to four Arduino digital pins (our Robotic Car guide uses D8–D11), leave the ENA/ENB jumpers ON for full speed, connect the motor supply to the 12V input, and join the driver GND to the Arduino GND.
How many motors can the L298N drive?
Two DC motors, one on each channel, at up to 2A per channel. It can also drive one stepper motor. It cannot drive servo motors — servos connect directly to the Arduino.
What voltage supply does the L298N need?
The motors need a separate 5–12V supply, for example two 18650 cells (7.4V). The logic side runs on 5V from your Arduino. Never power the motors from the Arduino 5V pin — it cannot supply enough current.
Can the L298N control motor speed?
Yes. Remove the ENA or ENB jumper and send a PWM signal to that pin from your Arduino — a higher PWM value means a faster motor. With the jumpers ON, the motors always run at full speed.
Which projects use the L298N motor driver?
Almost every Arduino robot car: obstacle avoidance cars, line following robots, Bluetooth-controlled cars and 4WD chassis builds. See the Robotic Car guide and the 5-in-1 Robot Car Kit linked above.





Reviews
There are no reviews yet.