RAMPS SHORT CIRCUIT!! July 17, 2014 09:20AM |
Registered: 9 years ago Posts: 11 |
void setup () { #define X_ENABLE_PIN 38 #define Y_ENABLE_PIN 56 #define Z_ENABLE_PIN 62 #define e0_ENABLE_PIN 24 #define e1_ENABLE_PIN 30 pinMode(X_ENABLE_PIN, OUTPUT ); pinMode(Y_ENABLE_PIN, OUTPUT ); pinMode(Z_ENABLE_PIN, OUTPUT ); pinMode(e0_ENABLE_PIN, OUTPUT ); pinMode(e1_ENABLE_PIN, OUTPUT ); } void loop (){ digitalWrite(X_ENABLE_PIN,HIGH); digitalWrite(Y_ENABLE_PIN,LOW); digitalWrite(Z_ENABLE_PIN,LOW); digitalWrite(e0_ENABLE_PIN,LOW); digitalWrite(e1_ENABLE_PIN,LOW); }
Re: RAMPS SHORT CIRCUIT!! July 17, 2014 03:15PM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: RAMPS SHORT CIRCUIT!! July 18, 2014 05:55AM |
Registered: 9 years ago Posts: 11 |
Re: RAMPS SHORT CIRCUIT!! July 19, 2014 01:08PM |
Registered: 9 years ago Posts: 11 |
Re: RAMPS SHORT CIRCUIT!! July 19, 2014 04:01PM |
Registered: 11 years ago Posts: 1,320 |
Re: RAMPS SHORT CIRCUIT!! July 20, 2014 09:03AM |
Registered: 9 years ago Posts: 11 |
Quote
jbernardis
These stepper drivers are very fragile. If you DID insert them backwards, they may be shot. Once you know you have a good driver, I'd go with 1 motor at a time. Do not even insert the other drivers. Get X working, then move on to Y, Z, and E. And when you are working with these drivers, always remove power - I remove both the power connector from ramps as well as the USB from the arduino - any time you are inserting or removing either a driver or a motor. Inserting either of these under power is a sure way to fry the driver boards.