¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

#LATHES Spindle Encoder Update #LATHES


 

I have my new installed.
And now my Encoder!



I am struggling to find some Arduino Rotary Encoder RPM code that actually works.
I have found sketches that almost work, but are unstable, the rpm keeps changing.
And a lot of code that just does not work.

My encoder is set for 800 ppr (pulse Per Revolution).
I will mount the encoder today.

I know RELS would probable just work but I really am just looking for Motorized Z at the moment.
Oh did you see I have a rough prototype mounting for my Z stepper motor. That needs a lot of work.
I can feel the motor binding when I turn the leadscrew.?

Ralph

--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

¿ªÔÆÌåÓý

Wow.? That's quite the belt.

John

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-18-20 9:01 AM
To: [email protected]
Subject: [digitalhobbyist] #LATHES Spindle Encoder Update

?

I have my new installed.
And now my Encoder!



I am struggling to find some Arduino Rotary Encoder RPM code that actually works.
I have found sketches that almost work, but are unstable, the rpm keeps changing.
And a lot of code that just does not work.

My encoder is set for 800 ppr (pulse Per Revolution).
I will mount the encoder today.

I know RELS would probable just work but I really am just looking for Motorized Z at the moment.
Oh did you see I have a rough prototype mounting for my Z stepper motor. That needs a lot of work.
I can feel the motor binding when I turn the leadscrew.?

Ralph

--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

Overkill? I did not want to modify the spindle to add the encoder so I just matched the stock end gear.
It took about 5 tries before I got the Urethane to buttfuse correctly. The seller said one could just use a soldering iron, I have plans to make a fusion tool then I could sell belts on ebay. I had to buy 10' so if anyone needs a urethane 1" belt let me know.
I could have used a smaller belt but 1" is what I got.

Ralph

On Wed, Mar 18, 2020 at 12:21 PM John Dammeyer <johnd@...> wrote:

Wow.? That's quite the belt.

John

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-18-20 9:01 AM
To: [email protected]
Subject: [digitalhobbyist] #LATHES Spindle Encoder Update

?

I have my new installed.
And now my Encoder!



I am struggling to find some Arduino Rotary Encoder RPM code that actually works.
I have found sketches that almost work, but are unstable, the rpm keeps changing.
And a lot of code that just does not work.

My encoder is set for 800 ppr (pulse Per Revolution).
I will mount the encoder today.

I know RELS would probable just work but I really am just looking for Motorized Z at the moment.
Oh did you see I have a rough prototype mounting for my Z stepper motor. That needs a lot of work.
I can feel the motor binding when I turn the leadscrew.?

Ralph

--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Richard
 

I should think so when you have it mounted on a bit of thin sheet! What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
Oh did you see I have a rough prototype mounting for my Z stepper
motor. That needs a lot of work.
I can feel the motor binding when I turn the leadscrew.


 

That was a first try at getting something to at least hold the motor close to where it might go. I have other mounting ideas also.

The leadscrew is??¡±-8 Acme here is the?439

Ralph

On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...> wrote:
I should think so when you have it mounted on a bit of thin sheet! What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
> Oh did you see I have a rough prototype mounting for my Z stepper
> motor. That needs a lot of work.
> I can feel the motor binding when I turn the leadscrew.





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Richard
 

I feel that you are seriously underpowered. If using a 3Nm stepper I
would run it at 2 to 1 or more with an 8tpi screw.
Richard

On 18/03/2020 17:33, Ralph Hulslander wrote:
That was a first try at getting something to at least hold the motor
close to where it might go. I have other mounting ideas also.

The leadscrew is ?¡±-8 Acme here is thestepper motor
<>?439
oz.in <>

Ralph

On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
<mailto:edelec@...>> wrote:

I should think so when you have it mounted on a bit of thin sheet!
What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
> Oh did you see I have a rough prototype mounting for my Z stepper
> motor. That needs a lot of work.
> I can feel the motor binding when I turn the leadscrew.





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
press, 40 watt laser, Consew brushless DC motors and a non working 3D
printer


 

Thanks Richard, In all of my reading there never was anything definitive?said about sizing the stepper so that was my best guess, I thought they looked small. Luckily, I only have the prototype mounting so I can do other mounting and use pulleys for gear change.?

Gee I wonder if my 1" urethane belt would work?

Ralph

On Thu, Mar 19, 2020 at 3:13 AM Richard <edelec@...> wrote:
I feel that you are seriously underpowered. If using a 3Nm stepper I
would run it at 2 to 1 or more with an 8tpi screw.
Richard

On 18/03/2020 17:33, Ralph Hulslander wrote:
> That was a first try at getting something to at least hold the motor
> close to where it might go. I have other mounting ideas also.
>
> The leadscrew is ?¡±-8 Acme here is thestepper motor
> <>?439
> <>
>
> Ralph
>
> On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
> <mailto:edelec@...>> wrote:
>
>? ? ?I should think so when you have it mounted on a bit of thin sheet!
>? ? ?What
>? ? ?Torque motor is that? and what pitch leadscrew?
>? ? ?Richard
>
>? ? ?On 18/03/2020 16:00, Ralph Hulslander wrote:
>? ? ?> Oh did you see I have a rough prototype mounting for my Z stepper
>? ? ?> motor. That needs a lot of work.
>? ? ?> I can feel the motor binding when I turn the leadscrew.
>
>
>
>
>
> --
> Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
> press, 40 watt laser, Consew brushless DC motors and a non working 3D
> printer
>





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

