Hello Sir,

Seth here. Please view this photo of my L298 Board:

<https://lh3.googleusercontent.com/-onhva_QOKrI/Wuy9QwO6QnI/AAAAAAAAJ6k/ip5cNEuXMeMjSIlxKovrNnVpKw6EYPcjgCLcBGAs/s1600/L298%2BBoard.jpg>

Sir,

Hello...this is the board. I read over the ideas you prompted me to 
understand. I will read the spec. sheet again (over and over). I realize I 
was missing ideas relating to this board. Thank you for bringing it to my 
attention. 

...

I will try some software that will get posted here but much later. I think 
this photo should describe some ideas that we were both lacking to 
understand b/c of our communication.

Seth

P.S. Thank you again for your service. 





On Friday, May 4, 2018 at 8:45:14 AM UTC-5, Dennis Lee Bieber wrote:
>
> On Thu, 3 May 2018 19:47:40 -0700 (PDT), Mala Dies 
> <[email protected] <javascript:>> declaimed the following: 
>
> >Hello Sir, 
> > 
> >Just for a test, I ran the software for PWM while I had the LED attached 
> to 
> >the BBB. The LED turned on. Do you think it may be the L298 board? 
> > 
>
>         No... I'm going to be somewhat blunt -- I think it is your 
> understanding of how the motor controller board works. (I'm also assuming 
> that you have the chip properly wired with the resistors and capacitors 
> recommended by the spec sheet... AND that the 3.3V HIGH from the BBB is 
> sufficient to be detected by the controller which was designed to work 
> with 
> 5V TTL level signals [TTL High is supposed to be around 2.4V, CMOS High is 
> 70% of voltage, or 3.5V for 5V supply]) 
>
>         In pretty much all of your examples, you were setting both control 
> pins 
> for a motor to the same value... And since you never had ENable and both 
> motor control inputs in the same program the odds are that anything could 
> be happening... The same value on the control inputs means "STOP" -- so of 
> course the motor is not spinning (even if you ENabled it). 
>
>
>         To test one motor you'll need three GPIOs (I'm going to call them 
> EN_A, 
> IN_A1, IN_A2) 
>
> Initialize: 
>
>         Set all three to OUTPUT mode 
>         Set EN_A to LOW (turn off motor controller) 
>         Set IN_A1 and IN_A2 to LOW (ensure motor STOP settings) 
>
> then 
>
>         Set EN_A to HIGH (turn on motor controller, motor still stopped) 
>         delay some 
>
>         Set IN_A1 to HIGH (motor should spin) 
>         delay some 
>
>         Set IN_A2 to HIGH (motor should stop) 
>         delay some 
>
>         Set IN_A1 to LOW (motor should spin in opposite direction) 
>         delay some 
>
>         Sent EN_A to LOW (motor should coast to a stop) 
>
> test done 
>
>
> -- 
>         Wulfraed                 Dennis Lee Bieber         AF6VN 
>         [email protected] <javascript:>    
> HTTP://wlfraed.home.netcom.com/ 
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8b4b133b-bd79-49db-b93d-c94f56583297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to