Will need 5 to replicate my setup, can use different stepper motor drivers for as low as $10 using 4988 stepper motor drivers. Will test with this setup later and report
Note: In retrospect this is not the best way to do this. I’ll provide more information at a later date with how to get a better environment, but following these steps will let you get at least an initial setup. Later on I should be able to provide a custom ISO with everything set up, so there is minimal steps. Namely I want to use either the Ubuntu (way more user friendly) or Debian 9. Both of these would be more secure. With this current setup I highly discourage using this Debian 7 Machine for anything other than running LinuxCNC. You should not browse the internet, or sign in to any of your accounts. Debian 7 is very vulnerable to exploitation.
Info
What you are doing in this step is downloading the Debian Operating System that has been custom compiled to operate CNC machines. It includes some of the software needed to run the Lowrider, but we will be upgrading it to the "not officially released" version to get one of the best features. Kinematics. This will allow you to Home each motor independently.
This is a direct link to the Debian 7 ISO. An ISO in this case is an install disk for an operating system.
Download Rufus for Windows (assuming you are on Windows), if you are on Linux you can use dd
Insert a reasonably large (16GB+) USB drive into your computer. And open Rufus software
Select the ISO downloaded in step one as the source and the USB drive as the target.
I used linux `dd if=~/linuxCNC.iso of=/dev/sdb`.The above should work but if anyone has issues or input let me know and I'll update this section as needed
Safely remove the USB (eject) when complete
Insert the USB into the powered off PC that you plan on using for your LinuxCNC controller
Power on the PC and press the keys to enter BIOS as the PC powers on. (ESC on my computer, often it is F10 or DEL)
This step is a little vague because its going to be very different based on what PC you are using and its BIOS. You need to set it the Boot Order, so that USB comes before the HDD. If you need assistence with this send me a PM and I'll help you work thru your particular machine. Google is your friend here.
Save and continue booting to the USB
Follow the on screen promts to install Debian. If I remember correctly the defaults were all fine, you will just have to make a user and password.
You should eventually boot into Debian 7 LinuxCNC 2.7 (but we aren't done yet. We need to update to 2.8)
So for those of you interested in doing this, I’m going to post my HAL file, INI file, Fusion360 post processor, and a few short scripts I use. I’ll host it on my github.
WARNING: I’m getting a weird skewing issue on my cuts. I’m not sure if this is software or hardware at this point.
Its a mess right now, but I’ll keep updating it once I make fixes and adjustments. I should have been already …
It would be worth mentioning to the uninitiated that linuxcnc has a feature called “Path Blending”. It’ll take shortcuts from one path (movement) to the next to save time. In computer graphics terms you can kind of think of it like anti-aliasing. The tolerance with which linuxcnc stays within the gcode path can be set with a G64 P#.#### gcode in the files preamble.
I added a second Parallel card, and had to make some changes in bios to get the second card working. I don’t remember what exactly now. I also had a hard time getting it to boot to USB, I actually wasn’t the one that fixed that one, my gf did while I was at work. I had tried setting the boot order, and turning off every other boot device, but it still kept trying to either network boot or boot to HDD. She said there was some security setting she had to adjust. The Bios on this computer is … lacking … to say the least.
I’m currently running the motors off the PCIe Parallel card, when I should instead be running it off the onboard one. My jitter numbers are like 10ms but those were set and tested before I made a lot of changes and I didn’t stress the machine near enough so I should do it again. I didn’t have a Parallel port header cable when I first started setting it up, and added it later. I should be able just flip the addresses in the hal and flip the cables to switch the two without changing all the parport.0 to parport.1 and vise versa. It’s running fine now but I’ll definitely be readjusting it after I make that change.
Mint is a good option. I’m pretty familiar with it, but more familiar with debian, since that is what I use at work. Mint is more user friendly tho and may be better for others. I may work on making a custom ISO with mint and linuxCNC set up for the Lowrider that people can download and install. I’d like to but so many projects right now …
I just looked at a gcode generated by fusion360. It doesn’t add any G64, so the default is being used which is blending. I can easily add that to my fusion postprocessor to add a G64 P?. But what should the tolerance be set to? Do you have any recommendations?
I don’t know but for reference the PP I’m using for SheetCam and plasma cutting has it set to 0.01" (or 0.254 mm)
G64 P0.01 Q0.001 (tracking tolerances: 0.01")
But that’s plasma which is already blazing fast and I suppose isn’t going to be as dimensionally accurate as milling.
I’m guessing the correct but unsatisfying answer is “it depends.” I suppose if you’re doing big 2d signage you can set it relatively high, if you’re doing fine 3d modeling then set it to something like 0.0001