Hi, Ralph,

I spent 33 years working for a company that manufactures shaft encoders, and part of my responsibilities included helping customers design them in to their application. One often overlooked aspect of application design is the radial load on the encoder shaft. The bearings in most encoders are not especially robust. I am confident that yours (based on the size of the encoder) are not adequate to take that load long-term. In this case, it would be common to install a bearing block, with heavier-duty bearings, and a shaft. One end of the shaft would take the gear (and the load) from the spindle. The other end would be connected, usually via an axial flexible coupling, to the encoder itself. You may want to consider a similar arrangement as a permanent solution once you have everything up and working.

Nice to see your progress and the photos and video!
--
Regards,

Charlie
New Jersey, USA

LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


 

Here is the encoder mounted. It is a , it is mounted directly on the bearing block.
IMG_20200319_103112833.jpg

Charlie do you have encoder code, C or Arduino or even a Python script would be fine.

Ralph

On Thu, Mar 19, 2020 at 9:24 AM CLevinski <clevinski@...> wrote:
Hi, Ralph,

I spent 33 years working for a company that manufactures shaft encoders, and part of my responsibilities included helping customers design them in to their application. One often overlooked aspect of application design is the radial load on the encoder shaft. The bearings in most encoders are not especially robust. I am confident that yours (based on the size of the encoder) are not adequate to take that load long-term. In this case, it would be common to install a bearing block, with heavier-duty bearings, and a shaft. One end of the shaft would take the gear (and the load) from the spindle. The other end would be connected, usually via an axial flexible coupling, to the encoder itself. You may want to consider a similar arrangement as a permanent solution once you have everything up and working.

Nice to see your progress and the photos and video!
--
Regards,

Charlie
New Jersey, USA

LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

Hi guys.

The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is using the max 3A drive current from the internal micro-stepping driver inside my ELS. I found that 2:1 is more than adequate for power. I've never bogged it down for any turning or threading operation in the 10 years. As seen by the dust on the motor surface the one pulse per spindle rev ELS has worked perfectly just like the thousands of MACH3 systems out there.

The motor mount is a simple casting used twice so the motor would clear the bed at the back and the base would still fit on the drip tray.

I bought a surplus lead screw end bracket and milled some of it away so I could mount a shaft extension for the pulley.

If you want 1:1 for this size of lathe generally a size 34 motor drawing about 7A tends to be what others are using in the MACH3 and ELS world.

John

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Richard
Sent: March-19-20 12:13 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

I feel that you are seriously underpowered. If using a 3Nm stepper I
would run it at 2 to 1 or more with an 8tpi screw.
Richard

On 18/03/2020 17:33, Ralph Hulslander wrote:
That was a first try at getting something to at least hold the motor
close to where it might go. I have other mounting ideas also.

The leadscrew is ??-8 Acme here is thestepper motor
<
Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
872.m2749.l2649>?439
oz.in <>

Ralph

On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
<mailto:edelec@...>> wrote:

I should think so when you have it mounted on a bit of thin sheet!
What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
> Oh did you see I have a rough prototype mounting for my Z stepper
> motor. That needs a lot of work.
> I can feel the motor binding when I turn the leadscrew.





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
press, 40 watt laser, Consew brushless DC motors and a non working 3D
printer


Richard
 

Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
have no problems even though I am using an encoder!
BTW I love your casting capability. I have no outside space suitable or
I would be casting myself.
Richard

On 19/03/2020 16:08, John Dammeyer wrote:
Hi guys.

The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is using the max 3A drive current from the internal micro-stepping driver inside my ELS. I found that 2:1 is more than adequate for power. I've never bogged it down for any turning or threading operation in the 10 years. As seen by the dust on the motor surface the one pulse per spindle rev ELS has worked perfectly just like the thousands of MACH3 systems out there.

The motor mount is a simple casting used twice so the motor would clear the bed at the back and the base would still fit on the drip tray.

I bought a surplus lead screw end bracket and milled some of it away so I could mount a shaft extension for the pulley.

If you want 1:1 for this size of lathe generally a size 34 motor drawing about 7A tends to be what others are using in the MACH3 and ELS world.

John


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Richard
Sent: March-19-20 12:13 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

I feel that you are seriously underpowered. If using a 3Nm stepper I
would run it at 2 to 1 or more with an 8tpi screw.
Richard

On 18/03/2020 17:33, Ralph Hulslander wrote:
That was a first try at getting something to at least hold the motor
close to where it might go. I have other mounting ideas also.

The leadscrew is ??-8 Acme here is thestepper motor
<
Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
872.m2749.l2649>?439
oz.in <>

Ralph

On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
<mailto:edelec@...>> wrote:

I should think so when you have it mounted on a bit of thin sheet!
What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
> Oh did you see I have a rough prototype mounting for my Z stepper
> motor. That needs a lot of work.
> I can feel the motor binding when I turn the leadscrew.





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
press, 40 watt laser, Consew brushless DC motors and a non working 3D
printer


 

My foundry is like my table saw, band saw and ELS driven lathe. It's a tool. In the case of the foundry I have a small ATMEL processor module, pre-dates Arduino, that does PWM drive to a treadmill motor that turns the blower and a circuit with ignition coil that runs a spark plug. ESTOP button. ON button and a DC controlled valve from marine applications for shutting off the gas at the tank. Propane being heavier than air could collect in the bilge of a boat.

