Welcome! Log In Create A New Profile

Advanced

Weird Motor Control Issue (Using Arduino Mega + Ramps 1.4)

Posted by CRAZEERUSKEE 
Weird Motor Control Issue (Using Arduino Mega + Ramps 1.4)
August 18, 2016 06:01PM
Hello everyone, I'm very new here and this is actually my first post! I'm also very new to 3D printing and I've been having some trouble getting my printer's motors to work.

First things first, I should describe the setup. I made the 3D printer out of old CD disk drives and I'm using an Arduino Mega and Ramps 1.4 to control it. I'm using the red Polulu stepper motor drivers and an old ATX power supply. I've also attached a heated bed and extruder and I got a Nema 17 stepper motor for extruding.

The main problem I've been trying to fix without any success is that everything seems to work except for the motors. The heat bed and extruder heat up and cool off just fine, the Pronterface software seems to work fine, and I ran this test code: [reprap.org] and the leds on the ramps 1.4 blinked fine. The motors, however don't move (that test program should have also moved them but they don't move). I checked and they seem to be fine - I used the trick were you wire the motor to the led and if you move it and the led lights up that coil is good. So the motors work, and the ramps 1.4 works but something isn't working in terms of powering them. I think my power supply is a little under the voltage and current that's needed, but even so, it should still have made them budge. And it's not just an issue with the motors being from old disk drives and thus being unreliable - I tried it all with the Nema 17 and get the same results. Maybe the way I'm wiring them into the ramps is wrong? I just don't know. I read somewhere that I should try turning the potentiometers on the drivers, but I didn't want to risk it without a plastic or ceramic screwdriver unless I was 100% sure that was the issue - besides, would the motors still do something? I mean they're totally dead - no movement.

Another issue is with the LCD Graphic Smart Display Controller. When I power everything up, it lights up and it also shows the full grid of pixels on the lcd, but nothing else. There's just no display. Pushing the select button makes the buzzer go off so i guess that's good, but again, nothing works. I already tried moving the potentiometer on this one and that just changes the contrast between the backlight and the pixels showing up. At it's optimal contrast it's only showing the full grid of pixels.

Any and all tips/questions/help would be much appreciated. Thanks!
Re: Weird Motor Control Issue (Using Arduino Mega + Ramps 1.4)
August 19, 2016 01:52AM
How did you connect the PSU to the green 4-pole plug on the Ramps? Did you connect them all?

Can you test the smaller polyfuse with an ohm meter? It is the smaller of the two flat mustard-yellow parts next to the green plug.

Are you sure, your drivers are placed in the right orientation? Do you see all three jumpers between the driver headers?

For more info, visit the "ramps" subforum here and read some articles
Re: Weird Motor Control Issue (Using Arduino Mega + Ramps 1.4)
August 19, 2016 01:11PM
I actually ended up switching out the power from 5V to 12V and the thing came alive! I still have a couple issues though. First and foremost, the motors barely move at all. The X and Z don't really move and adjusting the trimpots just makes them overheat. The Y moves ok incrementally, but i can't get it to move more than like on mm at a time. Is this a wiring issue or something else? The X and Z make a loud humming noice when trying to move but don't really move without getting manual help from me slightly pushing them.
Re: Weird Motor Control Issue (Using Arduino Mega + Ramps 1.4)
August 20, 2016 09:20AM
Is that happening with the ramps-test firmware or some printer-firmware ( marlin etc )?
Noisy steppers are a sign of too high current or wrong microsteps/acceleration/max_speed.

With the ramps-test software, they should run when the Vref is adjusted properly.
(Make or brake is not an adjustment method ) winking smiley
Sorry, only registered users may post in this forum.

Click here to login