On 11/8/26 20:05, fxkl47BF--- via Emc-users wrote:
i have a small cnc router that is driven by the parallel port of a pc i see at "https://www.linuxcnc.org/docs/html/drivers/hal_pi_gpio.html" that i can use the gpio pins of a raspberry pi for this is anyone doing this and can you share what you learned i have a pi 4 available i realize there are a number of mesa options
Generally speaking, there are not enough free gpio pins to accomplish adequate for CNC controls. I am running an 11x56 Sheldon lathe with an rpi4, using a mesa 7i90 which expands a 3 gpio pin driven spi bus to 72 i/o pins, buffered by 3 7i42TA's because the 7i90 is all direct from the 3 volt fpga's. The power to the lathe is in the F2 button, and the spindle is a small d/a card called a spinx1 from mesa controlling the VFD I use for spindle power.
I actually have around 20 leftover pins that I could use for tool changers or whatever. This same interface kit could easily be used for 4 or more axises. I did this conversion with an rpi3b which ran ok but you could hear some stuttering, so the rpi3b got replaced by an rpi4b when it came out. No more stutter. Latency without firefox running is about 12 microseconds. I have, since the original conversion/build, changed the stepper motors to Closed loop Stepper/Servo's running on 42 volt PSU's. They offer real time motor control that is not possible with normal steppers. They have yet to lose a step in the 7 or 8 years since.
At 15 watts to control the lathe, beats the 300 times 2 that runs my 2 mills, I'd convert them to this kit except that 300 watts*2 is part of my winter heat for that well insulated garage I built 18 years ago. Meaning the heat needed would be transferred to the electric heaters that keep it comfy, so the power bill wouldn't change.
Take care of you and yours everybody. Cheers, Gene -- There are four boxes to protect liberty Soap, ballot, jury, ammo Please use in that order! _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
