Questions tagged [l298n]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Using an L298N driver together with servo motors on the same arduino

I'm using an L298N driver (powered by a 12V, 1.5A adapter) on a MEGA Sensor Shield (powered by a USB cable). Everything works fine and I can control the direction and the speed of the DC motor, ...
0
votes
0answers
42 views

Run DC motor with 2 limit switch and reverse delay time

I setup the feeding system with arduino uno, L298, dc motor and two limit switches. When i press the push button rotate CW and opened gate. All right up to here. But i want to make i pushed button ...
1
vote
1answer
16 views

Help Troubleshooting L298n connected to dc motor

I am relatively new to Arduino, and I am trying to power a DC motor with the L298N dual H-Bridge. I have done as follows: I am powering everything with the Arduino that is connected to the PC. (I know ...
0
votes
1answer
44 views

Motor isnt spinning when using L298N motor controller

I have a L298 motor controller connected to a motor with a 6 volt power sources. the motor however isn't spinning any ideas I'm using a esp 8266 node mcu board. I would like to use pwm but for right ...
2
votes
0answers
43 views

Problem in integrating speed sensor LM393 with L298N

I am currently working on a project that has an automatic support wheel for bicycle. The mechanism of this project is when the speed sensor is detecting the RPM of the rear bicycle wheel it will ...
0
votes
1answer
92 views

Not able to control DC motor speed with l298N & pwm pins

I am using arduino uno to control dc motor speed with L298N. But the problem is that the motor is only going at max speed. PWM pin doesn't work for some reason. I heard many people had some problem ...
1
vote
2answers
112 views

How to communicate between a webcam and an Arduino UNO and get the live feed on mobile using ESP8266? [closed]

I am working on a project of making a Smart Robot Car using Arduino UNO, L298N Motor Driver Module, ESP8266 Esp-01 WiFi module and RemoteXY app for controlling via smartphone over WiFi. My question ...
0
votes
1answer
151 views

How to control DC motor speed with L298N and Node MCU?

I want to control an RC car with a joystick in mobile. Currently, I can only make the motor move forward and backward but not able to control the speed. Node mcu is used as a processor to receive the ...
-1
votes
2answers
66 views

L298N Motordriver [closed]

I am working on a schoolproject for a line-following car. We are using 2 motors, which operate between 12-24 Volts ( https://uk.rs-online.com/web/p/dc-geared-motors/4130638/ ). We use 3 9V batteries ...
-1
votes
2answers
74 views

Powering L298N drivers from mains power supply [closed]

I am powering 2 stepper motors with an L298N driver each (from a 9V 2A external power supply powered from the mains: https://www.amazon.co.uk/BERLS-Power-Adapter-Elegoo-Connectors/dp/B07GSM6YLX/ref=...
-3
votes
1answer
96 views

Is not it possible to use more than 3 output pins in ESP8266 at the same time?

I'm trying to make a WiFi controlled Car from my old toy car which will be running on ESP8266. I'm using the L298N motor driver and have one motor for left-right control & other for forward-...
0
votes
1answer
71 views

Beginner problem with DC motor

I am new to electronics and I'm having a problem when creating my project. I have created a Bluetooth controlled rover using HC-06, Dual H-bridge motor driver and 4 DC motors. However, only two of the ...
0
votes
1answer
77 views

I want to make my stepper motor work for 1 hour [closed]

I already tried code that makes the stepper motor work for a few minutes only. I'm using a clock module, a DS1302 and the stepper library already present. Also the driver I'm using is an L298n. If ...
1
vote
1answer
982 views

Controlling motors and servo with L298N

I'm using an L298N to control the two motors of a robot car, and I also have a servo controlling the HC-SR04. The motors and sensor work fine together, and the servo and sensor work fine together. But ...
0
votes
1answer
2k views

L298N, HC-05 Simple Bluetooth remote car not running in Arduino

Arduino board type used in this session is Arduino Uno R3 DIP/SMD CH340 Below is the description of wiring and code in Arduino to assemble a Bluetooth RC car using android smartphone: Tested the ...
0
votes
1answer
585 views

Arduino RFID with motor and limit switches

Thanks for looking into my Arduino code. I'm building an automated sliding draw, and I'm trying to activate the motor with a RFID scanner. The scanner waits for the token, and once it detects a token ...
0
votes
1answer
207 views

L298 with stepper.h disable break

I try to control a Stepper motor with an arduino and a L298. I use the library stepper.h and it works well but i have a problem : the L298 become very hot. So i want to disable the break (the thing ...
0
votes
1answer
373 views

PWM should be applied to ENA or IN1/IN2 for L298N board for speed control

I am new to the Arduino stuff and I am using L298N to drive two DC motors. When I searched online for sample code, I noticed that there are two types of design. One type uses analogWrite(pin, ...
0
votes
1answer
311 views

Arduino 4wd rover [duplicate]

Guys i have made an arduino 4wd rover using L298N BRIDGE MODULE, HC-05 and Arduino uno but the power supply output of L298N was very low that even 1 motor is working too slow so please help me with ...
0
votes
1answer
894 views

DC motors not running using PWM and L298N motor driver

I'm just beginning to understand Arduino. Please bear with me. I have a collision avoidance car running on Arduino Uno, WB291111 L298N motor driver, SG90 servo, Arduino Shield v5, and HC-SR04 ...
0
votes
2answers
976 views

running a dc motor with a small L298N module and an arduino and the L298N library

I have a small L298N module which I would like to use to run a couple of dc motors. The module I have is smaller than most of the ones you see on eBay, it looks like this... I am trying to use the ...
-1
votes
1answer
42 views

Arduino connection with Arduino

I have 3 Arduino boards, let's call them be A, B, C. I'm connecting A with a bluetooth module and I'm getting the input from the bluetooth module. Now I want to send output from A using the digital ...
0
votes
1answer
129 views

L298 module - unusual power specs

I would like to purchase this dual H-bridge module. I plan on connecting it to an Arduino Uno. In the products datasheet the specified power supply (Vd) is 6.5-12V, and the voltage for the motor ...
0
votes
0answers
429 views

Servo motors suddely stopped moving and a clicking sound can be heard

I think I might have shorted something by accident. I have just purchased the Elegoo Robot Car Kit v2.0. Putting things together was relatively easy. I also managed to run the first example, which ...
2
votes
1answer
747 views

L298 works only when touched

The following image is my connection of l298 with Arduino. This is the program. int ENA = 10; // MCU PWM Pin 10 to ENA on L298n Board int IN1 = 9; // MCU Digital Pin 9 to IN1 on L298n Board int ...
1
vote
1answer
836 views

Weird behaviour of rotary encoder values

The plan is to control a NEMA 17 stepper motor with an endless rotary encoder. First, I found a code to read the rotary encoders data on www.HowToMechatronics.com by Dejan Nedelkovski. It basically ...
0
votes
1answer
150 views

Arduino powered car not running when touching ground

I hacked a cheap car I connected both motors to L298N Dual H-Bridge Motor Controller and all things are working good. Motors are running fast. But when I put the car on the ground to run. It runs so ...
5
votes
1answer
18k views

How to control a Nema 17 stepper motor with an arduino? (too much current / heat)

I am trying to control a Nema 17 motor with a L298n dual bridge and an Arduino Mega. My wiring is from this Instructable: http://www.instructables.com/id/Control-DC-and-stepper-motors-with-L298N-...
-2
votes
1answer
2k views

L298n - both outputs to one motor [closed]

how do I wire and drive 1 motor with the 2 outputs of the L298n motor driver module? (parallel the outputs)
2
votes
2answers
2k views

How to identify connection lost on HC-06?

I am making an RC car on Arduino Uno. I have connected an L298N motor driver to an Arduino Uno to control 2 DC motors. I also connected an HC-06 to the Uno to receive commands from an Android ...
0
votes
3answers
229 views

Arduino pins LCD and motor controller

I am using an L298N motor control. I want to use my 2*16 LCD. Can I use the code like this? // include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers ...
1
vote
1answer
780 views

`servo.attach()` paralyzing (one) motor on L298N

I have 2 DC motors (well, 4; but each pair is controlled by the same "signals") connected via a L298N, which is connected to the Arduino. In addition, I have a servo motor connected to the Arduino. ...
0
votes
1answer
235 views

Stepper motor release L298N [closed]

I'm Driving a stepper using a L298N driver and an arduino mega. I want to release the stepper after the movement so it can swing freely, because it gets hot, and it doesn't need to hold position. ...
0
votes
1answer
3k views

L298N vs Motor Shield R3

I'm new to Arduino and need some clarification on motor drivers. I was wondering if I can use a L298N instead of the Motor Shield R3, I hope not to be comapring apples to oranges, the doc of the ...
2
votes
0answers
277 views

Servo.attach method causing strange issue [closed]

I am using the L298N motor driver for a robotics project to control 4 motors. 2 motors in each input and output terminal. I have this connected to an Arduino Uno which is powered by about 7-8v from ...
4
votes
1answer
567 views

Arduino - stepper motor wrong steps number

I just bought a new stepper motor (400 steps for revolution, 0.9°/step) and I would like make a turn of 180° by 200 steps, but it doesn't work as expected. It looks like the motor needs only 110 steps ...
1
vote
1answer
843 views

How to control a DC Motor with Hall Encoder using Arduino and Motor Driver?

I'm using a DC motor with Hall Encoder. I bought it from DX. I have made all the connections to motor driver and arduino and I suppose all are correct. I've connected m1 and m2 pins of motor to that ...
0
votes
2answers
1k views

Powering two L298N motor boards with external supply [closed]

I have been struggling with this as I'm a complete electronics and arduino beginner. I am trying to power two DVD-drive stepper motors using two L298N motor boards. For some reason, I can't figure ...