Raspberry pi 4 CNC lathe conversion?
- mrcrankyface
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 2
19 Feb 2021 13:27 #199419
by mrcrankyface
Raspberry pi 4 CNC lathe conversion? was created by mrcrankyface
Hi!
I've tried searching around on this topic but since I'm such a beginner with linux and CNC controls I'm having a lot of problems understanding what I'm finding.
I have CNC-converted a milling machine before but that was with a big stationary PC and Windows/Mach3.
What I want to try is using a Raspberry pi 4 to convert a manual lathe to CNC, partly because I've heard that linuxcnc is more reliable and because the raspberry is both small and cheap.
I assume the pi cannot directly interface to the stepper motor drivers so I probably need an interface there?
I can easily get a hold of something like a UC300ETH card, would this work with a pi4/linuxcnc?
For threading I would need to keep track of the spindle, how is this generally done on?
I'm just a happy hobbyist so talk to me like I'm 5.
Thanks for any help!
I've tried searching around on this topic but since I'm such a beginner with linux and CNC controls I'm having a lot of problems understanding what I'm finding.
I have CNC-converted a milling machine before but that was with a big stationary PC and Windows/Mach3.
What I want to try is using a Raspberry pi 4 to convert a manual lathe to CNC, partly because I've heard that linuxcnc is more reliable and because the raspberry is both small and cheap.
I assume the pi cannot directly interface to the stepper motor drivers so I probably need an interface there?
I can easily get a hold of something like a UC300ETH card, would this work with a pi4/linuxcnc?
For threading I would need to keep track of the spindle, how is this generally done on?
I'm just a happy hobbyist so talk to me like I'm 5.
Thanks for any help!
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19488
- Thank you received: 6535
19 Feb 2021 13:43 #199427
by tommylight
Replied by tommylight on topic Raspberry pi 4 CNC lathe conversion?
Welcome,
The best solution would be a Mesa 7i76E, but 7i96 should also do fine. Everything you need can also be done with just a 7i92 if the spindle VFD can do 0-5V input, but it does require more care wiring it.
The best solution would be a Mesa 7i76E, but 7i96 should also do fine. Everything you need can also be done with just a 7i92 if the spindle VFD can do 0-5V input, but it does require more care wiring it.
The following user(s) said Thank You: mrcrankyface
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
Less
More
- Posts: 1454
- Thank you received: 527
19 Feb 2021 14:09 #199433
by RotarySMP
Replied by RotarySMP on topic Raspberry pi 4 CNC lathe conversion?
I used a 7i96 on my manual lathe conversion.
forum.linuxcnc.org/26-turning/38280-pimping-the-mini-lathe
If you dont need too much I/O, this is probably plenty for a lathe.
Mark
forum.linuxcnc.org/26-turning/38280-pimping-the-mini-lathe
If you dont need too much I/O, this is probably plenty for a lathe.
Mark
The following user(s) said Thank You: mrcrankyface
Please Log in or Create an account to join the conversation.
- mrcrankyface
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 2
19 Feb 2021 14:16 - 19 Feb 2021 14:36 #199434
by mrcrankyface
Replied by mrcrankyface on topic Raspberry pi 4 CNC lathe conversion?
Thanks for the quick replies!
I went ahead and ordered a 7i96.
Any recommendations what kind of encoder I need/should get?
Love your videos btw RotarySMP.
I'll read through your thread and see what stuff I can pick up!
Edit: About encoder, would for example something like this work with the 7i96?
www.electrokit.com/en/product/rotary-enc...r-quadrature-output/
I went ahead and ordered a 7i96.
Any recommendations what kind of encoder I need/should get?
Love your videos btw RotarySMP.
I'll read through your thread and see what stuff I can pick up!
Edit: About encoder, would for example something like this work with the 7i96?
www.electrokit.com/en/product/rotary-enc...r-quadrature-output/
Last edit: 19 Feb 2021 14:36 by mrcrankyface.
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
Less
More
- Posts: 1454
- Thank you received: 527
19 Feb 2021 22:12 #199480
by RotarySMP
Replied by RotarySMP on topic Raspberry pi 4 CNC lathe conversion?
Thanks. That encoder will work fine. I have a similar one, but with only 100ppr resolution, as I bought it before I got the 7i96, and expected to be limited to the max sampling frequency of the parallel port (~40KHz).The 7i96 manual lists it as supporting a max sampling frequency of 10MHz.
Mark.
Mark.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
Less
More
- Posts: 504
- Thank you received: 157
19 Feb 2021 22:41 #199485
by Hakan
Replied by Hakan on topic Raspberry pi 4 CNC lathe conversion?
If you like differential output from the encoder then E6B2-CWZ1X is an option. The one you link to work in single-ended mode and that works fine too. It's a jumper setting on the 7i96.
Number of pulses per revolution is not so important, anything from say a few 10ths ppr and up will work. There must be an index pulse.
Combine with a touch screen.
Number of pulses per revolution is not so important, anything from say a few 10ths ppr and up will work. There must be an index pulse.
Combine with a touch screen.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds