loading

Having trouble with Marlin RepRap library

I am currently in a senior design group at Saint Louis University and we are working on a "DIY" 3D printer using electronics parts from SainSmart (Arduino Mega 2560 & RAMPS 1.4) & Hardware from McMaster-Carr. We loaded on two libraries to the Arduino:

1) Marlin RepRap (https://github.com/ErikZalm/Marlin/tree/Marlin_v1/Marlin)
2) U8GLIB (https://code.google.com/p/u8glib/) [which is used to supplement the Marlin RepRap]

We have the LCD GUI set up and we are sending commands from the LCD to make small X, Y, and Z steps. It seems like the Arduino recognizes the signal and does send it to the stepper motors, but all the motors do are sort of 'vibrate' and not really spin. If we take small steps we get a little movement, usually which is incoherent. We recently moved the voltage down to 10.5V from 12V from our power supply (because of the 1.5V from the USB to the Arduino), because 12 V caused smoke to come from the Arduino's voltage regulator. We don't know if this is causing the problem. We also do not have the heatbed hooked up because we do not need it for our purposes. We are using a 12V 18 Amp PSU. We were able to get the mechanical endstops to work and the fans to work, but we cannot get the motors to work properly. Does anyone have any suggestions, or has anyone worked with this Arduino library who could help us out?

BTW: Our SainSmart kit is: http://www.sainsmart.com/3d-printing/3d-printkits/sanguinololu-rev-1-3-a4988-lcd-2004-3d-printer-controller-kit-for-reprap.html

T
hank you everyone ahead of time for all your wonderful help and guidance!

Hard to tell from the photo but the steppers could be wire incorrectly. Also smoke is never a good thing, you have two green wire running from the power supply, it good practice to have a red and black. are the the correct polarity?

caitlinsdad3 years ago

As far as I know you should be having some motor control shield between the motors and the arduino. They have an H-bridge circuit in there since the motors draw so much current that can damage your arduino.

JakedGr8 (author) 3 years ago

Here is our setup, based on RepRap RAMPS 1.4 setup

2014-04-03 16.52.46.jpg