¿ªÔÆÌåÓý

Finally first step


 

I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


 

Excellent, well done.???

John



On Wed, 12 Apr 2023 at 18:36, Ralph Hulslander <rhulslander@...> wrote:
I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


 

¿ªÔÆÌåÓý

??? ??? Yep , Good deal !! I can already see a application replacing the Sharpie with a motorized spindle .

??? ??? thanks for sharing

??? ??? animal

On 4/12/2023 10:44 AM, John Lindo wrote:

Excellent, well done.???

John



On Wed, 12 Apr 2023 at 18:36, Ralph Hulslander <rhulslander@...> wrote:
I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


 

Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

Bill in OKC

William R. Meyers, MSgt, USAF(Ret.)

Aphorisms to live by:
Good judgement comes from experience. Experience comes from bad judgement.?
SEMPER GUMBY!
Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.
Expect in one hand, expectorate in the other. See which one gets full first.



On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:


I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


 

Does anyone have an Arduino encoder RPM program?
That is one of the next things I have to do.
We could make a RPM folder in the files section and put any files there
so everyone could use them.
I might be able to extract how Jon did the RPM output from the Atomic leadscrew program.
Ralph

On Wed, Apr 12, 2023 at 2:49?PM Bill in OKC too via <wmrmeyers=[email protected]> wrote:
Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

Bill in OKC

William R. Meyers, MSgt, USAF(Ret.)

Aphorisms to live by:
Good judgement comes from experience. Experience comes from bad judgement.?
SEMPER GUMBY!
Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.
Expect in one hand, expectorate in the other. See which one gets full first.



On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:


I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

??? ??? ??? has a link to sketch

??? ??? animal


On 4/13/2023 7:03 PM, Ralph Hulslander wrote:

Does anyone have an Arduino encoder RPM program?
That is one of the next things I have to do.
We could make a RPM folder in the files section and put any files there
so everyone could use them.
I might be able to extract how Jon did the RPM output from the Atomic leadscrew program.
Ralph

On Wed, Apr 12, 2023 at 2:49?PM Bill in OKC too via <wmrmeyers=[email protected]> wrote:
Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

Bill in OKC

William R. Meyers, MSgt, USAF(Ret.)

Aphorisms to live by:
Good judgement comes from experience. Experience comes from bad judgement.?
SEMPER GUMBY!
Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.
Expect in one hand, expectorate in the other. See which one gets full first.



On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:


I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

Thanks Mike, what a shame they do not describe what they did just play boring music.

They did furnish a link for their motor which I will follow.

Ralph

On Thu, Apr 13, 2023 at 11:39?PM mike allen <animal@...> wrote:

??? ??? ??? has a link to sketch

??? ??? animal


On 4/13/2023 7:03 PM, Ralph Hulslander wrote:

Does anyone have an Arduino encoder RPM program?
That is one of the next things I have to do.
We could make a RPM folder in the files section and put any files there
so everyone could use them.
I might be able to extract how Jon did the RPM output from the Atomic leadscrew program.
Ralph

On Wed, Apr 12, 2023 at 2:49?PM Bill in OKC too via <wmrmeyers=[email protected]> wrote:
Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

Bill in OKC

William R. Meyers, MSgt, USAF(Ret.)

Aphorisms to live by:
Good judgement comes from experience. Experience comes from bad judgement.?
SEMPER GUMBY!
Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.
Expect in one hand, expectorate in the other. See which one gets full first.



On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:


I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

??? ??? wasn't there a link for the sketch ?

??? ??? animal

On 4/14/2023 1:34 PM, Ralph Hulslander wrote:

Thanks Mike, what a shame they do not describe what they did just play boring music.

They did furnish a link for their motor which I will follow.

Ralph

On Thu, Apr 13, 2023 at 11:39?PM mike allen <animal@...> wrote:

??? ??? ??? has a link to sketch

??? ??? animal


On 4/13/2023 7:03 PM, Ralph Hulslander wrote:

