Estlcam with experimental Arduino Mega2560 / Ramps 1.4 support

I just got the uno Love it I am trying to set up the features you are talking about, but cant find any info on wiring. you have any info you could share? :slight_smile: what i bought is on the last page of this thread it is a great board.

1st. Uno with CNC Shield or RAMPS?
2nd. select proper board ins estlcam, on the right side there is a display of the used pins
For RAMPS the sensor pin ist on AUX 4 second pin of the row D17, ground is the second lowerst pin
one goes to the toolbit (ground) (use alligator clip), other (input) goes to touchplate
If you want a cool cheap touchplate check http://www.thingiverse.com/thing:1799974
drill a 2mm hole at the right up corner, glue aluminium foil to top and the sides (one piece!!!) and fix the lead to the screw so it makes contact to the foil

For CNC-Shield check inside Estlcam, should be A5
3rd. enable pins in estlcam
4th. under machine controll you can do surface scanning, zeroing…

To David: You bought the standard CNC-Shield, not the RAMPS discussed here. Setup for your shield is well explained in ESTLCAM. Just select the right Arduino layout (GRBL / GRBL safe). Pins are described on the right side. just hook up the sensor pin and (if needed) the endstops. As Vicious1 always says for cnc they are not really needed. I wanted to install them but now i think there is absolutely no need for them (if you are not 3d printing with your MPCNC).

For some reason everything i do on my Z axis is like 3 times the depth like i I say go 1mm deep its doing 3mm were can I fix it

I guess you need to adjust the steps per unit and unit settings in Estlcam of your Z-Axis. The steps per unit should be the amount of steps for one turn of the stepper and the unit shall reflect you thread lead, which is in my case 1.5mm with 1600 steps per turn.

Cheers,
Juergen

Hi Christian,

thanks for the grate work… I’ve falsely made a 4 hour milling job and did a try run with a prior Z-zeroing with a touch plate and it works grate… I think I’ll continue with the Mega2560/Ramps 1.4 combination, because I’ll be able to switch to Marlin back again and it seems to run better than the Arduino+CNC shield combination I tried before…

One question regarding the auxiliary outputs 1 and 2: can you please add them as well to the ramps control board? Is it possible to have bigger buttons for control of this outputs, which can have an self defined text? Can the both outputs wired on the high power driver for either the extruder’s or the heated bed?

The reason why I’m asking, I like to have a vacuum table, which will be connected to a pneumatic vacuum generator, which can be controlled by a magnetic valve to held the work piece in place… So it might being a god thing, having a button which says ā€˜vacuum on/off’… By the way… Can those outputs be controlled by G-Code as well?

Thanks in advance,
Juergen

1 Like

Hi,

support for more outputs may be added later - but at the moment there is unfortunately no time.

Christian

So probing now works with Arduino Mega?!

Christian states in his program to ā€œset drivers to 1600 steps/rev for best performanceā€. What should the jumper settings be for this?
1/8 if they’re typical 200 steps/rev 1.8° steppers ?

jumpers.png

MegaJumpers.png

Touch Plate is now working - answer Yes - see video on top of this page. reply #18837R

Hi Mike,

yes, the settings for 1/8 micro steps with 1600 steps per unit and 200 steps per turn steppers is the right one. I’m using this setting and it works perfect for x/y-axis… For the z-axis I’m using 1/4 and 800 steps per unit…

By the way, I’ve had now a few tries without sensing input on my machine and don’t had any issues right now. I’m currently start to build a tool length sensor and a touch plate and will wire it to the Ramps 1.4 board. First tests work well, but I’ll give it some further tries…

@Christian: Thank you very much for this nice work…

Cheers,
Juergen

I just loaded 9.017 onto my RAMPS 1.4 to replace Repetier. Older Acer small laptop with Win7 32bit Celeron.
First problem is ESTLCAM won’t quite fit on the 600x1024 display. Help screens and buttons are off the edges.
No problem with WIN10 and 800x1280 on a different 64bit touchscreen laptop.

Main problem was trying to change stepper microsteps. It turned out the RAMPS 1.4 board had all the jumper pins shorted by traces on the board! The traces are visible with the header removed. A real pain to try to cut the jumper. Connected a 12V SLA battery across the pins and blew the jumper away completely, no residual resistance. Since I had to do them all, I made a two pin connector with a foot of #22 cable. Plugged it in and then connected to the battery.

Found this problem documented: http://forums.reprap.org/read.php?219,507642,713538#msg-713538

So far, I like ESTLCAM a lot!

Thanks Jurgen
So the 3rd jumper goes out. Ok,tested - lot of noise stepper moves A4988 getting hot… and the trimmer on A4988 do I adjust Voltage (? V) when my 12V 10A power is connected or only powered board by USB ?
Thanks,
Mike

My Voltage is now 0.75V DC on trimmer…

Mike, be careful, the A4988 have different current shunts and therefore, the reference voltage you measure on the trimmer might cause different current settings. Search for Ramps 1.4 wiki on Google, there is a section regarding the different StepStick’s and the formula for calculate the motor current out of it. The trimmer’s are used to adjust the reference voltage for current measurement on the A4988:
http://www.reprap.org/wiki/Pololu_stepper_driver_board

I had the same issue with the A4988 stepper driver, that those got too hot, so I changed to the DRV8825, which have a 4-layer PCB, which has a better thermal design. I’m using the DRV8825 without any active cooling and they don’t getting hot at all… Even with motor currents between 1A and 1.4A.

Cheers,
Juergen

One thing I have in mind, if you don’t want to calculate the right reverence voltage, just set the trimmer to the direction with the lowest reference voltage. Then start moving the motor and turn the trimmer into the other direction until the motor starts moving. After this, turn it just a little bit more and you have the correct current setting for your motor to move properly…

Cheers,
Juergen

Hello,
I have changed to DVR8825 and I have them all 3 on 0.71V DC now (minor heating of heat sinks) and looks and works fine. All axes move now for proper dimension and no strange noise - nice sound from steppers turning - I tested all 5 speeds on Estlcam controller and looking / working good.
I have two steppers 3A Nema 23 3A on Y axis. If I move one to E0 oe E1 what do i need to change on Ramps PCB and how will Estelcam know -where to set this settings ?
Anyone knows ?

EXP1 and EXP2 are used for displays and there are MANY different displays to fit to this Mega PCB connectors…
Mega+Ramps 1.4 Eagle Cad sch and brd files from Wiki enclosed for reference to this …

Mega3D-printer-ramps-1.4-schema.jpg

ArduinoMegaPololuShield.zip (597 KB)

RAMPS_1-4manual.pdf (498 KB)

1 Like

Marvin - I can not get touch plate to work on Mega, I had it working on Uno -
Did you place any pull up resistors in or direct connection 2 Gnd - Pin 17?

Thanks

I had a short on connector and Now it works just fine without any resistors connected…
Thanks