Questions tagged [l298n]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
839 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
1k 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
183 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 ...
7
votes
1answer
23k 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
3k 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
3k 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
246 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
1k 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
258 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
4k 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
457 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
643 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
1k 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
2k 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 out ...

1
2