Does anyone have an Arduino encoder RPM program?
That is one of the next things I have to do.
We could make a RPM folder in the files section and put any files there
so everyone could use them.
I might be able to extract how Jon did the RPM output from the Atomic leadscrew program.
Ralph

On Wed, Apr 12, 2023 at 2:49?PM Bill in OKC too via <wmrmeyers=[email protected]> wrote:
Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

Bill in OKC

William R. Meyers, MSgt, USAF(Ret.)

Aphorisms to live by:
Good judgement comes from experience. Experience comes from bad judgement.?
SEMPER GUMBY!
Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.
Expect in one hand, expectorate in the other. See which one gets full first.



On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:


I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

I probably have one I can find or easily amend. What model of Arduino is it going to run on?

?

Mark

?

From: [email protected] <[email protected]> On Behalf Of Ralph Hulslander
Sent: Friday, April 14, 2023 3:04 AM
To: [email protected]
Subject: Re: [AtomicELS] Finally first step

?

Does anyone have an Arduino encoder RPM program?

That is one of the next things I have to do.

We could make a RPM folder in the files section and put any files there

so everyone could use them.

I might be able to extract how Jon did the RPM output from the Atomic leadscrew program.

Ralph

?

On Wed, Apr 12, 2023 at 2:49?PM Bill in OKC too via <wmrmeyers=[email protected]> wrote:

Congratulations!!! The next few steps should be a bit easier, too, since you don't have to learn everything from scratch anymore!

?

Bill in OKC

?

William R. Meyers, MSgt, USAF(Ret.)

?

Aphorisms to live by:

Good judgement comes from experience. Experience comes from bad judgement.?

SEMPER GUMBY!

Improvise, Adapt, and Overcome.
Physics doesn't care about your schedule.
The only reason I know anything is because I've done it wrong enough times to START to know better.

Expect in one hand, expectorate in the other. See which one gets full first.

?

?

?

On Wednesday, April 12, 2023 at 11:36:57 AM CDT, Ralph Hulslander <rhulslander@...> wrote:

?

?

I finally have a motorized Z axis. It has only taken me? 7 -? 8 years.

I wanted to implement a X axis to the Atomic leadscrew so I figured I had best write a program.
To help me write the program, since I am not a programmer I went on the
and asked for help.?
Here is lathe in operation. The noise might be a bit much so turn the volume down.
?

I know that is not very impressive but for me it is a big accomplishment.?

If any one would like to get started with just a motorized Z leadscrew let me know
I will share my file.

Now I am trying to implement a direct drive on my spindle.

Ralph







Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


--

retired developer, woodworker hobbyist, uk


 

Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.

https://github.com/naylom/EncoderRPM
--

retired developer, woodworker hobbyist, uk


 

Yes Mike there was a link, thank you.

Thanks Mark, seems strange to get a error?at ~200 rpm.
But I will investigate (ha).
I will need upto 5,000 rpm.

Ralph

On Sat, Apr 15, 2023 at 6:52?AM Mark Naylor <mark_naylor@...> wrote:
Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.


--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

Ralph,

The rpm sketch is capturing every change in signal on both the a and b channels. So on the 800 PPR encoder I tested with it will process 4* 800 signal changes per rev. If you are going to 5000 rpm it¡¯s probably best to just use the Z channel which signals once per rev. Can you share more details of your encoder such as the PPR and which channels it provides?



Kind Regards

Mark


From: [email protected] <[email protected]> on behalf of Ralph Hulslander <rhulslander@...>
Sent: Saturday, April 15, 2023 3:15:50 PM
To: [email protected] <[email protected]>
Subject: Re: [AtomicELS] Finally first step
?
Yes Mike there was a link, thank you.

Thanks Mark, seems strange to get a error?at ~200 rpm.
But I will investigate (ha).
I will need upto 5,000 rpm.

Ralph

On Sat, Apr 15, 2023 at 6:52?AM Mark Naylor <mark_naylor@...> wrote:
Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.


--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?

--

retired developer, woodworker hobbyist, uk


 

