Thank you for posting. I have all my parts but was really struggling trying to fat finger assemble these durn microscopic dupont pin connectors and wires myself. Got a lot of interference too. I got some of these premade usb cables you list, and problem solved! Wish I knew about these sooner.
This is awesome! I’m not a clueless person, but electrical is not one of my strong suits. It’s like how math is for a lot of folks 😉 I appreciate you walking us through it. I know that a kit isn’t exactly possible due to the wildly varying amount of different lathes in the world, but this is pretty darn close and that’s what I was needing. Thank you
@@dazecars Now I have a new question. Did you make any adjustments to the stepper driver other than plugging it in as you have shown in the video? Any DIP switch changes for example? I have the exact same Stepper Motor and Stepper Motor Controller and I have mine wired the exact same way as yours. Unfortunately I am getting no response from the Stepper Motor when I turn the encoder. The Stepper Motor manual shows the possibilities for this below... Motor is not rotating: No power - Connect power supply correctly (It is connected and I verified 50V going into the Stepper Motor Controller) Microstep resolution setting is wrong - Setting appropriate microstep (I'm pretty sure it's set to 200 in the code and I believe the default for the Stepper Motor Controller is also 200 according to the manual with SW1-SW4 being set to "ON") Fault condition exists Check wiring and restart power ( Have green light on the Stepper Motor Controller and no red light) The drive is disabled - Drive restore factory setting, and keep ENA+, ENA- input signals unconnected. (I have no idea how to do this) Sorry to bug you so much. Any ideas?
Correction - The microsteps is 8 in the code and that matches the dip switches on my motor controller with SW1 on, SW2 off, SW3 on, SW4 on. I wonder if I have something wrong with this code: // Steps and microsteps #define STEPPER_MICROSTEPS 8 #define STEPPER_RESOLUTION 200 // Separate step and microstep settings for feed rates. Redefine these if your // lathe has a separate feed drive train with a different ratio. #define STEPPER_MICROSTEPS_FEED STEPPER_MICROSTEPS #define STEPPER_RESOLUTION_FEED STEPPER_RESOLUTION // Step, direction and enable pins are normally active-high // #define INVERT_STEP_PIN true // #define INVERT_DIRECTION_PIN true #define INVERT_ENABLE_PIN true #define INVERT_ALARM_PIN true // Enable servo alarm feedback #define USE_ALARM_PIN
Thanks for sharing your project. Everything looks quite clear except what the encoder transmission ratio is? As far as I can see you've got synchro pulleys of different outer diameters so that the encoder is to revolve faster than a spindle. So is there any specific reason for doing that and why not to keep the ration 1:1 as 4096 ppr is just insane for the purpose?
You are correct 1:1 would be much better. The spindle pulley had to be the size it is so I could fit it over the spindle snout. When I ordered the pulleys I could not find an encoder pulley with the same tooth count as the spindle pulley that was the correct ID for the encoder. I did end up finding one some time later but that is a lot of mass to be rotating on the tiny encoder bearings. This encoder bearings don't even like much belt tension. With those things in mind gearing it at 2:1 and making the adjustment in the firmware was what I went with. In retrospect I could have done it with 4 gears 2 belts and an auxiliary shaft but at the time I wanted to keep it simple. It has been running this way for several years and have had no issues.
Nice video. Thanks for sharing… now if i can get my hands on a lathe😂…. By the way, I use solder and heatshrink on everything myself. But hot glue is a great semi-permanent insulator for connections that dont get extremely hot and aren’t out in the elements.
The one I have linked is a 1024 P/R which with two optics and reading both the on and the off results n a resolution of 4096 and then it is driven at a ratio of 2:1 on my machine so 8192. Did I answer your question?
I like it sir! I want ones for my mini Chinese lathe! Perhaps I would like to ask your help when I got the parts,would you do me a favor,sir? Thank you very much
Damn, you’re organized. Makes me ill 😬 So, I should get a 60 vdc power supply? Thanks for this video Daze. I wrote to James (Clough42) suggesting he do something similar. All those videos of his are top notch, but he’s missing a summary like this. Good job, and thanks Paul
The answer to your power supply question is maybe. It totaly depends on the motor and the motor specs. Some do not work with 60V power supplies, som do, and some work better but some do not. First you need to look at your motors power specs and then if it does work with 60V look at the torque curve and see if the voltage increase has any torque benefits.
I use aviation cables for everything instead of glands. Easy to unhook. But my rpm sensor has such fine wires it’s hard to find a 3 pin micro connector. Do you have any suggestions on this? I’d like to have a right angle plug on the outside that’s shielded. P
Sublime video - just gorgeous - thank you for taking the time to lay it all out.
my pleasure
Thank you for posting. I have all my parts but was really struggling trying to fat finger assemble these durn microscopic dupont pin connectors and wires myself. Got a lot of interference too. I got some of these premade usb cables you list, and problem solved! Wish I knew about these sooner.
Glad I could help!!
This is awesome! I’m not a clueless person, but electrical is not one of my strong suits. It’s like how math is for a lot of folks 😉
I appreciate you walking us through it.
I know that a kit isn’t exactly possible due to the wildly varying amount of different lathes in the world, but this is pretty darn close and that’s what I was needing. Thank you
Glad it was helpful!
I'm collecting the parts for my lathe too, James is a smart guy and I'm going to put it on an old Craftsman lathe.
It was a fun project
Thank you so much for this summary. Very helpful 👍😎👍
Glad I could help!!
This was the polished information I needed from watching the other videos Day. Can't thank you enough!
Glad it was helpful... told you your question was a day early 😂😂😂
@@dazecars Now I have a new question. Did you make any adjustments to the stepper driver other than plugging it in as you have shown in the video? Any DIP switch changes for example? I have the exact same Stepper Motor and Stepper Motor Controller and I have mine wired the exact same way as yours. Unfortunately I am getting no response from the Stepper Motor when I turn the encoder. The Stepper Motor manual shows the possibilities for this below...
Motor is not rotating:
No power - Connect power supply correctly (It is connected and I verified 50V going into the Stepper Motor Controller)
Microstep resolution setting is wrong - Setting appropriate microstep (I'm pretty sure it's set to 200 in the code and I believe the default for the Stepper Motor Controller is also 200 according to the manual with SW1-SW4 being set to "ON")
Fault condition exists Check wiring and restart power ( Have green light on the Stepper Motor Controller and no red light)
The drive is disabled - Drive restore factory setting, and keep ENA+, ENA- input signals unconnected. (I have no idea how to do this)
Sorry to bug you so much. Any ideas?
Correction - The microsteps is 8 in the code and that matches the dip switches on my motor controller with SW1 on, SW2 off, SW3 on, SW4 on.
I wonder if I have something wrong with this code:
// Steps and microsteps
#define STEPPER_MICROSTEPS 8
#define STEPPER_RESOLUTION 200
// Separate step and microstep settings for feed rates. Redefine these if your
// lathe has a separate feed drive train with a different ratio.
#define STEPPER_MICROSTEPS_FEED STEPPER_MICROSTEPS
#define STEPPER_RESOLUTION_FEED STEPPER_RESOLUTION
// Step, direction and enable pins are normally active-high
// #define INVERT_STEP_PIN true
// #define INVERT_DIRECTION_PIN true
#define INVERT_ENABLE_PIN true
#define INVERT_ALARM_PIN true
// Enable servo alarm feedback
#define USE_ALARM_PIN
Nevermind! I figured it out. The power DIP switch had to be changed on the Stepper Motor Controller from 24V to 5V.
@@137ftdeep Sorry I didn't respond sooner, Glad you got it fixed.
Thanks for sharing your project. Everything looks quite clear except what the encoder transmission ratio is? As far as I can see you've got synchro pulleys of different outer diameters so that the encoder is to revolve faster than a spindle. So is there any specific reason for doing that and why not to keep the ration 1:1 as 4096 ppr is just insane for the purpose?
You are correct 1:1 would be much better. The spindle pulley had to be the size it is so I could fit it over the spindle snout. When I ordered the pulleys I could not find an encoder pulley with the same tooth count as the spindle pulley that was the correct ID for the encoder. I did end up finding one some time later but that is a lot of mass to be rotating on the tiny encoder bearings. This encoder bearings don't even like much belt tension. With those things in mind gearing it at 2:1 and making the adjustment in the firmware was what I went with. In retrospect I could have done it with 4 gears 2 belts and an auxiliary shaft but at the time I wanted to keep it simple. It has been running this way for several years and have had no issues.
Nice video. Thanks for sharing… now if i can get my hands on a lathe😂…. By the way, I use solder and heatshrink on everything myself. But hot glue is a great semi-permanent insulator for connections that dont get extremely hot and aren’t out in the elements.
Great tip, thanks!!
Thank you for the interesting video. Can you please tell me how many pulses your encoder makes per revolution.
The one I have linked is a 1024 P/R which with two optics and reading both the on and the off results n a resolution of 4096 and then it is driven at a ratio of 2:1 on my machine so 8192. Did I answer your question?
I like it sir! I want ones for my mini Chinese lathe! Perhaps I would like to ask your help when I got the parts,would you do me a favor,sir? Thank you very much
what favor would you be asking?
Damn, you’re organized. Makes me ill 😬
So, I should get a 60 vdc power supply?
Thanks for this video Daze. I wrote to James (Clough42) suggesting he do something similar. All those videos of his are top notch, but he’s missing a summary like this.
Good job, and thanks
Paul
The answer to your power supply question is maybe. It totaly depends on the motor and the motor specs. Some do not work with 60V power supplies, som do, and some work better but some do not. First you need to look at your motors power specs and then if it does work with 60V look at the torque curve and see if the voltage increase has any torque benefits.
What was the last link, Autonomous stepper controller used for? Can recall seeing it in the vid. Then, how was it wired?
this should help let me know if you have any other questions th-cam.com/video/JBkguGwLz54/w-d-xo.html
I use aviation cables for everything instead of glands. Easy to unhook.
But my rpm sensor has such fine wires it’s hard to find a 3 pin micro connector. Do you have any suggestions on this? I’d like to have a right angle plug on the outside that’s shielded.
P
no I don't have any suggestions.