So I press the start. The fan comes on slowly, the spark plug starts sparking, the gas is turn on and whomp! Flame billows out the top of the furnace (it's open for this reason). Then the fan automatically speeds up, the flame retracts into the proper mixture and I close the lid. 12 minutes later I have 4 to 6 pounds of melted aluminium.

When I'm done I switch it off. Gas solenoid is closed. Fan drops to low speed for 10 seconds to clear any left over gas and fumes. I open the lid and pull out the crucible.

I then put the crucible back in and switch the main switch over to circulate which runs the fan at a very low speed slowly cooling the furnace interior. And if it's in the shop in the winter, warms things up nicely without fumes.

Eventually I'll reroute the air and gas so I have a direct view into the flame past the spark plug and I'll mount the UV flame detector. The software is there for it. Just not the mechanics. It's been running like this for about 20 years.

Wow! 20 years... where did the time go...

John

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Richard
Sent: March-19-20 9:28 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
have no problems even though I am using an encoder!
BTW I love your casting capability. I have no outside space suitable or
I would be casting myself.
Richard

On 19/03/2020 16:08, John Dammeyer wrote:
Hi guys.

The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is
using the max 3A drive current from the internal micro-stepping driver inside
my ELS. I found that 2:1 is more than adequate for power. I've never
bogged it down for any turning or threading operation in the 10 years. As
seen by the dust on the motor surface the one pulse per spindle rev ELS has
worked perfectly just like the thousands of MACH3 systems out there.

The motor mount is a simple casting used twice so the motor would clear
the bed at the back and the base would still fit on the drip tray.

I bought a surplus lead screw end bracket and milled some of it away so I
could mount a shaft extension for the pulley.

If you want 1:1 for this size of lathe generally a size 34 motor drawing
about 7A tends to be what others are using in the MACH3 and ELS world.

John


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Richard
Sent: March-19-20 12:13 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

I feel that you are seriously underpowered. If using a 3Nm stepper I
would run it at 2 to 1 or more with an 8tpi screw.
Richard

On 18/03/2020 17:33, Ralph Hulslander wrote:
That was a first try at getting something to at least hold the motor
close to where it might go. I have other mounting ideas also.

The leadscrew is ??-8 Acme here is thestepper motor
<
Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
872.m2749.l2649>?439
oz.in <>

Ralph

On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
<mailto:edelec@...>> wrote:

I should think so when you have it mounted on a bit of thin sheet!
What
Torque motor is that? and what pitch leadscrew?
Richard

On 18/03/2020 16:00, Ralph Hulslander wrote:
> Oh did you see I have a rough prototype mounting for my Z stepper
> motor. That needs a lot of work.
> I can feel the motor binding when I turn the leadscrew.





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
press, 40 watt laser, Consew brushless DC motors and a non working 3D
printer


 

John, what driver is used for 7 amps? My Microstep Driver max is 4 amp.
I do see a

Ralph

On Thu, Mar 19, 2020 at 12:57 PM John Dammeyer <johnd@...> wrote:
My foundry is like my table saw, band saw and ELS driven lathe.? It's a tool.? ?In the case of the foundry I have a small ATMEL processor module, pre-dates Arduino, that does PWM drive to a treadmill motor that turns the blower and a circuit with ignition coil that runs a spark plug.? ESTOP button.? ON button and a DC controlled valve from marine applications for shutting off the gas at the tank.? Propane being heavier than air could collect in the bilge of a boat.

So I press the start.? The fan comes on slowly, the spark plug starts sparking, the gas is turn on and whomp!? Flame billows out the top of the furnace (it's open for this reason).? Then the fan automatically speeds up, the flame retracts into the proper mixture and I close the lid.? 12 minutes later I have 4 to 6 pounds of melted aluminium.

When I'm done I switch it off.? Gas solenoid is closed.? Fan drops to low speed for 10 seconds to clear any left over gas and fumes.? I open the lid and pull out the crucible.

I then put the crucible back in and switch the main switch over to circulate which runs the fan at a very low speed slowly cooling the furnace interior.? And if it's in the shop in the winter, warms things up nicely without fumes.

Eventually I'll reroute the air and gas so I have a direct view into the flame past the spark plug and I'll mount the UV flame detector.? The software is there for it.? Just not the mechanics.? It's been running like this for about 20 years.

Wow! 20 years...? where did the time go...

John


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Richard
> Sent: March-19-20 9:28 AM
> To: [email protected]
> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
>
> Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
> have no problems even though I am using an encoder!
> BTW I love your casting capability. I have no outside space suitable or
> I would be casting myself.
> Richard
>
> On 19/03/2020 16:08, John Dammeyer wrote:
> > Hi guys.
> >
> > The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is
> using the max 3A drive current from the internal micro-stepping driver inside
> my ELS.? I found that 2:1 is more than adequate for power.? I've never
> bogged it down for any turning or threading operation in the 10 years.? As
> seen by the dust on the motor surface the one pulse per spindle rev ELS has
> worked perfectly just like the thousands of MACH3 systems out there.
> >
> > The motor mount is a simple casting used twice so the motor would clear
> the bed at the back and the base would still fit on the drip tray.
> >
> > I bought a surplus lead screw end bracket and milled some of it away so I
> could mount a shaft extension for the pulley.
> >
> > If you want 1:1 for this size of lathe generally a size 34 motor drawing
> about 7A tends to be what others are using in the MACH3 and ELS world.
> >
> > John
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]] On
> >> Behalf Of Richard
> >> Sent: March-19-20 12:13 AM
> >> To: [email protected]
> >> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
> >>
> >> I feel that you are seriously underpowered. If using a 3Nm stepper I
> >> would run it at 2 to 1 or more with an 8tpi screw.
> >> Richard
> >>
> >> On 18/03/2020 17:33, Ralph Hulslander wrote:
> >>> That was a first try at getting something to at least hold the motor
> >>> close to where it might go. I have other mounting ideas also.
> >>>
> >>> The leadscrew is ??-8 Acme here is thestepper motor
> >>> <
> >> Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
> >>
> Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
> >> 872.m2749.l2649>?439
> >>> <>
> >>>
> >>> Ralph
> >>>
> >>> On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
> >>> <mailto:edelec@...>> wrote:
> >>>
> >>>? ? ? I should think so when you have it mounted on a bit of thin sheet!
> >>>? ? ? What
> >>>? ? ? Torque motor is that? and what pitch leadscrew?
> >>>? ? ? Richard
> >>>
> >>>? ? ? On 18/03/2020 16:00, Ralph Hulslander wrote:
> >>>? ? ? > Oh did you see I have a rough prototype mounting for my Z stepper
> >>>? ? ? > motor. That needs a lot of work.
> >>>? ? ? > I can feel the motor binding when I turn the leadscrew.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
> >>> press, 40 watt laser, Consew brushless DC motors and a non working 3D
> >>> printer
> >>>
> >>
> >>
> >
> >
>
>
>