Hi Mark, thanks for your replies.

I have CUI inc. AMT 102 encoders that I have played around with but never actually got to work.
We have talked about them here in this forum.

I would probably use an Arduino UNO but I have Raspberry PIs also oh and I have Texas Instruments?
LaunchPad MSP430 which I have never?done anything with.

I am most comfortable with the UNO.

I have an encoder off ebay somewhere.

I am in the process of mounting a Servo/Stepper motor as a direct?drive motor on my lathe spindle.
The motor?is closed loop so it has an encoder.

That is the encoder I am targeting?using.
I believe it is a 1000 PPR (Pulse Per Revolution) encoder but that is a guess.

I was hoping to use a RPM program to confirm the count.

I am not a programmer but I get away with hacking other's programs to get what I need.

So I would probably be using a UNO with an I2C LED display.

Ralph











On Sat, Apr 15, 2023 at 11:13?AM Mark Naylor <mark_naylor@...> wrote:
Ralph,

The rpm sketch is capturing every change in signal on both the a and b channels. So on the 800 PPR encoder I tested with it will process 4* 800 signal changes per rev. If you are going to 5000 rpm it¡¯s probably best to just use the Z channel which signals once per rev. Can you share more details of your encoder such as the PPR and which channels it provides?



Kind Regards

Mark

From: [email protected] <[email protected]> on behalf of Ralph Hulslander <rhulslander@...>
Sent: Saturday, April 15, 2023 3:15:50 PM
To: [email protected] <[email protected]>
Subject: Re: [AtomicELS] Finally first step
?
Yes Mike there was a link, thank you.

Thanks Mark, seems strange to get a error?at ~200 rpm.
But I will investigate (ha).
I will need upto 5,000 rpm.

Ralph

On Sat, Apr 15, 2023 at 6:52?AM Mark Naylor <mark_naylor@...> wrote:
Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.


--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?

--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

Hi Ralph,

?

Based on this data sheet the CUI AMT102 should work with my existing sketch using the A and B channels. I also has an index channel (described at the X channel) so I could alter the sketch to use that if you wish.

?

If I understand you correctly there is a builtin encoder on the servo/stepper motor that is not theAMT102 above. Without knowing what outputs it has I cannot confirm that the sketch should work with it

?

The sketch was tested against an Uno R3 so that should be fine, just ensure the A & B channel wires are connected to pins 2 and 3 which I think are the only two standard interrupt pins on the Uno. The sketch has a couple of constants declares at the start for the pin numbers used. Please ensure these match what you actually use.

?

Mark

?

From: [email protected] <[email protected]> On Behalf Of Ralph Hulslander
Sent: Saturday, April 15, 2023 4:44 PM
To: [email protected]
Subject: Re: [AtomicELS] Finally first step

?

Hi Mark, thanks for your replies.

?

I have CUI inc. AMT 102 encoders that I have played around with but never actually got to work.

We have talked about them here in this forum.

?

I would probably use an Arduino UNO but I have Raspberry PIs also oh and I have Texas Instruments?

LaunchPad MSP430 which I have never?done anything with.

?

I am most comfortable with the UNO.

?

I have an encoder off ebay somewhere.

?

I am in the process of mounting a Servo/Stepper motor as a direct?drive motor on my lathe spindle.

The motor?is closed loop so it has an encoder.

?

That is the encoder I am targeting?using.

I believe it is a 1000 PPR (Pulse Per Revolution) encoder but that is a guess.

?

I was hoping to use a RPM program to confirm the count.

?

I am not a programmer but I get away with hacking other's programs to get what I need.

?

So I would probably be using a UNO with an I2C LED display.

?

Ralph

?

?

?

?

?

?

?

?

?

?

?

On Sat, Apr 15, 2023 at 11:13?AM Mark Naylor <mark_naylor@...> wrote:

Ralph,

?

The rpm sketch is capturing every change in signal on both the a and b channels. So on the 800 PPR encoder I tested with it will process 4* 800 signal changes per rev. If you are going to 5000 rpm it¡¯s probably best to just use the Z channel which signals once per rev. Can you share more details of your encoder such as the PPR and which channels it provides?

