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
0answers
80 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 ...
0
votes
1answer
79 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 ...
0
votes
0answers
55 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 ...
0
votes
2answers
54 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 ...
1
vote
1answer
34 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 ...
0
votes
1answer
41 views

Using one DC motor driver for multiple motors that aren't going to be used simultaneously [closed]

I'm trying to control 20 DC motors with an Arduino but I don't have enough pins to connect all the motors simultaneously. I only need one of the motor running at a time. How can I switch between ...
2
votes
2answers
254 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 ...
2
votes
3answers
490 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 ...
9
votes
3answers
792 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 ...
0
votes
0answers
66 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 ...
2
votes
1answer
84 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. ...
1
vote
1answer
224 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 ...
0
votes
1answer
381 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 ...
0
votes
3answers
1k 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 ...
0
votes
1answer
161 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 ...
2
votes
3answers
2k 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 ...
0
votes
2answers
512 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?
1
vote
0answers
210 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 ...
0
votes
1answer
95 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 ...
0
votes
1answer
186 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
388 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 ...
0
votes
2answers
98 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 ...
12
votes
4answers
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 ...
0
votes
1answer
567 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 ...
0
votes
2answers
601 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 ...
0
votes
0answers
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 ?...
3
votes
3answers
602 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 ...
2
votes
0answers
438 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 ...
0
votes
1answer
76 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 ...
2
votes
2answers
10k 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 ...
0
votes
1answer
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 ...
0
votes
1answer
377 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 ...
0
votes
1answer
817 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 ...
0
votes
1answer
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....
0
votes
2answers
323 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 ...
0
votes
2answers
361 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 ...
-1
votes
1answer
638 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 ...
0
votes
2answers
94 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 ...
2
votes
0answers
563 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 ...
0
votes
1answer
387 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 ...
2
votes
2answers
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 ...
3
votes
2answers
850 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?
1
vote
1answer
435 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 ...
0
votes
2answers
843 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 ...
1
vote
1answer
587 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 ...
1
vote
2answers
3k views

Trouble with L297 pins

So I am having trouble with a circuit I am building for a stepper motor controller, I am currently following this schematic My problem is that I don't really know what the Vref, control, sync and ...
1
vote
1answer
920 views

L298 high side driver: how does this actually work?

I recently took another look at the L298 since some students were having problems (due to the commonly discussed high V_CE-on of the combined high side and low side drivers). One thing that struck me ...
33
votes
2answers
12k views

L293, L298 and SN754410 H-bridge drivers on low voltage power supply

This question is about the following three integrated H-bridge drivers: - L293 or L293D (D = protection diodes added) SN754410 (protection diodes included) L298 (no protection diodes) Time after ...
0
votes
1answer
2k views

Two L298N for two stepper motors

I have two stepper motors (ripped from old scanners) and two L298N ICs. I have to connect these motors to the STM32 MCU, and I'm going to use this scheme: I want to make one board for two motors just ...