Questions tagged [l298]

Anything related to the L298 integrated circuit. The L298 is a high voltage, high current dual full-bridge driver designed to accept standard TTL logic levels and drive inductive loads such as relays, solenoids, DC and stepping motors.

Filter by
Sorted by
Tagged with
1 vote
1 answer
93 views

Dual brushed motors digital controller works on only one side

I'm actually developing a way to control, digitally, the speed of brushed motors with a Raspberry Pi. To do so, I use the following diagram where: The raspberry controls the shift registers (purple) ...
user avatar
  • 63
0 votes
1 answer
40 views

PWM solid state relay output not well modulated with inductive load

I am attempting to control the current through a generator rotor by adjusting PWM input to a DC to DC solid state relay (SSR), specifically a TWTADE SSR-40DD. The power supply for the output side of ...
user avatar
1 vote
1 answer
119 views

Motor rotates well in one direction but runs slower in other with L298N and L293D [closed]

I connected two motors with an L293N driver. When I control it with my joystick, one motor works fine (Out 1 and 2 of driver). It rotates in one direction and the other very smoothly. The problem ...
user avatar
4 votes
1 answer
265 views

L298N constant output power

I have assembled the motor driver circuit using L298N seen below, hoping that it would work without any problem. For some reason that I do not understand, the output power is constant. I say constant ...
user avatar
0 votes
1 answer
54 views

Does this L298N H-bridge produce a PWM signal or a steady voltage as its output?

I am wondering if these l298 h-bridge packages produce an amplification of the PWM received from the micro-controller, or if they produce a fixed voltage. let's say I was viewing the output signal on ...
user avatar
  • 61
2 votes
1 answer
132 views

Random output in an optical encoder!

I have a DC geared motor with an optical encoder. I can read MITSUMI M25N-2R-14 2241 and 25GA-370-12V-330RPM on the motor. I'm using this simple code to control the position of shaft. it works fine ...
user avatar
  • 135
0 votes
1 answer
109 views

Will a regular neodymium magnet attract an electromagnet not currently being supplied with power?

I have a setup for one of my robotics projects where a neodymium magnet is placed across from an electromagnet. I power the magnet with DC through a L298N motor controller that is connected to an ...
user avatar
0 votes
0 answers
173 views

Output voltage from L298N

Is it normal to have a higher output voltage than expected from an L298N driver? I have read that there are voltage drops and it is usual to have lower output voltages, not higher ones. If it is a PWM ...
user avatar
  • 27
0 votes
2 answers
84 views

NPN on top of L298N H Bridge

I understand how an H Bridge works, but the common ones use pnp transistors on top and npn on bottom. In L298N's datasheet it is attached this circuit and I just can't figure out how the Vs is going ...
user avatar
  • 27
1 vote
1 answer
122 views

Where are the capacitors on the l298n module?

Note I am a beginner :) Looking at the l298n datasheet: https://www.sparkfun.com/datasheets/Robotics/L298_H_Bridge.pdf I noticed on the block diagram and "Pin Functions" table, there are ...
user avatar
2 votes
2 answers
531 views

My DC motor slows down and stops while using an L298N motor driver with an Arduino Uno

Whenever I run a program for running the DC motor, the motor suddenly slows down and finally stops, I don't know why it happens. I use an L298N motor driver, an Arduino Uno, and a 9V battery for motor ...
user avatar
2 votes
3 answers
631 views

Can we or should we parallel H-bridge module for increse current?

Can we parallel H-bridge input and output for increse current? For specific I select 2 case L298N (BJT based) TB6612FNG (Mosfet based) For L298N as shown in datasheet suggested to parallel chanel to ...
user avatar
  • 1,002
9 votes
3 answers
828 views

Problem with the L298 datasheet

I was studying the L298 datasheet and I noticed something; So basically an H-bridge contains two PNP and two NPN transistors as shown in the image: but in the datasheet, there are no PNP transistors ...
user avatar
0 votes
0 answers
74 views

Datasheets do not mention and explain enough about current

I'm trying to build my first IoT project. I'm using an L298 motor drive, an MCU-6050 6 axis gyroscope and accelerometer and an Arduino Due. When going through their datasheets, most of the tables and ...
user avatar
2 votes
1 answer
196 views

Heat sink for the L298 stepper driver IC

I am coming today to seek help from you for sizing a heat sink for the L298N IC. This Ic will be used to drive a 2A/phase stepper driver, supplied with a 12Vdc signal, and 5Vdc for the logical part. ...
user avatar
  • 21
1 vote
1 answer
395 views

How to interface with an H-bridge IC (L298N) using a single PWM pin

