Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #26339

Re: L298 PWM Problem

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups comp.arch.embedded
Subject Re: L298 PWM Problem
Date 2017-03-29 18:58 +0300
Organization A noiseless patient Spider
Message-ID <obgld5$8hq$1@dont-email.me> (permalink)
References (1 earlier) <obatgd$mnq$1@dont-email.me> <q7ydnQ8IucYK30TFnZ2dnUU7-fWdnZ2d@giganews.com> <-_WdnZ8_Oa3YCkbFnZ2dnUU7-WHNnZ2d@giganews.com> <obg5vd$j83$1@dont-email.me> <DN2dnXFUrZB7P0bFnZ2dnUU7-bPNnZ2d@giganews.com>

Show all headers | View raw


On 29.3.17 15:04, engineergc wrote:
>> On 29.3.17 14:15, engineergc wrote:
>>
>>> P1.1>>IN1
>>> P1.2>>IN2
>>> P1.3>>IN3
>>> P1.4>>IN4
>>> P1.6>>ENA&ENB(I connected pwm output to both ENA and ENB pins of L298
>>> motor driver card.
>>> Also Motor outputs are connected to OUT1,OUT2,OUT3 and OUT4 connectors
> as
>>> respectively.
>>> Then, GND of MSP430 and gnd of 9V battery are connected to GND
> connector
>>> of L298.
>>>
>>>     This code can turn motor(motor that connected to OUT1 and OUT2) as
>>> fastly. But if I try to turn other motor with this code, motor can not
>>> turn.
>>> I connected to pwm output P1.2 to ENB and P1.1 to IN3 and P1.3 to IN4.
>>>     I spend many time to find my error. Why I can not turn 2 motors
>>> simultaneously with PWM? Where is my fault? Could you help me please?
>>
>> 1. Are you attempting to run two motors and the processor from a single
>>    9V battery (IEC 6F22)?
>>
>> 2. Have you noticed that the MSP processor has to have an output high
>>    voltage at most L298 voltage feed - 2.5V?
>>
>    I fed MSP430 from computer via USB and I fed two motors from single 9V
> battery.

The IEC 6F22 battery is probably too small to run even a single motor
reliably, lest two. Have you tried to run both motors together from the
single battery at the same time?

-- 

-TV

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-26 22:49 -0500
  Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-26 23:07 -0500
  Re: L298 PWM Problem Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-03-27 14:39 +0300
    Re: L298 PWM Problem Tim Wescott <tim@seemywebsite.com> - 2017-03-27 11:49 -0500
      Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-29 06:15 -0500
        Re: L298 PWM Problem Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-03-29 14:34 +0300
          Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-29 07:00 -0500
          Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-29 07:04 -0500
            Re: L298 PWM Problem Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-03-29 18:58 +0300
              Re: L298 PWM Problem Tim Wescott <tim@seemywebsite.com> - 2017-03-29 11:19 -0500
        Re: L298 PWM Problem Tim Wescott <tim@seemywebsite.com> - 2017-03-29 11:32 -0500
  Re: L298 PWM Problem Tim Wescott <tim@seemywebsite.com> - 2017-03-27 11:50 -0500
  Re: L298 PWM Problem Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-03-27 21:12 +0300
    Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-29 05:52 -0500
      Re: L298 PWM Problem "engineergc" <116985@EmbeddedRelated> - 2017-03-29 06:22 -0500

csiph-web