--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

¿ªÔÆÌåÓý

Gecko.

?

This is what I'm using on the knee of my mill.? I started with the 3A driver and a 600 oz-in motor wired in series.? The ELS was the power drive for the knee and it was certainly better than hand cranking with a cast handle that kept falling off.

?

But, not really as fast as the hand cranking.? I upgraded to the 1200 oz-in motor but even with series wound the current rating was such that at 3A my speed wasn't any better.? Series has too high an inductance for fast anyway. Lots of torque.? But not fast.

?

So then I procured a 60VDC toroid and a Gecko.? Now I'm limited to 25 IPM which is faster than hand cranking but still not quite there for fast peck drilling. ??That 25 IPM is basically 300 RPM on the stepper which is where the stepper torque falls off to about 4 Nm from the rated 8.5 Nm.? So switching to a AC Servo with 4 Nm all the way up to 1500 RPM will theoretically give me 125 IPM.?

?

My mill XY has a pivot capability since it could have a horizontal boring feature for doing helical gears.? If I throw on the heavy vise and 4th axis the whole works is pretty heavy.? So it's not surprising so much power is needed for that part.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-19-20 10:19 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

John, what driver is used for 7 amps? My Microstep Driver max is 4 amp.

I do see a

?

Ralph

?

On Thu, Mar 19, 2020 at 12:57 PM John Dammeyer <johnd@...> wrote:

My foundry is like my table saw, band saw and ELS driven lathe.? It's a tool.? ?In the case of the foundry I have a small ATMEL processor module, pre-dates Arduino, that does PWM drive to a treadmill motor that turns the blower and a circuit with ignition coil that runs a spark plug.? ESTOP button.? ON button and a DC controlled valve from marine applications for shutting off the gas at the tank.? Propane being heavier than air could collect in the bilge of a boat.

So I press the start.? The fan comes on slowly, the spark plug starts sparking, the gas is turn on and whomp!? Flame billows out the top of the furnace (it's open for this reason).? Then the fan automatically speeds up, the flame retracts into the proper mixture and I close the lid.? 12 minutes later I have 4 to 6 pounds of melted aluminium.

When I'm done I switch it off.? Gas solenoid is closed.? Fan drops to low speed for 10 seconds to clear any left over gas and fumes.? I open the lid and pull out the crucible.

I then put the crucible back in and switch the main switch over to circulate which runs the fan at a very low speed slowly cooling the furnace interior.? And if it's in the shop in the winter, warms things up nicely without fumes.

Eventually I'll reroute the air and gas so I have a direct view into the flame past the spark plug and I'll mount the UV flame detector.? The software is there for it.? Just not the mechanics.? It's been running like this for about 20 years.

Wow! 20 years...? where did the time go...

John


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Richard
> Sent: March-19-20 9:28 AM
> To: [email protected]
> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
>
> Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
> have no problems even though I am using an encoder!
> BTW I love your casting capability. I have no outside space suitable or
> I would be casting myself.
> Richard
>
> On 19/03/2020 16:08, John Dammeyer wrote:
> > Hi guys.
> >
> > The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is
> using the max 3A drive current from the internal micro-stepping driver inside
> my ELS.? I found that 2:1 is more than adequate for power.? I've never
> bogged it down for any turning or threading operation in the 10 years.? As
> seen by the dust on the motor surface the one pulse per spindle rev ELS has
> worked perfectly just like the thousands of MACH3 systems out there.
> >
> > The motor mount is a simple casting used twice so the motor would clear
> the bed at the back and the base would still fit on the drip tray.
> >
> > I bought a surplus lead screw end bracket and milled some of it away so I
> could mount a shaft extension for the pulley.
> >
> > If you want 1:1 for this size of lathe generally a size 34 motor drawing
> about 7A tends to be what others are using in the MACH3 and ELS world.
> >
> > John
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]] On
> >> Behalf Of Richard
> >> Sent: March-19-20 12:13 AM
> >> To: [email protected]
> >> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
> >>
> >> I feel that you are seriously underpowered. If using a 3Nm stepper I
> >> would run it at 2 to 1 or more with an 8tpi screw.
> >> Richard
> >>
> >> On 18/03/2020 17:33, Ralph Hulslander wrote:
> >>> That was a first try at getting something to at least hold the motor
> >>> close to where it might go. I have other mounting ideas also.
> >>>
> >>> The leadscrew is ??-8 Acme here is thestepper motor
> >>> <
> >> Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
> >>
> Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
> >> 872.m2749.l2649>?439
> >>> <>
> >>>
> >>> Ralph
> >>>
> >>> On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
> >>> <mailto:edelec@...>> wrote:
> >>>
> >>>? ? ? I should think so when you have it mounted on a bit of thin sheet!
> >>>? ? ? What
> >>>? ? ? Torque motor is that? and what pitch leadscrew?
> >>>? ? ? Richard
> >>>
> >>>? ? ? On 18/03/2020 16:00, Ralph Hulslander wrote:
> >>>? ? ? > Oh did you see I have a rough prototype mounting for my Z stepper
> >>>? ? ? > motor. That needs a lot of work.
> >>>? ? ? > I can feel the motor binding when I turn the leadscrew.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
> >>> press, 40 watt laser, Consew brushless DC motors and a non working 3D
> >>> printer
> >>>
> >>
> >>
> >
> >
>
>
>




