On Sunday 15 November 2020 12:45:46 Dave Cole wrote:

> On 11/13/2020 1:24 AM, Gene Heskett wrote:
> > On Thursday 12 November 2020 20:50:10 Dave Cole wrote:
> >> Gene,
> >>
> >> Where did you buy that H bridge board ?  Ebay ?
> >>
> >> Dave
> >
> > Yes, Thats a BTS7960 board. I tried it out tonight, ran the motor at
> > about half speed for about half an hour. No detectable heating of
> > the motor or the device. Running on a 350 watt 24 volt switcher.
> > Found I needed to do some work on the hal file as I was only getting
> > encoder B output back into the 5i25 encoder.01. Probably have an
> > is_output being applied to one of the gpio's that is an input on the
> > bob. But by then I was beat, so that is tomorrows troubleshooting
> > job. For a full test I need to dummy up a hone switch for an index
> > on the the motor since its not yet mounted on the BS-1. Need to
> > figure out how to put one on it that is still out of the way and
> > protected. Someplace behind the front disk I think, and detect a
> > passing screw with an ATS-667 should work ok. Just have the find the
> > giddy-up to do it. I'm finding that with a 30% pump, my giddy-up
> > goes away too easy.  That and make a couple saddles to put the motor
> > in strong enough it won't get knocked coocoo by the choker straps I
> > handle the BS-1 with as its about 200 lbs with the motor and 160mm 3
> > jaw mounted.
> >
> > Take care and stay well, Dave.
>
> Thanks Gene,
>
> I want to try out that H bridge.    The price is certainly right!
>
> Dave
>
This one doesn't run pulse and dir, aka the default pwmgen mode 1, but 
mode 2 in the pwmgen. You'll have to set that in the main .hal file. It 
will likely need lots of Pgain in the pid settings because my motor 
needs about a 10% duration of pulse before it starts creeping along. 
YMMV, but that typical of brushed motors.

But I may have mucked the encoder, I get good looking, excellent 
quadrature signals to a 10x scope probe, but the instant I feed it into 
a BoB with opto inputs, the encoders output looks like its driving a 
0.1uf capacitor.  I've swapped Bobs, and I have 2 more ordered in case 
my spares are toasted.  If that doesn't fix it, I'll have to buffer it 
in a 74HCT245.

Take care Dave.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to