Welcome! Log In Create A New Profile

Advanced

My first bunt motor stepper controller.

Posted by klakierka 
My first bunt motor stepper controller.
February 11, 2014 07:23AM
Hey guys!
I would like to ask you for a help.
Me and my friends are building our own 3d printer as university project.
Unfortunately, yesterday I burnt motor stepper controller and I don't know why.
I was trying to calibrate motor on z axes by its potentiometer and suddenly controller on x axis set on fire.
I would like to know what happen in order not to repeat this mistake once again.
In attachment you can find pics how all things were assembled with specification of parts.
I would be grateful for any suggestions.


Thanks for help
Zuza
Attachments:
open | download - stepper driver burnt-1.jpg (351.4 KB)
open | download - stepper driver burnt-2.jpg (331 KB)
open | download - stepper driver burnt-3.jpg (184.5 KB)
Re: My first bunt motor stepper controller.
February 11, 2014 08:19AM
were you using a metal screwdriver to make the adjustment?
Re: My first bunt motor stepper controller.
February 11, 2014 10:09AM
The cap under the driver doesn't look happy. Did it touch the bottom of the driver?


- akhlut

Just remember - Iterate, Iterate, Iterate!

[myhomelessmind.blogspot.com]
Re: My first bunt motor stepper controller.
February 11, 2014 11:50AM
No i didn't touch bottom part of controller. The capacitor under was undamaged, It was just cover with dust.
Ye, I was using metal screwdriver, but I am pretty sure that i didn't touch anything else that potenciometer.
And if I made short circuit, shouldn't burn as a first the controller that I worked on ?
Re: My first bunt motor stepper controller.
February 11, 2014 12:06PM
And motor on x axis from the beginning was acting weird.
Was not rotating fully. It was going 180 stop going back 180 stop going forward and so on.
Re: My first bunt motor stepper controller.
February 11, 2014 01:44PM
The wirework doesn't look so good either, but I can't judge it from the outside ofcourse. How did you connect the stepper motor's wires to the board?
Re: My first bunt motor stepper controller.
February 13, 2014 01:55PM
Hey guys,
Thanks for you for your help.
Seems that either I made short circuit or controller was damaged from the beginning.
I got new one and everything works perfectly. smiling smiley
But I am not sure how I should calibrate z axes in the code.


We are using two motors NEMA17 with step angle of 1.8 ° = 200
A4988 Stepper Motor Driver - 1/16 =16
and two thread_pitch with distance betwen pitch 2mm = 2
so according to this formula:

steps_per_mm = (motor_steps_per_rev * driver_microstep) / thread_pitch

(200*16)/ 2 = 1800

but it doesn't work with this settings
Am I doing something wrong ? or should I change something else in the settings below ??




//// Calibration variables
// X, Y, Z, E steps per unit - Metric Prusa Mendel with Wade extruder:
#define _AXIS_STEP_PER_UNIT {80, 80, 3200/2,700}
// Metric Prusa Mendel with Makergear geared stepper extruder:
//#define _AXIS_STEP_PER_UNIT {80,80,3200/1.25,1380}
// MakerGear Hybrid Prusa Mendel:
// Z axis value is for .9 stepper(if you have 1.8 steppers for Z, you need to use 2272.7272)
//#define _AXIS_STEP_PER_UNIT {104.987, 104.987, 4545.4544, 1487}

const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E
#define _MAX_FEEDRATE {400, 400, 2, 45} // (mm/sec)
#define _HOMING_FEEDRATE {1500,1500,120} // (mm/min) !!
#define _AXIS_RELATIVE_MODES {false, false, false, false}

//-----------------------------------------------------------------------
//// Acceleration settings
//-----------------------------------------------------------------------
// X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.
#define _ACCELERATION 1000 // Axis Normal acceleration mm/s^2
#define _RETRACT_ACCELERATION 2000 // Extruder Normal acceleration mm/s^2
#define _MAX_XY_JERK 20.0
#define _MAX_Z_JERK 0.4
#define _MAX_E_JERK 5.0 // (mm/sec)
//#define _MAX_START_SPEED_UNITS_PER_SECOND {25.0,25.0,0.2,10.0}
#define _MAX_ACCELERATION_UNITS_PER_SQ_SECOND {5000,5000,50,5000}
Attachments:
open | download - WP_20140213_001.jpg (402.1 KB)
Re: My first bunt motor stepper controller.
February 13, 2014 02:54PM
How certain are you that your screws are 2mm pitch?


- akhlut

Just remember - Iterate, Iterate, Iterate!

[myhomelessmind.blogspot.com]
Re: My first bunt motor stepper controller.
February 13, 2014 03:14PM
Well.. I will get proper specyfication tomorrow. So far I mesure distance between pitchres and it is or 1.8 mm or 2.0mm. I try both and motors are not moving.
Re: My first bunt motor stepper controller.
February 13, 2014 05:46PM
1.75 mm on step and 12 mm diameter for sure
Re: My first bunt motor stepper controller.
February 16, 2014 12:50PM
If i were you i would change your course at university! unless you are taking the p$$$!
Re: My first bunt motor stepper controller.
February 16, 2014 01:07PM
Quote
gaxxter
If i were you i would change your course at university! unless you are taking the p$$$!

Please be more constructive, and less rude. Thanks.


What is Open Source?
What is Open Source Hardware?
Open Source in a nutshell: the Four Freedoms
CC BY-NC is not an Open Source license
Sorry, only registered users may post in this forum.

Click here to login