?

?

?

Kind Regards

?

Mark


From: [email protected] <[email protected]> on behalf of Ralph Hulslander <rhulslander@...>
Sent: Saturday, April 15, 2023 3:15:50 PM
To: [email protected] <[email protected]>
Subject: Re: [AtomicELS] Finally first step

?

Yes Mike there was a link, thank you.

?

Thanks Mark, seems strange to get a error?at ~200 rpm.

But I will investigate (ha).

I will need upto 5,000 rpm.

?

Ralph

?

On Sat, Apr 15, 2023 at 6:52?AM Mark Naylor <mark_naylor@...> wrote:

Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.


--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


--

retired developer, woodworker hobbyist, uk


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


--

retired developer, woodworker hobbyist, uk


 

This is from the Driver:

2.1 Electrical Parameter
Voltage range AC24~70V or DC30~100V
Peak current Peak 8.0A£¨current change according to load£©
Logic input current 7~20mA
frequency 0~200KHz
Suitable motor 86HSE116£¬86HSE154£¬86HSE82
Encoder lines 1000
Insulation resistance >=500M¦¸

I "assume" Encoder lines 1000 is PPR = 1000

3. 2. Encoder input port
Port NO.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Encoder Wire color
? ? ?1? ??EB+? ? Encoder B phase input+? ? ? ?yellow
? ? ?2? ? EB-? ? ?Encoder B phase input-? ? ? ? green
? ? ?3? ? EA+? ? Encoder A phase input+? ? ? ? black
? ? ?4? ??EA-? ? ?Encoder A phase input? ? ? ? ??blue
? ? ?5? ??VCC? ?Encoder voltage £¨+5V)? ? ? ? red
? ? ?6? ??EGND?Encoder Grand? ? (0V)? ? ? ? ? white

Not sure what EGND?is but otherwise it looks like other encoder wiring.

Ralph



--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

??? ??? Those are pretty common encoders , there may be a library for them ?

??? ??? animal

On 4/15/2023 8:43 AM, Ralph Hulslander wrote:

Hi Mark, thanks for your replies.

I have CUI inc. AMT 102 encoders that I have played around with but never actually got to work.
We have talked about them here in this forum.

I would probably use an Arduino UNO but I have Raspberry PIs also oh and I have Texas Instruments?
LaunchPad MSP430 which I have never?done anything with.

I am most comfortable with the UNO.

I have an encoder off ebay somewhere.

I am in the process of mounting a Servo/Stepper motor as a direct?drive motor on my lathe spindle.
The motor?is closed loop so it has an encoder.

That is the encoder I am targeting?using.
I believe it is a 1000 PPR (Pulse Per Revolution) encoder but that is a guess.

I was hoping to use a RPM program to confirm the count.

I am not a programmer but I get away with hacking other's programs to get what I need.

So I would probably be using a UNO with an I2C LED display.

Ralph











On Sat, Apr 15, 2023 at 11:13?AM Mark Naylor <mark_naylor@...> wrote:
Ralph,

The rpm sketch is capturing every change in signal on both the a and b channels. So on the 800 PPR encoder I tested with it will process 4* 800 signal changes per rev. If you are going to 5000 rpm it¡¯s probably best to just use the Z channel which signals once per rev. Can you share more details of your encoder such as the PPR and which channels it provides?



Kind Regards

Mark

From: [email protected] <[email protected]> on behalf of Ralph Hulslander <rhulslander@...>
Sent: Saturday, April 15, 2023 3:15:50 PM
To: [email protected] <[email protected]>
Subject: Re: [AtomicELS] Finally first step
?
Yes Mike there was a link, thank you.

Thanks Mark, seems strange to get a error?at ~200 rpm.
But I will investigate (ha).
I will need upto 5,000 rpm.

Ralph

