Questions tagged [l298n]
73 questions
7
votes
1 answer
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-Dual-Moto/?ALLSTEPS
When I connect it to my laboratory…
ce_guy
- 73
- 1
- 1
- 5
4
votes
1 answer
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 to make a turn of 180° and I don't know the…
Victor Dika
- 41
- 1
3
votes
1 answer
NodeMCU V3 GOT OVERHEATED AND DIED
My NodeMCU V3 got overheated and died. Please help me figure out what i did wrong.
Brief Desrip: Project is an RC Car on ESPNOW Protocol. Transmitter setup have an Arduino Nano to take values from Two analogue joysticks and sends to a NodeMCU…
NonTechGuyinTech
- 31
- 1
3
votes
3 answers
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 controller's 5v pin.
I am connecting 7.5v to the…
Quazi Irfan
- 156
- 1
- 10
2
votes
2 answers
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.
Amit Nikhade
- 59
- 7
2
votes
2 answers
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 button or pot:
Only 1 motor, I am using a 2S lipo…
LonelyLodge
- 33
- 2
- 4
2
votes
0 answers
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 main difference between the two :
L298N :…
Himanshuman
- 121
- 1
- 3
2
votes
0 answers
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 triggered the support wheel. The support wheel is…
Rafi Ad-din
- 21
- 2
2
votes
2 answers
How to communicate between a webcam and an Arduino UNO and get the live feed on mobile using ESP8266?
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 is: If I want to get the live feed of the view…
Naved THE Sheikh
- 59
- 1
- 2
- 8
2
votes
1 answer
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 when I put them in the code together, only the…
Jim421616
- 188
- 2
- 11
2
votes
1 answer
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 IN2 = 8; // MCU Digital Pin 8 to IN2 on L298n…
Dixit
- 21
- 1
2
votes
2 answers
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 smartphone. Everything is working fine. But if a…
Joe Rakhimov
- 121
- 1
- 2
2
votes
0 answers
Servo.attach method causing strange issue
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 NiMH batteries. This battery source also powers a…
Don Grey
- 71
- 1
- 4
1
vote
1 answer
Linear actuator with L298N board
I have a linear actuator that has 4 cables coming out, which I can control with the following connections:
red + blue and black ⚫ + ⚪ white is going outside
red + ⚪ white and black ⚫ + blue is going inside
There is around 29 V going through those…
clankill3r
- 229
- 2
- 8
- 12
1
vote
1 answer
Motors whining and never spinning with L298N
I have a problem involving my ESP32, a L298n module, two whining motors and a 9V battery.
I've connected the battery positive 12 VDC to VCC, and the negative to GND.
Two 9V motors are connected to OUT1, OUT2 - OUT3 - OUT4.
My ESP32 is running off…
esp32daniel
- 21
- 2