--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

¿ªÔÆÌåÓý

Oh and I'm running 3:1 toothed from motor to knee handle.

?

What I did was put vise, rotary table, faceplate and some metal onto the X table and then a torque wrench on the handle to see what was needed to move the table in the upwards direction to overcome static friction.

?

That's why 3:1 and initially 600 oz-in. ?But again at speed torque falls off too much.?

?

You can buy a bicycle for $100 but if you want 60 miles per hour the cost of the wheels to do that is way more even if it's just a VESPA scooter. ?Same with CNC.? You can do stuff with steppers open loop but for real performance it's all done with servos.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: March-19-20 10:44 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

Gecko.

?

This is what I'm using on the knee of my mill.? I started with the 3A driver and a 600 oz-in motor wired in series.? The ELS was the power drive for the knee and it was certainly better than hand cranking with a cast handle that kept falling off.

?

But, not really as fast as the hand cranking.? I upgraded to the 1200 oz-in motor but even with series wound the current rating was such that at 3A my speed wasn't any better.? Series has too high an inductance for fast anyway. Lots of torque.? But not fast.

?

So then I procured a 60VDC toroid and a Gecko.? Now I'm limited to 25 IPM which is faster than hand cranking but still not quite there for fast peck drilling.?? That 25 IPM is basically 300 RPM on the stepper which is where the stepper torque falls off to about 4 Nm from the rated 8.5 Nm.? So switching to a AC Servo with 4 Nm all the way up to 1500 RPM will theoretically give me 125 IPM.?

?

My mill XY has a pivot capability since it could have a horizontal boring feature for doing helical gears.? If I throw on the heavy vise and 4th axis the whole works is pretty heavy.? So it's not surprising so much power is needed for that part.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-19-20 10:19 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

John, what driver is used for 7 amps? My Microstep Driver max is 4 amp.

I do see a

?

Ralph

?

On Thu, Mar 19, 2020 at 12:57 PM John Dammeyer <johnd@...> wrote:

My foundry is like my table saw, band saw and ELS driven lathe.? It's a tool.? ?In the case of the foundry I have a small ATMEL processor module, pre-dates Arduino, that does PWM drive to a treadmill motor that turns the blower and a circuit with ignition coil that runs a spark plug.? ESTOP button.? ON button and a DC controlled valve from marine applications for shutting off the gas at the tank.? Propane being heavier than air could collect in the bilge of a boat.

