Change from Sanguino to RAMPS: Motors going way too far August 27, 2014 01:40PM |
Registered: 10 years ago Posts: 6 |
Re: Change from Sanguino to RAMPS: Motors going way too far August 27, 2014 04:25PM |
Registered: 10 years ago Posts: 869 |
How did you compute those values? Not saying they aren't right, but 80.8 sounds like an odd value.Quote
Freakaz0id
As the printer was running before, I already knew the required steps/mm (80.8,80.8,2560,920),
15 is close to 16. And 16 is one of the microstepping values. Do you have all the jumpers on under the stepper drivers?Quote
when I'm moving the axis with a host program the driven distance ist about 15 times higher than commanded.
Likely turn up the current although depending on your steppers, you may be close to the limit of the driver IC. You also could be trying to move them too fast. Start off with a slow mm/sec value and work your way up. What is your computed Vref and what is it currently measured at? What sense resistor is your driver using? What steppers do you have or what are the specs?Quote
The z-axis won't move at all (it's just making high pitched noises)...Also when commanded to home the x,y-axis, the motors do nothing but squeek. Turning the potentiometers didn't help.
Not uncommon but likely not related.Quote
I had to set the baudrate to 115200 instead of 250000 because of connetion issues with the host software. I don't know if that makes any difference.
Re: Change from Sanguino to RAMPS: Motors going way too far August 28, 2014 03:28AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Freakaz0id
As the printer was running before, I already knew the required steps/mm (80.8,80.8,2560,920), but when I'm moving the axis with a host program the driven distance ist about 15 times higher than commanded.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Change from Sanguino to RAMPS: Motors going way too far August 28, 2014 09:52AM |
Registered: 10 years ago Posts: 6 |
I started off with 80, because i calculated so. After printing a cube and measuring, I corrected them to 80.8 and was quiet pleased with the result. My guess would be, that the belts streached a little.Quote
cdru
How did you compute those values? Not saying they aren't right, but 80.8 sounds like an odd value.
Quote
cdru
And 16 is one of the microstepping values. Do you have all the jumpers on under the stepper drivers?
The jumpers were indeed missing. I figured also figured that out in the middle of the night ;-) Obviously the ebay vendor I got the RAMPS from was too cheap to include them. I set them all to 1/16 now and they work fine, although I still can't figure out why my old values do not apply. I have to use approximately 196 instead of 80.8 although the Sanguinololu worked on 1/16 aswell...Quote
Traumflug
It's likely 16 times. Either adjust your steps/mm or your microstepping jumpers.
Quote
cdru
Likely turn up the current although depending on your steppers, you may be close to the limit of the driver IC. You also could be trying to move them too fast. Start off with a slow mm/sec value and work your way up. What is your computed Vref and what is it currently measured at? What sense resistor is your driver using? What steppers do you have or what are the specs?
Re: Change from Sanguino to RAMPS: Motors going way too far August 28, 2014 12:10PM |
Registered: 10 years ago Posts: 869 |
There are various designs of stepsticks. Some follow the origial "reference" design, others use whatever parts they wanted changing the sense resistor to a different value. Are these new stepsticks or were they used in the old printer? If they were reused with the same motors, then they should work with about the same settings as long as theres not a lot more additional drag with the new printer design. But if they are new, then you'll need to compute the values to get you in the ball park, or if you're lazy do as Traumflug said in a recent thread and just crank them up until they don't squeal.Quote
Freakaz0id
I still have to wor on that. I had no time jet to measure the current. As I wrote the stepsticks are A4988 types.
Still unable to get rid of the sqeeky noises. Really annoying.
Just a note, the MEGA's voltage regulator may not be able to supply sufficient voltage to run servos. Some people have discovered that with erratic servo movements. If this happens, use either +5v from the power supply, or use a LM7805 to supply sufficient power to the 5v pin.Quote
As suggested, I connected the 5V and Ground pin of the servo directly to the power supply and sinal to D11.
Your range appears to be correct. Different firmware handles things differently whether the S value is a angle, value betwen 0-255, or pulse length in microseconds. Repetier I believe is the latter. Different servos will have different characteristics based on their strength much like steppers, so it may take some trial and error to figure out what pulse length gets you exactly the right value. Does a different value work? Like instead of S1500, does S2500 work but then you can't change beyond that? The problem you are having may actually be related to the insufficent power mentioned above. I'd try a different 5v power source. Then you might try asking in the Repetier-specific forum. I've only used a servo with Marlin.Quote
With the command M340 P0 S500 I should now be able to let it turn to 0° and M340 P0 S2500 should make it turn to 180° (S500-2500 for everything inbetween) if I understood correctly. I does move on the first command (e.g. M340 P0 S1500), but afterwards ignores commands and only does little oscillating movements. Any ideas on that?
Re: Change from Sanguino to RAMPS: Motors going way too far September 18, 2014 01:42PM |
Registered: 10 years ago Posts: 6 |