Questions tagged [l298n]
The l298n tag has no usage guidance.
64
questions
1
vote
0answers
37 views
l298N PWM motor control with Uno is not functioning correctly
I'm working on a self-balancing robot. The self-balancing is not the issue. The issue is that the motors don't respond as they are supposed to.
I would understand if it were unable to balance, but the ...
0
votes
1answer
47 views
INA219 with L298N POWER LOGGER
I Have been working on a power logger with INA219 and L298N
the thing is, the voltage and current displayed on Serial Monitor is not the same on my multimeter.
the Arduino is connected to the pc to ...
1
vote
2answers
55 views
How to power Arduino Uno from L298N motor driver's 5v terminal?
I am trying to setup L298N motor driver controller with my Arduino. Different online schematics about how to connect them are mostly similar - but they differ in powering the Arduino from the drive ...
0
votes
2answers
38 views
Stepper not working properly using L298N
If googled and search here but can't find the same issue.
I'm using an Arduino Uno, L298N driver (5v jumper is off - actually just 2 holes where the jumper pins were supposed to be), scavenge stepper ...
1
vote
2answers
45 views
l298n voltage loss when motor attached
Im trying to power a brushless DC Motor (Tamiya 300054358) through the l298n attached to an Arduino.
The l298n is powered by an external 9V source and the logic of the l298n is powered by the Arduinos ...
0
votes
1answer
40 views
L298N regulated output is greated than 5V
A few months ago I used a L298N module (actually the Velleman VMA409) and I managed to make my motors working fine.
However now that I want to reuse it for another project something seems off: The ...
2
votes
2answers
49 views
How can we know the status of the DC Motor whether it is ON or OFF
A DC motor is operated using an L298n driver and Arduino UNO. How can I get to know whether the Motor is ON or OFF? Using a code in Arduino.
0
votes
1answer
99 views
How can I use separate power source for the Arduino and the motors
How can use a separate power source for powering Arduino, and another battery for powering the motors?
How can I make connections through the motor driver module L298N? I know how normally we use one ...
1
vote
2answers
100 views
Arduino Vin pin does not work, but Arduino 5v pin power works
I have a very weird problem, at least it seems to me that way. I have connected L298N motor driver, Arduino and a hobby servo with a 6v power supply (tested with both 4xAA and 9v alkaline batteries). ...
1
vote
1answer
66 views
having problems with my arduino bluetooth car project(with L298n Motor Driver)
so the scenerio is i am making a bluetooth controlled car(voice control)+obstacle avoidence function.I am using arduino uno with L298n motor driver and a HC-05 BT module in the sensors i am using the ...
1
vote
2answers
219 views
L298N motor driver and battery issues
I'm trying to build an Arduino 4WD smart car. so i connected my l298N motor driver module with my v4 shield and used a 4 x 1.5v AA batteries to try and power my 4 motors up. i connected 2 of the ...
1
vote
1answer
60 views
Possible noise from the motors
I'm trying to control a self-balancing car, but it seems that the MPU6050 get dirty once my motors operate a full velocity.
I'm controlling my motors with the module L298N and with the PWM signal (pin ...
1
vote
1answer
140 views
L298N Motor Driver with Nodemcu/ESP32
I have seen a lot tutorials on L298N motor driver with nodemcu and ESP 32, which are 3.3v logic boards where the motordriver is a 5v logic board, now in Arduino while doing speed control 255 means 5v ...
1
vote
1answer
75 views
can i use L298N H bridge with 12v 7AH battery?
guys i am working on a rare project so i just need to ask some questions
I have a L298N H bridge motor driver, a Aduino uno board, 12v dc 4000rpm 2ampere motor and a 12v 7ah battery
I just want to ask ...
0
votes
0answers
35 views
L298N bridge is returning incorrect values from enA pin
I want to read enA pin value with analogRead(enA); in my Arduino, but this pin is returning weird values between 200 and 400 even if motor is not running. I need to send state of the motor back to my ...
0
votes
1answer
57 views
Using L298N bridge to control smart lock
I want to use L298N bridge to power up and control simple smart lock. It requires 12V power supply, so I've used L298N bridge to power this smart lock.
I removed jumper from enA pin and connected enA ...
0
votes
0answers
104 views
L298N Gradual Voltage Drop
I have connected my motors to L298N and it in turn to arduino. My battery is ~18 V and i used a boost converter to get 12.99V. When I run my program on Arduino Mega, I check the output voltage from ...
0
votes
2answers
482 views
Power 5v from l298n to 5v pin arduino
im using the l298n module, and 3x 18650 batterys (near 12v total), and supplying 12v to the 12v pin of the l298 module. Can i use the 5v pin of the module to power the 5v pin of arduino? Or i need a ...
-2
votes
1answer
33 views
L298N Motor Driver - Code issuing “expected primary-expression before '=' token”
Programming Questions / L298N Driver - Code Issuing - " expected primary-expression before '=' token"
Today at 07:20 pm
Hello Arduino Community,
Code is shown at bottom - please read below
I've been ...
2
votes
2answers
2k views
L298N Dual Motor Controller Enable Pin has power but motors not working
I am trying to get the L298N to work with a simple DC motor.
For now, I have simplified the setup and the code to the basics to try to get it to work. I am using the following wiring setup with no ...
0
votes
1answer
61 views
DC Motor Control L298N
I am trying to control the speed of two motors using L298N. I use "Arduino Nano ATmega 168". I change the analogWrite between 0-255 but I cannot see any difference. When I assign it to something like ...
1
vote
0answers
1k views
Difference between L298 and L298N motor driver
I was planning to buy a motor driver for my project purpose, but I don't understand which motor driver will suit my purpose. As there are two motor drivers available online. Can someone explain me the ...
1
vote
0answers
894 views
Please help! My Bluetooth Controlled Car Isn't working
I followed this tutorial: enter link description here
I built it according to the schematic except I didn't connect an LED (I assume this isn't the problem). This is the schematic:
I'm a beginner so ...
0
votes
3answers
30 views
Help me get my robotic car to work?
So I recently followed a tutorial on youtube and I've assembled the car and connected all the wires.
What I've done:
Car
Now in the video, when the guy connects all the wires, the wheels constantly ...
0
votes
2answers
153 views
L298N motor driver issue
I am facing the same issue with my motor driver. Initially I ran the code and connected the L298N with Arduino and it worked fine. At that time motors were running absolutely fine. But when I ran it ...
0
votes
1answer
241 views
can I check if why my motor isn't working?
I am currently using the arduino Uno connected with L298N(green pcb) connected to a dc motor rated 12V. I provided dedicated 12v power supply to the dc motor and the arduino board's power is supplied ...
0
votes
1answer
642 views
L298N beeps and malfunctions when receiving certain analogWrite values
I created a simple circuit with an UNO, L298N and a single motor.
Wrote the following code to test controlling the speed of the motor.
Tested motor with digitalWrite() function and it works fine.
...
-1
votes
1answer
207 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
1answer
388 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
294 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
138 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
2answers
852 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
4k 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 ...
-1
votes
1answer
981 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
150 views
L298N Motordriver [closed]
I am working on a school project for a line-following car. We are using 2 motors, which operate between 12-24 Volts. Link.
We use three 9 V batteries in series to get 27 V. When we connect this to ...
-1
votes
2answers
283 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
160 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
131 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
118 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 ...
2
votes
1answer
3k 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
4k 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
1k 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
528 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
762 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
909 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
1k 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
1k 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
46 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
154 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 ...
1
vote
0answers
827 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 ...