So I press the start.? The fan comes on slowly, the spark plug starts sparking, the gas is turn on and whomp!? Flame billows out the top of the furnace (it's open for this reason).? Then the fan automatically speeds up, the flame retracts into the proper mixture and I close the lid.? 12 minutes later I have 4 to 6 pounds of melted aluminium.

When I'm done I switch it off.? Gas solenoid is closed.? Fan drops to low speed for 10 seconds to clear any left over gas and fumes.? I open the lid and pull out the crucible.

I then put the crucible back in and switch the main switch over to circulate which runs the fan at a very low speed slowly cooling the furnace interior.? And if it's in the shop in the winter, warms things up nicely without fumes.

Eventually I'll reroute the air and gas so I have a direct view into the flame past the spark plug and I'll mount the UV flame detector.? The software is there for it.? Just not the mechanics.? It's been running like this for about 20 years.

Wow! 20 years...? where did the time go...

John


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Richard
> Sent: March-19-20 9:28 AM
> To: [email protected]
> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
>
> Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
> have no problems even though I am using an encoder!
> BTW I love your casting capability. I have no outside space suitable or
> I would be casting myself.
> Richard
>
> On 19/03/2020 16:08, John Dammeyer wrote:
> > Hi guys.
> >
> > The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is
> using the max 3A drive current from the internal micro-stepping driver inside
> my ELS.? I found that 2:1 is more than adequate for power.? I've never
> bogged it down for any turning or threading operation in the 10 years.? As
> seen by the dust on the motor surface the one pulse per spindle rev ELS has
> worked perfectly just like the thousands of MACH3 systems out there.
> >
> > The motor mount is a simple casting used twice so the motor would clear
> the bed at the back and the base would still fit on the drip tray.
> >
> > I bought a surplus lead screw end bracket and milled some of it away so I
> could mount a shaft extension for the pulley.
> >
> > If you want 1:1 for this size of lathe generally a size 34 motor drawing
> about 7A tends to be what others are using in the MACH3 and ELS world.
> >
> > John
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]] On
> >> Behalf Of Richard
> >> Sent: March-19-20 12:13 AM
> >> To: [email protected]
> >> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
> >>
> >> I feel that you are seriously underpowered. If using a 3Nm stepper I
> >> would run it at 2 to 1 or more with an 8tpi screw.
> >> Richard
> >>
> >> On 18/03/2020 17:33, Ralph Hulslander wrote:
> >>> That was a first try at getting something to at least hold the motor
> >>> close to where it might go. I have other mounting ideas also.
> >>>
> >>> The leadscrew is ??-8 Acme here is thestepper motor
> >>> <
> >> Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
> >>
> Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
> >> 872.m2749.l2649>?439
> >>> <>
> >>>
> >>> Ralph
> >>>
> >>> On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
> >>> <mailto:edelec@...>> wrote:
> >>>
> >>>? ? ? I should think so when you have it mounted on a bit of thin sheet!
> >>>? ? ? What
> >>>? ? ? Torque motor is that? and what pitch leadscrew?
> >>>? ? ? Richard
> >>>
> >>>? ? ? On 18/03/2020 16:00, Ralph Hulslander wrote:
> >>>? ? ? > Oh did you see I have a rough prototype mounting for my Z stepper
> >>>? ? ? > motor. That needs a lot of work.
> >>>? ? ? > I can feel the motor binding when I turn the leadscrew.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
> >>> press, 40 watt laser, Consew brushless DC motors and a non working 3D
> >>> printer
> >>>
> >>
> >>
> >
> >
>
>
>




--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

John, I do not own a knee mill as mine is a bench top model. I had a similar problem on the Z axis and ended up using heavy duty air shocks which float the head/motor assembly. Now it takes a lot less torque to move it up or down.
Bob?

On March 19, 2020 at 1:48 PM John Dammeyer <johnd@...> wrote:

Oh and I'm running 3:1 toothed from motor to knee handle.

?

What I did was put vise, rotary table, faceplate and some metal onto the X table and then a torque wrench on the handle to see what was needed to move the table in the upwards direction to overcome static friction.

?

That's why 3:1 and initially 600 oz-in. ?But again at speed torque falls off too much.?

?

You can buy a bicycle for $100 but if you want 60 miles per hour the cost of the wheels to do that is way more even if it's just a VESPA scooter. ?Same with CNC.? You can do stuff with steppers open loop but for real performance it's all done with servos.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of John Dammeyer
Sent: March-19-20 10:44 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

Gecko.

?

This is what I'm using on the knee of my mill.? I started with the 3A driver and a 600 oz-in motor wired in series.? The ELS was the power drive for the knee and it was certainly better than hand cranking with a cast handle that kept falling off.

?

But, not really as fast as the hand cranking.? I upgraded to the 1200 oz-in motor but even with series wound the current rating was such that at 3A my speed wasn't any better.? Series has too high an inductance for fast anyway. Lots of torque.? But not fast.

?

So then I procured a 60VDC toroid and a Gecko.? Now I'm limited to 25 IPM which is faster than hand cranking but still not quite there for fast peck drilling.?? That 25 IPM is basically 300 RPM on the stepper which is where the stepper torque falls off to about 4 Nm from the rated 8.5 Nm.? So switching to a AC Servo with 4 Nm all the way up to 1500 RPM will theoretically give me 125 IPM.?

?

My mill XY has a pivot capability since it could have a horizontal boring feature for doing helical gears.? If I throw on the heavy vise and 4th axis the whole works is pretty heavy.? So it's not surprising so much power is needed for that part.

?

John

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-19-20 10:19 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

John, what driver is used for 7 amps? My Microstep Driver max is 4 amp.

I do see a

?

Ralph

?

On Thu, Mar 19, 2020 at 12:57 PM John Dammeyer <johnd@...> wrote:

My foundry is like my table saw, band saw and ELS driven lathe.? It's a tool.? ?In the case of the foundry I have a small ATMEL processor module, pre-dates Arduino, that does PWM drive to a treadmill motor that turns the blower and a circuit with ignition coil that runs a spark plug.? ESTOP button.? ON button and a DC controlled valve from marine applications for shutting off the gas at the tank.? Propane being heavier than air could collect in the bilge of a boat.