I would like to know if it's advisable to control an H-bridge IC (L298N) using a single PWM pin? Let me explain: By driving ENB pin High and by feeding complementary PWM (achieved by using a simple ...
user avatar
  • 13
0 votes
1 answer
620 views

How to use L298N motor driver with battery

I connected L298N motor driver (https://www.itead.cc/wiki/MotoMama) to 4x AA batteries in series (6V) connecting battery holder's positive terminal to Vsupply and negative terminal to GND which is ...
user avatar
0 votes
3 answers
2k views

How do I correctly power the l298n motor driver with 6v?

Recently, I have purchased the L298N Motor Driver with a couple of 3V-6V motors. I am planning to make a robot buggy to hold other projects I may do with the Raspberry Pi. Currently, I have been ...
user avatar
0 votes
1 answer
205 views

Powering an L298N's IC and an Arduino Uno R3 using an LM7805

Before i start i would just like to say that i am an absolute beginner at this, and this question might be a little silly. I'm trying to make a shield that'll go on top of an arduino uno. The shield ...
user avatar
2 votes
3 answers
3k views

L298N heating up when driving a Nema 17 with Arduino

I've just bought a Nema 17 (Motor NEMA 17 40mm 1,2A 2,6kg/cm 1,8º 42STH40 1204A CNC) to build a pet feeder, and to control it I'm using a L298N driver I've also bought. I've wired everything together ...
user avatar
0 votes
2 answers
665 views

Drive H-Bridge using analog signal instead of pwm? [closed]

Is it possible to drive an H-Bridge like the L298n using actual analog signals rather than digital PWM signals? If not, what would be the equivalent to an H-Bridge that allows for this?
user avatar
1 vote
0 answers
270 views

L298N motor driver not working after connecting SPST switch

So when I had all wired as depicted in the first image, it worked fine, no problems. The red LED on the L298N board was illuminated and the dc motor was following commands from my Raspberry Pi. Now I ...
user avatar
  • 13
0 votes
1 answer
126 views

DC Motor bridge driver L298N. Why separate the tracks after R sense resistors from GND plane?

The L298N datasheet says: The sense resistor, not of a wire wound type, must be grounded near the negative pole of Vs that must be near the GND pin of the I.C. why not in common GND plane? If I ...
user avatar
0 votes
1 answer
220 views

speed control PWM, DC motor, L298n with LPCxpresso 1549

this is my first post and I'm just asking a little bit about motor control in a team project, where I'm member of. This is a bit of a "not so serious" project so probably the solar panel system ...
user avatar
0 votes
1 answer
2k views

Review of PCB design L298n

I'm decided to finally make my motor driver boards but I'd be happy to have some feedback as it's my first PCB design. It's mostly based on the datasheet of the l298n chip. So there is nothing much ...
user avatar
0 votes
1 answer
494 views

DC motor driver response [closed]

I have some trouble about the response of the L298N DC motor driver. After some experiments, I have noticed that the output response of the L298N isn't linear. In particular, if i give a ramp input ...
user avatar
  • 91
0 votes
2 answers
110 views

Is the 5 V rail of an LM298 reliable?

I’m trying to build a simple robot using 4 DC motors with 2 LM298's controlled by node mcu and powered by LiPo 3s battery. Since powering the node mcu directly to the 3s LiPo(11. Iv) would be ...
user avatar
13 votes
4 answers
4k views

Why don't flyback diodes in H-bridge damage power supply?

I'm currently learning about driving a small DC motor (~ 5V). My research so far indicated that a L298N might be a good choice to quickly get something up and running. However, I'm also trying to ...
user avatar
  • 231
0 votes
1 answer
691 views

What PWM Frequency should be used for a 12V DC Gear motor?

I have this 12V DC Gear motor, but I can't find much info about it online. The reason I have bought it was that I found this particular motor across several tutorials on how to build an RC car. I ...
user avatar
0 votes
2 answers
654 views

Voltage lower than expected with Nema 17 stepper motor and L298N

I am using an L298N motor driver with a Nema 17 stepper motor. I am trying to use the motor to turn a valve, but there is not enough torque so the motor is skipping steps. I am controlling the motor ...
user avatar
0 votes
0 answers
2k views

Diagram of L298N with Arduino

1- Am I correct in my schematic if I want to connect L298N to arduino to drive 2 motors ? 2- are the resistors of 0.5 ohm mandatory ? (I saw them in datasheet) 3- Am I missing components in my scheme ?...
user avatar
3 votes
3 answers
677 views

Powering Stepper Motors Using Drivers

I am working on a project involving several stepper motors, I have chosen the L298N as the driver - and my system supply is a switching power supply 12V 15A. My question is, how can I connect the ...
user avatar
  • 137
2 votes
0 answers
488 views

L298 distorts signal

I connected STM32 F334R8 microcontroller to L298 H-bridge. I made some measurements. The problem is output signal on L298 has quite slow slopes and is not as sharp as input signal. I do not understand ...
user avatar
  • 125
0 votes
1 answer
79 views

Will this N-Channel Mosfet work as high-current motor controller?

We are building a mobile robot which will use two motors in a differential drive configuration to maneuver and move around, and we want to choose the right driver IC or transistor circuit for the job ...
user avatar
2 votes
2 answers
11k views

L298n PWM frequency

I'm using the L298 Dual H-Bridge to control a pair of 6V @ 1600mA DC motors for a line follower robot. I'm connecting "Enable A" and "Input 1" to Vcc and "Input 2" to uC with PWM. Which frequency do ...
user avatar
  • 165
0 votes
1 answer
1k views

L298N (via 74HC595) motor control - unexpected voltage & motor not spinning

(Corrected version as last text was somehow corrupted) I have made a circuit with L298N in order to control direction of 2 DC motors. When I power the circuit I noticed that voltage between 2 output ...
user avatar
0 votes
1 answer
435 views

Confusion about L297 pins

I'm developing the PCB of my L297-L298 stepper motor driver, but I have a doubt about the SENSE pins of the L297 I.C. I understand that the pin 13 and 14 of the L297 are used for controlling the ...
user avatar
0 votes
1 answer
862 views

NEMA17 Stepper motor not turning, but making very little noise [closed]

I have a NEMA17 stepper motor (2 Phase, Rated 12V, 1.2A/Phase) and I am trying to make it run with an L298N and a Raspberry Pi. Everything is wired up as shown below in the pictures. I use a 12V, 2A ...
user avatar
0 votes
1 answer
3k views

Selecting pwm frequency for speed control of a dc motor?

I am using L298 motor driver to drive motors (12v , 900mA),I am using PWM to control motor speed but the problem is 1.When I set PWM frequency to 100 Hz motor work with jerks no noise at all. 2....
user avatar
  • 9
0 votes
2 answers
353 views

L298 driver for two different DC motors

I have a L298N and I want to use it to drive two DC motors. The problem I face is that one motor is working at ~7.2V and the other one at 3.3V (it's a car, the 3.3v motor is used for steering). I will ...
user avatar
0 votes
2 answers
400 views

Servo conflicting with other dc motors

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

How should I power my robot using 7.2v [closed]

I am extremely puzzled on how to power my robot correctly. I would like to use 6 rechargeable aa batteries, 1.2v and 1300mAh each, to form 7.2v to power it (since it is what I have purchased and have ...
user avatar
0 votes
2 answers
99 views

Will this power source and setup work?

I am aware the arduino requires at least 250mA and to power several components 1 amp would be better. source [http://playground.arduino.cc/Learning/WhatAdapter] This is a motor the driver I am using ...
user avatar
2 votes
0 answers
628 views

Why are the power pins on an L298 H-Bridge named "Vss" & "Vs"

I understand that Vs is where the H-Bridge gets it's power for driving the motors and that Vss is used for driving the logic, and they both sink to a common ground named "GND". My question is why are ...
user avatar
  • 139
0 votes
1 answer
430 views

Why dc motor is buzzing when using it with XL6009 converter?

I have the following scheme RPI, L298n with 6v DC motor. I'm trying to add a XL6009 boost converter but set to boost 5v into 6v but sometimes the motor is rotating and sometimes is buzzing. Does this ...
user avatar
2 votes
2 answers
2k views

Current chopping with an h-bridge and PWM

I have some stepper motors and L298N dual h-bridge drivers. I can't find exact specs for the steppers,* but similar motors from another product line have rated voltages from 2.64v to 5.8v. Since most ...
user avatar
  • 135
3 votes
2 answers
868 views

Why are the capacitors on the image being used with the DC motor?

Why are the capacitors on the image being used with the DC motor? For my arduino aplication with L298n is ok to keep or remove them?
user avatar
  • 139
1 vote
1 answer
472 views

Mosfet to save power

I am making a battery powered project which involves bi-directional motor control. However motor needs to turn rarely (about 10-20 seconds in 24 hour period). I am using L298 motor driver. However the ...
user avatar
  • 7,532
0 votes
2 answers
867 views

Using an L298 to drive 2 unidirectional and 1 birectional motor simultaniously

First up I am not an EE and am fairly new to this, so please forgive my ignorance. I have a project that requires me to control 2 unidirectional and 1 bidirectional brushless DC motor at the same ...
user avatar
1 vote
1 answer
615 views

How to put these together and do I need a PWM expander?

I'm having here an Atmega8 a PSM42BYGHW603 stepper motor the L298 stepper motor driver and ...
user avatar