On Sat, Apr 15, 2023 at 6:52?AM Mark Naylor <mark_naylor@...> wrote:
Here is a link to code on GitHub, tested against Arduino UNO and MKR Wifi 1010 using an Omrom E6B2-CWZ6C rotary encoder bought off eBay. Runs upto ~200rpm before detecting errors which could either be the encoder or ability of arduino to keep up with interrupts, but since both tested arduinos see errors at roughly the same level I'd guess its the encoder.

Code free to use under GNU GPL licence and without warranty etc.


--

retired developer, woodworker hobbyist, uk

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?

--

retired developer, woodworker hobbyist, uk

--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

Hi Ralph and guys.
I intend to reintroduce the digital feed ELS and RELS files, and photos back into the digitalhobbyist forum next week.
As you remember, the original digital work was very well set out by a Russian guy named Igor ? and basically worked around driving electronically a lead screw for a mini Sieg type lathe.
But the RELS system grew from Igors original work? by R Edwards. Power feed X Z, screw cutting, taper cutting etc etc.?
All the files and photos that were originally entered into digitalhobbyist a few years ago by R Edwards, without my knowledge or consent within 2 weeks were pulled. so I asked Edwards? WHY ??
He said he did not want the KGB knocking on his door because Igors work was not "open source". I am sure Russia has a lot more problems on the world stage at this moment?to worry about electronic?lead screws.
I think it?was a very sad?case at the time of Edwards not wanting to be involved in the RELS unless he had complete?control and you do?it "my way or the?highway",?and no debates. This is called Autocratic?management.?
I know in the past John D had a few issues with Edwards to say the least
when he first bought one of John?s proven controllers.
But time moves on.?
I will reintroduce the RELS piece by piece, and put back info and photos into digitalhobbyist, as I have full backups of? schematics, Arduino, sketches etc etc and AtomicELS? and are all welcome to glean any information that?might be helpful.
The Arduino files reference the?encoder may be beneficial.
I am prepared to answer any questions regarding the RELS? as I built 3 complete units, but bearing in mind I do not have a post degree in electrical engineering
and only savvy with RELS on mini lathes, but a lathe is a lathe whatever size you have.
Needless to say Edwards is no longer allowed to post, read, etc etc any digital hobbyist forum news.

Hope the above information helps current and future [email protected]? members.

Thanks for your understanding, a long time overdue email?from me, sorry for that.

John Lindo
Spain.



On Sat, 15 Apr 2023 at 21:06, Ralph Hulslander <rhulslander@...> wrote:
This is from the Driver:

2.1 Electrical Parameter
Voltage range AC24~70V or DC30~100V
Peak current Peak 8.0A£¨current change according to load£©
Logic input current 7~20mA
frequency 0~200KHz
Suitable motor 86HSE116£¬86HSE154£¬86HSE82
Encoder lines 1000
Insulation resistance >=500M¦¸

I "assume" Encoder lines 1000 is PPR = 1000

3. 2. Encoder input port
Port NO.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Encoder Wire color
? ? ?1? ??EB+? ? Encoder B phase input+? ? ? ?yellow
? ? ?2? ? EB-? ? ?Encoder B phase input-? ? ? ? green
? ? ?3? ? EA+? ? Encoder A phase input+? ? ? ? black
? ? ?4? ??EA-? ? ?Encoder A phase input? ? ? ? ??blue
? ? ?5? ??VCC? ?Encoder voltage £¨+5V)? ? ? ? red
? ? ?6? ??EGND?Encoder Grand? ? (0V)? ? ? ? ? white

Not sure what EGND?is but otherwise it looks like other encoder wiring.

Ralph



--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

¿ªÔÆÌåÓý

??? ??? Thanks John . I tried to read the whole thread on Igor's project several times . Some I understood & some I was totally lost on though I'm sure the online translate I was using didn't help one bit . I was impressed with what Igor &? his thread members were able to pull off . Who knows he may be chained to a table wright code for the war machine in Russia these days . I don't think I had seen the word " guitar " used more times then I did in that forum , & I'm a rocker & just plain music freek .

