On Monday 09 November 2020 19:00:54 Gene Heskett wrote: > On Monday 09 November 2020 18:16:05 Chris Albertson wrote: > > No example hookups? The PDF you linked shows every wire and > > provides source code for software to control the motor. They use > > a pictorial diagram rather than a schematic. > > > > Then there are two links on the last page of the PDF. The first > > link is to a very easy to follow tutorial that explains a little of > > the theory of operation and how PWM and h-bridges work. > > > > I would suggest actually connecting this to an Arduino or the like > > to prove that it works. As you can see the microcontroller code is > > very simple and easy to read. It will be 1000 times more complex > > using LCNC, so I like to verify using Arduino. > > But Chris, I already have a control cable from the bob laying out > where I can play with it, and all I have to do is hook the control > signals to the correct places on the new board. If it moves the > motor, hook up the encoder cable too. If that works, take it apart > and make it neat. Its already all done in linuxcnc, why should I > learn a new processors language just to prove it does or does not > work? Seem like a good way to waste another 2 months, I can do it > tomorrow. I still have way more work than this making the motor mounts > and installing an index generator on the bs-1 so I can calibrate its > SCALE since I have no clue what the scale of the motors built in > encoder has, so measure it by 100 times past the index. And divide > the count difference by 100 for the SCALE. That code is also already > done, all I have to do is steer the motors encoder signals to the 2nd > encoder and steer that code to watch the 2nd encoder. Read the answer > with a halmeter. But its all commented out in the hal file as I knew > I'd need it again when I wrote it years ago. > Progress of sorts. Slower than I'd like, because;
The 2x4 pin pattern for the boards input is being a PITA, can't get the jumpers to stay plugged onto the pins, but I did find out the motor runs ok with no driver heat at all under dc drive, and while it jumps some getting started, it almost jumps off the table stopping, the crowbar effect is certainly present and accounted for. So I think its going to work quite well when I get the logic all wired up for a pwmgen mode 2. I was all hal'ed up for a mode 1 control, but this board is dumb, direct to the H-bridge so it needs pwmgen mode 2. Which changes the wiring some, plus I've wired up its own separate enable. So I'm taking a break while the goop sets up overnight. Maybe it will hold connections while I wire up the rest of it and test it by running it with linuxcnc. My little bowl of panther piss did not affect the dried pink stuff. So I guess I run it till the smoke comes out. I stopped at the rv place, and they have never had this happen with the stuff they sell, even if it sits in an rv system for years, so they had no clue how to attack it chemically to remove it. The filter is a little darker a pink, but the flow has not improved. So the pump is still running. Take care everybody. 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