Quantcast
Channel: Reprap Forum - RAMPS Electronics
Viewing all articles
Browse latest Browse all 1807

RAMPS SHORT CIRCUIT!! (1 reply)

$
0
0
Hello all,

When I connected the steppers and their drivers. My extruder driver fried (not sure why I think there was a problem on Ultimachine RAMPS board). Then I checked all driver pins one by one and enable pins are high

although I make them low. That's why my steppers don't rotate. However when I eject RAMPS from Arduino, pin connected to X_Enable gets low (I measured 38th pin of DIGITAL pins of Arduino). My code is below. I am doubtful of short circuit at RAMPS board.

What do you prefer for this?


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);

}

Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>