??? ??? thanks for your work .

??? ??? animal

On 4/15/2023 2:31 PM, John Lindo wrote:

Hi Ralph and guys.
I intend to reintroduce the digital feed ELS and RELS files, and photos back into the digitalhobbyist forum next week.
As you remember, the original digital work was very well set out by a Russian guy named Igor ? and basically worked around driving electronically a lead screw for a mini Sieg type lathe.
But the RELS system grew from Igors original work? by R Edwards. Power feed X Z, screw cutting, taper cutting etc etc.?
All the files and photos that were originally entered into digitalhobbyist a few years ago by R Edwards, without my knowledge or consent within 2 weeks were pulled. so I asked Edwards? WHY ??
He said he did not want the KGB knocking on his door because Igors work was not "open source". I am sure Russia has a lot more problems on the world stage at this moment?to worry about electronic?lead screws.
I think it?was a very sad?case at the time of Edwards not wanting to be involved in the RELS unless he had complete?control and you do?it "my way or the?highway",?and no debates. This is called Autocratic?management.?
I know in the past John D had a few issues with Edwards to say the least
when he first bought one of John?s proven controllers.
But time moves on.?
I will reintroduce the RELS piece by piece, and put back info and photos into digitalhobbyist, as I have full backups of? schematics, Arduino, sketches etc etc and AtomicELS? and are all welcome to glean any information that?might be helpful.
The Arduino files reference the?encoder may be beneficial.
I am prepared to answer any questions regarding the RELS? as I built 3 complete units, but bearing in mind I do not have a post degree in electrical engineering
and only savvy with RELS on mini lathes, but a lathe is a lathe whatever size you have.
Needless to say Edwards is no longer allowed to post, read, etc etc any digital hobbyist forum news.

Hope the above information helps current and future [email protected]? members.

Thanks for your understanding, a long time overdue email?from me, sorry for that.

John Lindo
Spain.



On Sat, 15 Apr 2023 at 21:06, Ralph Hulslander <rhulslander@...> wrote:
This is from the Driver:

2.1 Electrical Parameter
Voltage range AC24~70V or DC30~100V
Peak current Peak 8.0A£¨current change according to load£©
Logic input current 7~20mA
frequency 0~200KHz
Suitable motor 86HSE116£¬86HSE154£¬86HSE82
Encoder lines 1000
Insulation resistance >=500M¦¸

I "assume" Encoder lines 1000 is PPR = 1000

3. 2. Encoder input port
Port NO.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Encoder Wire color
? ? ?1? ??EB+? ? Encoder B phase input+? ? ? ?yellow
? ? ?2? ? EB-? ? ?Encoder B phase input-? ? ? ? green
? ? ?3? ? EA+? ? Encoder A phase input+? ? ? ? black
? ? ?4? ??EA-? ? ?Encoder A phase input? ? ? ? ??blue
? ? ?5? ??VCC? ?Encoder voltage £¨+5V)? ? ? ? red
? ? ?6? ??EGND?Encoder Grand? ? (0V)? ? ? ? ? white

Not sure what EGND?is but otherwise it looks like other encoder wiring.

Ralph



--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

Thanks John, glad to have RELS back.

Ralph

On Sat, Apr 15, 2023 at 6:07?PM mike allen <animal@...> wrote:

??? ??? Thanks John . I tried to read the whole thread on Igor's project several times . Some I understood & some I was totally lost on though I'm sure the online translate I was using didn't help one bit . I was impressed with what Igor &? his thread members were able to pull off . Who knows he may be chained to a table wright code for the war machine in Russia these days . I don't think I had seen the word " guitar " used more times then I did in that forum , & I'm a rocker & just plain music freek .

??? ??? thanks for your work .

??? ??? animal