So I press the start.? The fan comes on slowly, the spark plug starts sparking, the gas is turn on and whomp!? Flame billows out the top of the furnace (it's open for this reason).? Then the fan automatically speeds up, the flame retracts into the proper mixture and I close the lid.? 12 minutes later I have 4 to 6 pounds of melted aluminium.

When I'm done I switch it off.? Gas solenoid is closed.? Fan drops to low speed for 10 seconds to clear any left over gas and fumes.? I open the lid and pull out the crucible.

I then put the crucible back in and switch the main switch over to circulate which runs the fan at a very low speed slowly cooling the furnace interior.? And if it's in the shop in the winter, warms things up nicely without fumes.

Eventually I'll reroute the air and gas so I have a direct view into the flame past the spark plug and I'll mount the UV flame detector.? The software is there for it.? Just not the mechanics.? It's been running like this for about 20 years.

Wow! 20 years...? where did the time go...

John


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Richard
> Sent: March-19-20 9:28 AM
> To: [email protected]
> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
>
> Exactly my sentiments. I have a 3Nm driving 2:1 to a 3mm pitch screw and
> have no problems even though I am using an encoder!
> BTW I love your casting capability. I have no outside space suitable or
> I would be casting myself.
> Richard
>
> On 19/03/2020 16:08, John Dammeyer wrote:
> > Hi guys.
> >
> > The Z axis motor on my South Bend Heavy 10L with the 8 TPI lead screw is
> using the max 3A drive current from the internal micro-stepping driver inside
> my ELS.? I found that 2:1 is more than adequate for power.? I've never
> bogged it down for any turning or threading operation in the 10 years.? As
> seen by the dust on the motor surface the one pulse per spindle rev ELS has
> worked perfectly just like the thousands of MACH3 systems out there.
> >
> > The motor mount is a simple casting used twice so the motor would clear
> the bed at the back and the base would still fit on the drip tray.
> >
> > I bought a surplus lead screw end bracket and milled some of it away so I
> could mount a shaft extension for the pulley.
> >
> > If you want 1:1 for this size of lathe generally a size 34 motor drawing
> about 7A tends to be what others are using in the MACH3 and ELS world.
> >
> > John
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]] On
> >> Behalf Of Richard
> >> Sent: March-19-20 12:13 AM
> >> To: [email protected]
> >> Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update
> >>
> >> I feel that you are seriously underpowered. If using a 3Nm stepper I
> >> would run it at 2 to 1 or more with an 8tpi screw.
> >> Richard
> >>
> >> On 18/03/2020 17:33, Ralph Hulslander wrote:
> >>> That was a first try at getting something to at least hold the motor
> >>> close to where it might go. I have other mounting ideas also.
> >>>
> >>> The leadscrew is ??-8 Acme here is thestepper motor
> >>> <
> >> Shaft-3-1Nm-439oz-in-3-5A-CNC-Reprap-
> >>
> Robot/232528913835?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057
> >> 872.m2749.l2649>?439
> >>> <>
> >>>
> >>> Ralph
> >>>
> >>> On Wed, Mar 18, 2020 at 1:10 PM Richard <edelec@...
> >>> <mailto:edelec@...>> wrote:
> >>>
> >>>? ? ? I should think so when you have it mounted on a bit of thin sheet!
> >>>? ? ? What
> >>>? ? ? Torque motor is that? and what pitch leadscrew?
> >>>? ? ? Richard
> >>>
> >>>? ? ? On 18/03/2020 16:00, Ralph Hulslander wrote:
> >>>? ? ? > Oh did you see I have a rough prototype mounting for my Z stepper
> >>>? ? ? > motor. That needs a lot of work.
> >>>? ? ? > I can feel the motor binding when I turn the leadscrew.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill
> >>> press, 40 watt laser, Consew brushless DC motors and a non working 3D
> >>> printer
> >>>
> >>
> >>
> >
> >
>
>
>




--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer

?



?


 

Ralph,

Ah, I couldn't see that before. It looked like it was direct mounted. Good job!

No, I don't have a program that will read the encoder, but it should be fairly simple. Are you concerned about direction of rotation? What problems have you encountered with trying to read the encoder to date?
--
Regards,

Charlie
New Jersey, USA

LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


 

I have not found any that just work! At best, if they show RPM they do not show the same rpm with a steady running motor. A few do not show anything.?

I do not "think" I need to be concerned with rotation, especially with my lathe, the chuck might unscrew if I tried to do any work in reverse.

My desk?time and shop time is just about over, yesterday I was already doing Honeydos in the garden. I had thought I could make it to April 1 but the garden is calling, and I like to eat it's produce.

I also am having problems with dependable repeatable stepper motor code.

Of course I am not a programmer.

Ralph

On Fri, Mar 20, 2020 at 12:11 PM CLevinski <clevinski@...> wrote:
Ralph,

Ah, I couldn't see that before. It looked like it was direct mounted. Good job!

No, I don't have a program that will read the encoder, but it should be fairly simple. Are you concerned about direction of rotation? What problems have you encountered with trying to read the encoder to date?
--
Regards,

Charlie
New Jersey, USA

LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


 

¿ªÔÆÌåÓý

Hi Ralph,

Set your code to interrupt on the edges of your encoder signals.? Or if your processor has a quadrature encoder counter set up your interrupt to read the counter.

?

For reading the two encoder lines from my ELS code the two encoder bits are read as bits 0,1 :

?

??? /*
??????? Check Quadrature encoder knob.
??? */

