Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 22:44:37 R C wrote: > well,  I can calculate what the speed needs to be, also I can actually > "observe" it too..  by pointing the  telescope at a star and see how > much the deviation is.  I have encoder to check the actual speed of a > shaft. > > I found some information i

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread Chris Albertson
On Mon, Jul 13, 2020 at 7:28 PM R C wrote: > Interesting, > > > but I already have the motors, and the gears are on their way. What > I was really looking for is how to drive the stepper-drivers, he DM542 > series ones. > Do you have the user manual for the DM542? If not look at the top t

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 20:12:09 Chris Albertson wrote: > Displacement of the cross slide while cutting a hex head is > proportional to the sin of the spindle angle. Very much like the > height of a piston is proportional to the angle of the crank Yes, but for a siggen's sine output, one would ne

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread R C
yup exactly,  actually in a way  so I can point at things that you can't really see but  would need longer exposures for. On 7/13/20 9:28 PM, Chris Albertson wrote: On Mon, Jul 13, 2020 at 8:02 PM Dave Matthews wrote: It may just be my age but wouldn't it be easier to just use a 555 (do they

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread R C
yeah that would be easiest,  but I want to do something similar for azimuth and altitude. On 7/13/20 9:00 PM, Dave Matthews wrote: It may just be my age but wouldn't it be easier to just use a 555 (do they still make them) and a knob to tweak the pulse rate to match the star? Add a slew button

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread Chris Albertson
On Mon, Jul 13, 2020 at 8:02 PM Dave Matthews wrote: > It may just be my age but wouldn't it be easier to just use a 555 (do they > still make them) and a knob to tweak the pulse rate to match the star? That would be easy but I think there is some plan to have a "go to" ability where the 'scope

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread Dave Matthews
It may just be my age but wouldn't it be easier to just use a 555 (do they still make them) and a knob to tweak the pulse rate to match the star? Add a slew button to change the speed while the button is pushed and a direction switch to toggle the direction pin on the driver. I guess I don't see

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread R C
well,  I can calculate what the speed needs to be, also I can actually "observe" it too..  by pointing the  telescope at a star and see how much the deviation is.  I have encoder to check the actual speed of a shaft. I found some information in a manual/tech-sheet that comes with the drivers,

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread Chris Albertson
A fast control loop that drives each motor at a given speed and a second slower control loop that figures out what that speed should be. The second loop typically uses "PID" even if only in fact the "P" is used. That can be used to drive any number of motors all at their correct speeds. On Mon

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread R C
Interesting, but I already have the motors,  and  the gears are on their way.   What I was really looking for is how to drive the stepper-drivers, he DM542 series ones. Ron On 7/13/20 7:53 PM, cogoman via Emc-users wrote: I recently discovered geared stepper motors. http://www.zyltech.

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-13 Thread cogoman via Emc-users
I recently discovered geared stepper motors. http://www.zyltech.com/nema-17-stepper-motor-geared-planetary-gearbox-1-7-a-3-1-nm-435-ozin/ I've been happy with zyltech in the past.  I bought one of these for evluation, but the specs seem to be great for CNC. Low enough current to work with a st

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Sam Sokolik
Andy has already done that.. https://youtu.be/fo7SwanH50I On Mon, Jul 13, 2020, 8:11 PM Gregg Eshelman via Emc-users < emc-users@lists.sourceforge.net> wrote: > Running it like that should make it possible to cut teeth on thread taps > with relief. Thread it 'lumpy', mill out most of the chip gr

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gregg Eshelman via Emc-users
Running it like that should make it possible to cut teeth on thread taps with relief. Thread it 'lumpy', mill out most of the chip grooves, harden then grind to sharpen. Used to be mechanical drive attachments for some lathes to move the cross slide in and out for cutting threads for taps.

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Chris Albertson
Displacement of the cross slide while cutting a hex head is proportional to the sin of the spindle angle. Very much like the height of a piston is proportional to the angle of the crank Draw a picture of a hexagon and then make a line that crosses one of the flats at some odd angle. Figure out h

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Leonardo Marsaglia
> > Pretty nice subject to dig into. In the last few days I returned to the > Cam Design and Manufacturing handbook of Rober L. Norton to try and emulate > the lobes I'm doing mostly and get the equations right. I'm not gonna lie, > it's not an easy subject and I'm getting too much info too hard to

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Leonardo Marsaglia
> > In an ideal world, where Peter has infinite amounts > of time and interest, the entire hal ecosystem could > be put on the fpga. Practically, though, it is tricky to > figure out exactly where the line should be drawn > between servo thread modules running in the main > processor and "base thr

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Sam Sokolik
My initial component was based on this formula.. (after racking my brain on how to do the math - I googled) https://math.stackexchange.com/questions/41940/is-there-an-equation-to-describe-regular-polygons/41954#41954 It has slightly more smarts to do slaved radius and such - oh - and I hacked i

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 13:56:47 Chris Albertson wrote: > Actually making a hex head on the lathe would best be done using a > microcontroller. FPGAs can compute trig functions but I think the > method used is to first implement a "soft CPU" and then run code > written in C that uses math.h Tha

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Chris Albertson
Actually making a hex head on the lathe would best be done using a microcontroller. FPGAs can compute trig functions but I think the method used is to first implement a "soft CPU" and then run code written in C that uses math.h That is a silly-expensive why to replace a $5 STM32 chip. But real

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 12:44:06 andy pugh wrote: > On Mon, 13 Jul 2020 at 17:35, Gene Heskett wrote: > > ROTFLMAO, Peter see's right thru us. ;-) But seriously, the FPGA > > does seem like the ideal place for such a module. > > I disagree, it's a TC / servo thread thing TC? That servo-thread, a

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Stuart Stevenson
A couple ounces of glenlivet will help you go to sleep. You are welcome 😁 Stuart On Mon, Jul 13, 2020, 12:14 PM Ralph Stirling wrote: > In an ideal world, where Peter has infinite amounts > of time and interest, the entire hal ecosystem could > be put on the fpga. Practically, though, it is tr

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Ralph Stirling
In an ideal world, where Peter has infinite amounts of time and interest, the entire hal ecosystem could be put on the fpga. Practically, though, it is tricky to figure out exactly where the line should be drawn between servo thread modules running in the main processor and "base thread" component

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Peter C. Wallace
On Mon, 13 Jul 2020, andy pugh wrote: On Mon, 13 Jul 2020 at 17:35, Gene Heskett wrote: ROTFLMAO, Peter see's right thru us. ;-) But seriously, the FPGA does seem like the ideal place for such a module. I disagree, it's a TC / servo thread thing -- atp Right, the actual limitation is

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread andy pugh
On Mon, 13 Jul 2020 at 17:35, Gene Heskett wrote: > ROTFLMAO, Peter see's right thru us. ;-) But seriously, the FPGA does > seem like the ideal place for such a module. I disagree, it's a TC / servo thread thing -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed fo

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 12:00:19 Peter C. Wallace wrote: > On Mon, 13 Jul 2020, Ralph Stirling wrote: > > Date: Mon, 13 Jul 2020 13:15:27 + > > From: Ralph Stirling > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > Subject: Re: [Emc-use

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Monday 13 July 2020 09:15:27 Ralph Stirling wrote: > Perhaps Peter could write a hostmot2 axis offset module that would run > in the fpga. No base thread needed. I think thats a jolly fine idea. But I'd not have a clue where to start. > > -- Ralph > > On Jul 13, 2020 12:24 AM, Gene Heskett w

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Peter C. Wallace
On Mon, 13 Jul 2020, Ralph Stirling wrote: Date: Mon, 13 Jul 2020 13:15:27 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Because the hardware store was 4 miles away... Perhaps Peter could write a

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Sam Sokolik
There is no base thread currently. On Mon, Jul 13, 2020, 10:51 AM Ralph Stirling wrote: > Perhaps Peter could write a hostmot2 axis offset module that would run in > the fpga. No base thread needed. > > -- Ralph > > On Jul 13, 2020 12:24 AM, Gene Heskett wrote: > CAUTION: This email originated

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Ralph Stirling
Perhaps Peter could write a hostmot2 axis offset module that would run in the fpga. No base thread needed. -- Ralph On Jul 13, 2020 12:24 AM, Gene Heskett wrote: CAUTION: This email originated from outside the Walla Walla University email system. On Sunday 12 July 2020 22:44:05 Leonardo Mar

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Peter C. Wallace
On Sun, 12 Jul 2020, Sam Sokolik wrote: Date: Sun, 12 Jul 2020 21:42:23 -0500 From: Sam Sokolik Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Because the hardware store was 4 miles away... On Sun, Jul 12, 2020 at 1:50 PM Sa

Re: [Emc-users] polar co-ords Q

2020-07-13 Thread andy pugh
On Mon, 13 Jul 2020 at 01:17, Chris Albertson wrote: > "Everyone" uses the Right-Hand Rule. Using your right-hand curl your > fingers and point your thumb up. Off topic.. Some years ago a student I vaguely knew through the fire engine club at the college was shown a picture of two people clear

Re: [Emc-users] Because the hardware store was 4 miles away...

2020-07-13 Thread Gene Heskett
On Sunday 12 July 2020 22:44:05 Leonardo Marsaglia wrote: > > Currently - there is no way to adjust it. I do run the > > acceleration and velocity as high as I can. (on the emco it is in > > above 50in/s^2) I do have some math that calculates the following > > error of the shape (actual shape