On 4/15/2023 2:31 PM, John Lindo wrote:
Hi Ralph and guys.
I intend to reintroduce the digital feed ELS and RELS files, and photos back into the digitalhobbyist forum next week.
As you remember, the original digital work was very well set out by a Russian guy named Igor ? and basically worked around driving electronically a lead screw for a mini Sieg type lathe.
But the RELS system grew from Igors original work? by R Edwards. Power feed X Z, screw cutting, taper cutting etc etc.?
All the files and photos that were originally entered into digitalhobbyist a few years ago by R Edwards, without my knowledge or consent within 2 weeks were pulled. so I asked Edwards? WHY ??
He said he did not want the KGB knocking on his door because Igors work was not "open source". I am sure Russia has a lot more problems on the world stage at this moment?to worry about electronic?lead screws.
I think it?was a very sad?case at the time of Edwards not wanting to be involved in the RELS unless he had complete?control and you do?it "my way or the?highway",?and no debates. This is called Autocratic?management.?
I know in the past John D had a few issues with Edwards to say the least
when he first bought one of John?s proven controllers.
But time moves on.?
I will reintroduce the RELS piece by piece, and put back info and photos into digitalhobbyist, as I have full backups of? schematics, Arduino, sketches etc etc and AtomicELS? and are all welcome to glean any information that?might be helpful.
The Arduino files reference the?encoder may be beneficial.
I am prepared to answer any questions regarding the RELS? as I built 3 complete units, but bearing in mind I do not have a post degree in electrical engineering
and only savvy with RELS on mini lathes, but a lathe is a lathe whatever size you have.
Needless to say Edwards is no longer allowed to post, read, etc etc any digital hobbyist forum news.

Hope the above information helps current and future [email protected]? members.

Thanks for your understanding, a long time overdue email?from me, sorry for that.

John Lindo
Spain.



On Sat, 15 Apr 2023 at 21:06, Ralph Hulslander <rhulslander@...> wrote:
This is from the Driver:

2.1 Electrical Parameter
Voltage range AC24~70V or DC30~100V
Peak current Peak 8.0A£¨current change according to load£©
Logic input current 7~20mA
frequency 0~200KHz
Suitable motor 86HSE116£¬86HSE154£¬86HSE82
Encoder lines 1000
Insulation resistance >=500M¦¸

I "assume" Encoder lines 1000 is PPR = 1000

3. 2. Encoder input port
Port NO.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Encoder Wire color
? ? ?1? ??EB+? ? Encoder B phase input+? ? ? ?yellow
? ? ?2? ? EB-? ? ?Encoder B phase input-? ? ? ? green
? ? ?3? ? EA+? ? Encoder A phase input+? ? ? ? black
? ? ?4? ??EA-? ? ?Encoder A phase input? ? ? ? ??blue
? ? ?5? ??VCC? ?Encoder voltage £¨+5V)? ? ? ? red
? ? ?6? ??EGND?Encoder Grand? ? (0V)? ? ? ? ? white

Not sure what EGND?is but otherwise it looks like other encoder wiring.

Ralph



--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


--
Craftsman?101.07403 12x36 Lathe, Clausing 8520 Vertical Mill, Buffalo 4x12 Mini Lathe, Delta 14" Bandsaw. (The 12x36 lathe, 8520 and bandsaw are all powered with a Consew 3/4 hp Brushless DC motor)?


 

On Sat, Apr 15, 2023 at 02:32 PM, John Lindo wrote:

As you remember, the original digital work was very well set out by a Russian guy named Igor ? and basically worked around driving electronically a lead screw for a mini Sieg type lathe.
Hi John,

Are you sure about this? The "Russian ELS" that I know of was made by "Oleg A", I don't know if he's originally Russian or not, but his current profile lists his location as Riga (capital of Latvia).
Here's his ELS forum thread on a Russian machinists forum:
I don't know what Edwards did, but Oleg's ELS has screw cutting, tapers, balls etc out of the box.
Oleg's position on licensing was that he doesn't want to bother to study the various licenses and their complications. He said he's fine for the project to be used or improved by anyone for personal use, but not for sale (it's somewhere in the forum thread I linked, or the second thread on the topic - links is in the first post of the thread I linked).

Cheers
Gene