Quantcast
Channel: Reprap Forum
Viewing all articles
Browse latest Browse all 39321

Help with E0 pins.h (no replies)

$
0
0
Hi,

I'm sorry if there is another thread on this but I can't seem to find the info I'm looking for. I'm having troubles getting my extruder (E0) to work with a delta configuration. I;ve already had to swap min and max pins to get endstops to work. Now the default pins for the extruder don't seem to work because the motor won't spin. I know for sure the motor is good as well as the driver. I've looked at theis schematic for Mega [forum.arduino.cc], but I have no idea how to use it to find the correct pins for ny RAMPS 1.4 board. Here is my pins.h file:

#if MOTHERBOARD == 0
#define KNOWN_BOARD 1

#ifndef __AVR_ATmega168__
#error Oops! Make sure you have 'Arduino Diecimila' selected from the boards menu.
#endif

#define X_STEP_PIN 2
#define X_DIR_PIN 3
#define X_ENABLE_PIN -1
#define X_MIN_PIN 9
#define X_MAX_PIN 4

#define Y_STEP_PIN 10
#define Y_DIR_PIN 7
#define Y_ENABLE_PIN -1
#define Y_MIN_PIN 13
#define Y_MAX_PIN 8

#define Z_STEP_PIN 19
#define Z_DIR_PIN 18
#define Z_ENABLE_PIN 5
#define Z_MIN_PIN 16
#define Z_MAX_PIN 17

#define E0_STEP_PIN 11
#define E0_DIR_PIN 12
#define E0_ENABLE_PIN -1

#define SDPOWER -1
#define SDSS -1
#define LED_PIN -1
#define FAN_PIN -1
#define PS_ON_PIN 15
#define KILL_PIN -1

#define HEATER_0_PIN 6
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!

#endif

Thanks for the help

Viewing all articles
Browse latest Browse all 39321

Trending Articles



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