#ifdef X4_ENCODER
??? NewEnc
= ENCODER_PORT & ENCODER_MASK;
??? EncoderCounter
= 0;
???
if (NewEnc ^ OldEnc) { // Encoder value changed???
??????? switch(NewEnc) {
???????
case ENCODER_POS1 :?????????????? // 01
??????????? if (OldEnc == ENCODER_POS0)?? // 00
??????????????? EncoderCounter--;
???????????
else
????????????????EncoderCounter
++;
???????????
break;
???????
case ENCODER_POS3 :?????????????? // 11
??????????? if (OldEnc == ENCODER_POS1)?? // 01
??????????????? EncoderCounter--;
???????????
else
????????????????EncoderCounter
++;
???????????
break;
???????
case ENCODER_POS2 :?????????????? // 10
??????????? if (OldEnc == ENCODER_POS3)?? // 11
??????????????? EncoderCounter--;
???????????
else
????????????????EncoderCounter
++;
???????????
break;??????????????????????? // 00
??????? case ENCODER_POS0 :?????????????? // 10
??????????? if (OldEnc == ENCODER_POS2)
??????????????? EncoderCounter
--;
???????????
else
????????????????EncoderCounter
++;
???????????
break;
???????
};
??????? OldEnc
= NewEnc;
???
}; // end if encoder value changed.
#endif

?

Now to start with, every time the encoder count is incremented send a step pulse out to the lead screw motor with the direction represented by the -/+ value of the change.

?

You will need a separate interrupt routine at 2x the fastest step rate the to deal with setting direction and clearing the step pulse.

?

At this point, as long as the spindle doesn't accelerate too fast, your motor will track the spindle.

?

Now you can add ratios to the numbers.? Say 24/16.? So for every encoder pulse you multiply by 24and divide by 16 which is 1.5.? Since you can only send integral steps you send 1 and save 0.5.? Next time you'll add 1.5 to the 0.5 and have two steps to send.?

?

That's where it can get complicated but if you make sure your encoder always provides more interrupts than your stepper can ever use it's not a problem.? That's why you see 1800 line encoders used on ardunio's compared to LinuxCNC which can use a 60 gear tooth encoder or my ELS and MACH3 that can do it with one pulse per rev.

?

So if the ratio is 6/24 for example, then the step count is 0.25 so that encoder interrupt doesn't generate a step.? After 4 of the encoder interrupts the value is 1 so now you can send a step and subtract 1.? Your stepper now tracks your encoder based on a ratio.? Use floating point or fixed/scaled and you can set up metric or imperial amounts stepping only when the value is > 1.

?

And of course that assumes your spindle doesn't accelerate too fast.? The YouTube videos I've see all seem to use some sort of VFD or DC motor controller that limits how fast the spindle can come up to speed or stop so the motor can keep up.? So none of the overhead of non-synchronized motion is required.? And they also continuously turn the lead screw so you either reverse the spindle to move the carriage back.

?

Or release the half nut and use threading dial for when to engage.?? Which doesn't work for metric threads on an imperial lathe.

?

I've discovered that LinuxCNC uses the index pulse from the encoder to clear the counter.? After that only the A/B values are used to track the spindle position and speed and the index pulse is ignored.? I don't know yet how the scaling and motion is done.? I suspect it's a request to move a Z distance in the servo thread running at say 1kHz (1mS) based on the number of encoder pulses modified by the ratio. ?But I don't know yet.

?

Higher resolution encoder doesn't automatically result in finer motion if the servo thread is 1 kHz.

?

John Dammeyer

?

?

?

?

From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Hulslander
Sent: March-20-20 10:19 AM
To: [email protected]
Subject: Re: [digitalhobbyist] #LATHES Spindle Encoder Update

?

I have not found any that just work! At best, if they show RPM they do not show the same rpm with a steady running motor. A few do not show anything.?

?

I do not "think" I need to be concerned with rotation, especially with my lathe, the chuck might unscrew if I tried to do any work in reverse.

?

My desk?time and shop time is just about over, yesterday I was already doing Honeydos in the garden. I had thought I could make it to April 1 but the garden is calling, and I like to eat it's produce.

?

I also am having problems with dependable repeatable stepper motor code.

?

Of course I am not a programmer.

?

Ralph

?

On Fri, Mar 20, 2020 at 12:11 PM CLevinski <clevinski@...> wrote:

Ralph,

Ah, I couldn't see that before. It looked like it was direct mounted. Good job!

No, I don't have a program that will read the encoder, but it should be fairly simple. Are you concerned about direction of rotation? What problems have you encountered with trying to read the encoder to date?
--
Regards,

Charlie
New Jersey, USA

LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Jonathan Mackenzie
 

Hey Ralph,

I have been following your progress, interesting stuff!

Here is the computer code that Clough42 published to match his series of ELS YouTube videos:



Hope this helps.

Jonathan

On Friday, March 20, 2020, 10:19:09 AM PDT, Ralph Hulslander <rhulslander@...> wrote:





I have not found any that just work! At best, if they show RPM they do not show the same rpm with a steady running motor. A few do not show anything.?

I do not "think" I need to be concerned with rotation, especially with my lathe, the chuck might unscrew if I tried to do any work in reverse.

My desk?time and shop time is just about over, yesterday I was already doing Honeydos in the garden. I had thought I could make it to April 1 but the garden is calling, and I like to eat it's produce.

I also am having problems with dependable repeatable stepper motor code.

Of course I am not a programmer.

Ralph

On Fri, Mar 20, 2020 at 12:11 PM CLevinski <clevinski@...> wrote:
Ralph,

Ah, I couldn't see that before. It looked like it was direct mounted. Good job!

No, I don't have a program that will read the encoder, but it should be fairly simple. Are you concerned about direction of rotation? What problems have you encountered with trying to read the encoder to date?
--
Regards,

Charlie
New Jersey, USA


LAW OF ANNOYANCE: When working on a project, if you put away a tool that you¡¯re certain you¡¯re finished with, you will need it instantly.


--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer