Download the IDE Arduino 1.0.6 software (for now the firmware does not compile with a higher version) and the U8glib library
- Install the Arduino 1.0.6 software
- Install the U8glib library (don’t unzip)
- Sketch > Include library > Add .ZIP library
- Select the downloded Zip and valid
Download the Marlin firmware for R-CNC
- Open Arduino 1.0.6
- File >Open and looking for Marlin_R-CNC_EN> Marlin_R-CNC > Marlin_R-CNC.ino
- Plug the Ramps 1.4 into a USB port on your computer, either it recognizes the card and installs the driver, or you’ll have to look for the driver corresponding to your card, indeed, the chip making the gateway between USB and serial communication varies From one manufacturer card to another, you have to find the right driver.
- Once the driver is installed, in the Arduino software, go to Tools> Boards, and select “Mega 2560”
- Then Tools> Port, and select the port of your card.
- Upload the firmware by clicking on . This may take a little time.
Note: The firmware is provided for a certain configuration: 1.8 ° motors set in 1 / 16th step, 20×60 teeth pulleys for Y, threaded rods 1,25mm pitch. If your configuration differs, you’ll need to change the values at the “#define DEFAULT_AXIS_STEPS_PER_UNIT” line on the Configuration.h tab. To help you, you can use this calculation tool.
If you decide to use another firmware, I advise you to note the accelerations and max speeds for each axis that I parameterized in the Marlin for the R-CNC
Now the LCD displays information!
Now we will download the Repetier Host software, just to test the movements of our cnc
- Install Repetier Host
- In Repetier, go to Configuration> Printer Setup, select the correct COM port and then “Apply”.
- Click on the “Connect” icon on the left, it must become green.
We will now move the axes of our CNC! To do this, “Manual control” tab. But above all, manually position each axis in the middle of the travel.
- You have 3 sets of buttons, the left control X and Y, the middle Z, and the right one the extruder.(But we do not need the latter in our case!)
- When you click down on the left button set, the portal (Y) must move frontward from the value in mm you have clicked and vice versa.
- When you click to the right, the extruder (X) must go to the right of the value in mm that you clicked.
- Same with Z on the middle button set
Note: If one of the motors does not rotate in the correct direction, simply turn its plug 180 ° on the Ramps 1.4 (for the nema 17) or by inverting the two pairs of wires of the nema 23 motor on the TB6600.
Note2: If one of the X or Z motors loses steps in a grunting noise, you must lubricate the threaded rods with PTFE dry lubricant and securely adjust the pololus. (Small potentiometers on the steppers drivers on the Ramps)
Note3: This firmware version is temporary pending a custom version of Marlin without the options dedicated to 3D printing and compatible with the latest versions of Arduino software.
We go to use the CNC