canaldin

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Tinyg Arduino due & RAMPS FD #6957
    canaldin
    Member

    Just a small update..

    I managed to move the X axis !!!EUREKA!!!

    The other axes do not respond..

    I am about to build a laser XY plotter, so I should get a good understanding about PWM, limit switches and how to compile code for a specific machine geometry as mine is fully custom.

    Is there a tutorial on adding a new machine configuraton?

    in reply to: Tinyg Arduino due & RAMPS FD #6945
    canaldin
    Member

    Hi Rob

    Thank you for the suggestion, I managed to build tinyg G2 with a custom platform target. My problem is the fact that I am having hard time making sense of the pinouts. E.g. I am watching this Arduino due pinout , than the RAMPS-FD schematics http://www.geeetech.com/wiki/images/8/83/RAMPS-FD-Schematic.pdf and also the gshield schematics and pinout and motate. What should one specify the physical pin number or the digital pin number?

    Thanks to all a you

    • This reply was modified 10 years ago by canaldin.
    • This reply was modified 10 years ago by canaldin.
    • This reply was modified 10 years ago by canaldin.
    in reply to: Tinyg Arduino due & RAMPS FD #6943
    canaldin
    Member

    Hello
    I found the ramps fd pinout settings inside a marlin firmware from Bob at github

    Here is the relevant part from pins.h:

    #if MOTHERBOARD == 403
    #define RAMPS_FD_V1
    #define INVERTED_HEATER_PINS
    // No EEPROM
    // Use 4k7 thermistor tables
    #else
    #define RAMPS_FD_V2
    // EEPROM supported
    // Use 1k thermistor tables
    #endif

    #define X_STEP_PIN 63
    #define X_DIR_PIN 62
    #define X_ENABLE_PIN 48
    #define X_MIN_PIN 22
    #define X_MAX_PIN -1 //2 //Max endstops default to disabled “-1”, set to commented value to enable.

    #define Y_STEP_PIN 65
    #define Y_DIR_PIN 64
    #define Y_ENABLE_PIN 46
    #define Y_MIN_PIN 24
    #define Y_MAX_PIN -1 //15

    #define Z_STEP_PIN 67
    #define Z_DIR_PIN 66
    #define Z_ENABLE_PIN 44
    #define Z_MIN_PIN 26
    #define Z_MAX_PIN -1

    #define E0_STEP_PIN 36
    #define E0_DIR_PIN 28
    #define E0_ENABLE_PIN 42

    #define E1_STEP_PIN 43
    #define E1_DIR_PIN 41
    #define E1_ENABLE_PIN 39

    #define E2_STEP_PIN 32
    #define E2_DIR_PIN 47
    #define E2_ENABLE_PIN 45

    #define SDPOWER -1
    #define SDSS 4
    #define LED_PIN 13

    #define BEEPER -1

    #define FAN_PIN -1

    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller

    #define PS_ON_PIN -1

    #define KILL_PIN -1

    #define HEATER_BED_PIN 8 // BED

    #define HEATER_0_PIN 9
    #define HEATER_1_PIN 10
    #define HEATER_2_PIN 11

    #define TEMP_BED_PIN 0 // ANALOG NUMBERING

    #define TEMP_0_PIN 1 // ANALOG NUMBERING
    #define TEMP_1_PIN -1 // 2 // ANALOG NUMBERING
    #define TEMP_2_PIN -1 // 3 // ANALOG NUMBERING

    #define TEMP_3_PIN -1 // ANALOG NUMBERING
    #define TEMP_4_PIN -1 // ANALOG NUMBERING

    #ifdef NUM_SERVOS
    #define SERVO0_PIN 11

    #if NUM_SERVOS > 1
    #define SERVO1_PIN 6
    #endif

    #if NUM_SERVOS > 2
    #define SERVO2_PIN 5
    #endif

    #if NUM_SERVOS > 3
    #define SERVO3_PIN 4
    #endif
    #endif

    #ifdef ULTRA_LCD

    #ifdef NEWPANEL
    // ramps-fd lcd adaptor
    #define LCD_PINS_RS 16
    #define LCD_PINS_ENABLE 17
    #define LCD_PINS_D4 23
    #define LCD_PINS_D5 25
    #define LCD_PINS_D6 27
    #define LCD_PINS_D7 29

    #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
    #define BEEPER 37

    #define BTN_EN1 33
    #define BTN_EN2 31
    #define BTN_ENC 35

    #define SDCARDDETECT 49
    #endif

    #endif

    #endif //ULTRA_LCD

    // SPI for Max6675 Thermocouple

    #ifndef SDSUPPORT
    // these pins are defined in the SD library if building with SD support
    #define MAX_SCK_PIN 52
    #define MAX_MISO_PIN 50
    #define MAX_MOSI_PIN 51
    #define MAX6675_SS 53
    #else
    #define MAX6675_SS 49
    #endif

    #endif //MOTHERBOARD == 403, 404

    But I can’t make much sense of it comparing with the shield pin out.

    in reply to: Tinyg Arduino due & RAMPS FD #6941
    canaldin
    Member

    I saw that there is a pinout file. I modified the pins in the gshield pinout file to make them follow the RAMPS FD and recompiled the firmware, didn’t work. There is also the motate system which I suppose manages the pins.

    Do you have any insights about how can I find the corresponding pins?

Viewing 4 posts - 1 through 4 (of 4 total)