first connection of my RAMPS V1.4 October 29, 2015 05:37PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 October 29, 2015 09:52PM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 October 30, 2015 07:14AM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 October 30, 2015 11:27PM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 October 31, 2015 06:21AM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 October 31, 2015 04:53PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 October 31, 2015 08:50PM |
Registered: 11 years ago Posts: 1,049 |
Re: first connection of my RAMPS V1.4 October 31, 2015 10:39PM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 November 01, 2015 06:39AM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 01, 2015 06:57AM |
Registered: 8 years ago Posts: 53 |
Ok Thank you Cozmicray,Quote
cozmicray
It would be nice to know what firmware you have loaded on your Mega.
Marlin or Repetier are most common.
My search shows they use Marlin
The MTW download center
[makerstoolworks.com]
has
[RAMPS 1.4] [No Endstops]
Marlin for MendelMax 2.0 Full [RAMPS 1.4] [No Endstops]
[RAMPS 1.4] [Endstops]
Marlin for MendelMax 2.0 Full [RAMPS 1.4] [Endstops] [No LCD]
These file should have configuration table all ready set.
Also firmware has to be modified for specific electronics, and configuration
the configuration.h subroutine has settings to do this.
The configuration.h table must be edited to your specific configuration before compile and upload
Here is where endstop switches are set to normally closed (NC) normally open (NO)
and stepper direction also set here.
Check firmware settings!
Re: first connection of my RAMPS V1.4 November 01, 2015 07:00AM |
Registered: 8 years ago Posts: 53 |
Ok thank you cozmicray, if I do not have a result with the procedure of Dust, I'll make a new upload of the firmware with no-endstop. Best regards, JackQuote
cozmicray
It would be nice to know what firmware you have loaded on your Mega.
Marlin or Repetier are most common.
My search shows they use Marlin
The MTW download center
[makerstoolworks.com]
has
[RAMPS 1.4] [No Endstops]
Marlin for MendelMax 2.0 Full [RAMPS 1.4] [No Endstops]
[RAMPS 1.4] [Endstops]
Marlin for MendelMax 2.0 Full [RAMPS 1.4] [Endstops] [No LCD]
These file should have configuration table all ready set.
Also firmware has to be modified for specific electronics, and configuration
the configuration.h subroutine has settings to do this.
The configuration.h table must be edited to your specific configuration before compile and upload
Here is where endstop switches are set to normally closed (NC) normally open (NO)
and stepper direction also set here.
Check firmware settings!
Re: first connection of my RAMPS V1.4 November 01, 2015 12:09PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 01, 2015 02:30PM |
Registered: 11 years ago Posts: 469 |
Re: first connection of my RAMPS V1.4 November 01, 2015 04:03PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 01, 2015 04:31PM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 November 01, 2015 04:40PM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 November 01, 2015 05:40PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 01, 2015 06:04PM |
Registered: 8 years ago Posts: 53 |
Quote
Dust
Another issue you will have is your steps per millimetre
the firmware you upload has the line
#define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,1600,462}
This presumes you have polulu modules that are set to 1/16 micro stepping, but you have DRV8825 drivers, these do 1/32 micro stepping
So you either need to double the STEPS_PER_UNIT or remove change the micro stepping jumpers to make it 1/16th micro stepping. I recommend the latter.
See the following table for jumper settings. (low is jumper off)
Re: first connection of my RAMPS V1.4 November 02, 2015 02:28AM |
Admin Registered: 13 years ago Posts: 7,000 |
Re: first connection of my RAMPS V1.4 November 02, 2015 09:08AM |
Registered: 8 years ago Posts: 53 |
Quote
Dust
You need a voltmeter to measure the voltage over the sense resistor, from the voltage you can work out the current.
The current sense resistors should be 0.1Ω
You need to know the current rating of your stepper motors.
Let say for this example you have 1.7amp stepper motors
Normally you only want to run about 70% of max current
The maths is Vref = I_TripMax / 2
Vref = (0.7 x 1.7A) / 2 = 0.595V
With the trimpot normally anti clockwises turns down the voltage and clockwise turns up the voltage, a good trimpot will have about 270 - 310 degrees of movement and physical stops to stop movement. Cheap ones will not and can turn right around.. do not spin them around and around, its pointless and can damage them.
You need to put the probes as pictured. (One probe on the trimpot, the other on negative.)
NB you do not need 12v on while doing this, is best if its off. That way you cant accidentally short 12v to anywhere its shouldn’t be.
Just power the mega from the usb plug. and Leave the ramps un powered.
So adjust and re measure and repeat, till you have the correct voltage.
And ill repeat, you really need a non conductive screwdriver here... a metal one you can short things and kill the driver.
Re: first connection of my RAMPS V1.4 November 02, 2015 09:16AM |
Registered: 8 years ago Posts: 53 |
Quote
jepigepas
Quote
Dust
You need a voltmeter to measure the voltage over the sense resistor, from the voltage you can work out the current.
The current sense resistors should be 0.1Ω
You need to know the current rating of your stepper motors.
Let say for this example you have 1.7amp stepper motors
Normally you only want to run about 70% of max current
The maths is Vref = I_TripMax / 2
Vref = (0.7 x 1.7A) / 2 = 0.595V
With the trimpot normally anti clockwises turns down the voltage and clockwise turns up the voltage, a good trimpot will have about 270 - 310 degrees of movement and physical stops to stop movement. Cheap ones will not and can turn right around.. do not spin them around and around, its pointless and can damage them.
You need to put the probes as pictured. (One probe on the trimpot, the other on negative.)
NB you do not need 12v on while doing this, is best if its off. That way you cant accidentally short 12v to anywhere its shouldn’t be.
Just power the mega from the usb plug. and Leave the ramps un powered.
So adjust and re measure and repeat, till you have the correct voltage.
And ill repeat, you really need a non conductive screwdriver here... a metal one you can short things and kill the driver.
A very great Thank for these indications.
My motors are all "Nema17" referenced as "KL17H248-15-4A".
To have a voltage at the places you have shown, I had have to put on the 12v, and according to your maths, I have turn down the voltage from 1.8v to 0.535v - 0.545v.
It is not easy at all to get the right value, but I have try all the manual motions and it runs now perfectly thanks to you.
As you said, I have now to calibrate the steps/mm, so as the length of plastic wire by step of the extruder.
thank you very much, and I'll keep you informed of the result.
Jack
Re: first connection of my RAMPS V1.4 November 02, 2015 09:27AM |
Registered: 11 years ago Posts: 469 |
Quote
jepigepas
Sorry bigfilsing,
but I have not found how to calibrate the motors current.
Further, I guess X displacement by step and Y displacement by step must be related to the pulley diameter, so as to the belt pitch.
The Z displacement must be related to the pitch of the vertical leadscrew.
How can we modify or set these settings?
Best regards,
Jack
Re: first connection of my RAMPS V1.4 November 02, 2015 09:34AM |
Registered: 8 years ago Posts: 53 |
ok thank you !Quote
bigfilsing
Quote
jepigepas
Sorry bigfilsing,
but I have not found how to calibrate the motors current.
Further, I guess X displacement by step and Y displacement by step must be related to the pulley diameter, so as to the belt pitch.
The Z displacement must be related to the pitch of the vertical leadscrew.
How can we modify or set these settings?
Best regards,
Jack
No need to apologise ...we all had to learn somehow.
My apologies for not replying earlier but i was traveling.
To come back to your original problem . The stepper drivers have protection circuits in them SO when you said it was moving 5 mm stopping then moving again theres a good chance the current protection was kicking in.
the current protection resets itself ( when it cools down) so that why it was moving then stopping then moving again.
As DUst has explained you need to calibrate your system according to the stepper drivers ( the little plug in circuit boards) and the type of stepper motors you have.
Be very careful when you are measuring that you dont touch anything else with the probe or you may short circuit something.
Glad to hear its working now.
when calibrating you have to remember that as standard steppers are 1.8 degrees so thats 200 steps for 1 full rotation of the stepper motor. on full step !
16 micro steps means that ( 200 X 16 ) 3200 steps are needed for 1 full rotation.
Theres plenty of info out there on all types of stepper drivers and the calculations of how to set up and calibrate them . USe the wiki
Good luck
Re: first connection of my RAMPS V1.4 November 02, 2015 01:56PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 02, 2015 03:10PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 02, 2015 04:43PM |
Registered: 8 years ago Posts: 53 |
Quote
jepigepas
Hello agin Dust and Biglilsing,
sorry to come back again, but now come the problems of operation.
I follow from the beginning the elctronic guide and in the procedure it is proposed to test nozzle temperatures and bed.
For the nozzle it runs good and I could extrude my first 50 mm ABS, but for the bed, set temperature was fixed to 110 ° C.
It rose to 50 ° C and stopped. it is now returned to room temperature.
What happened and how to cure it?
Re: first connection of my RAMPS V1.4 November 02, 2015 05:10PM |
Registered: 11 years ago Posts: 469 |
Quote
jepigepas
Hello again,
I have changed the line "#define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,1600,462}" and replace it by:
#define DEFAULT_AXIS_STEPS_PER_UNIT {160,160,3200,924}
and the desplacements now seem to work better.
But now,
I have found a calibration guide "Triffid Hunter's calibration guide".
I have made the different calculations giving the X, Y and Z steps /mm so as the steps/mm of wire provided by the extruder, but it is not said where I have to introduce these values. Can you please tell me how the printer will take these values into account?
Have I to look into the "configuration.h" of Arduino? or is it in the slicer?
Re: first connection of my RAMPS V1.4 November 02, 2015 05:15PM |
Registered: 11 years ago Posts: 469 |
Could be quite a few things unfortunately.Quote
jepigepas
Quote
jepigepas
Hello agin Dust and Biglilsing,
sorry to come back again, but now come the problems of operation.
I follow from the beginning the elctronic guide and in the procedure it is proposed to test nozzle temperatures and bed.
For the nozzle it runs good and I could extrude my first 50 mm ABS, but for the bed, set temperature was fixed to 110 ° C.
It rose to 50 ° C and stopped. it is now returned to room temperature.
What happened and how to cure it?
I am very worried, because since a while ago, I waited until temperatures drop and I tried again to warm the bed
But then, the temperature rose to 59 ° C and a smell started to be felt and there was a slam at the board! and the temperature stopped rising.
I unplugged all waiting for your response.
Thank you in advance and read you soon,
jack
Re: first connection of my RAMPS V1.4 November 02, 2015 07:54PM |
Registered: 8 years ago Posts: 53 |
Re: first connection of my RAMPS V1.4 November 02, 2015 08:45PM |
Registered: 11 years ago Posts: 469 |