Jump to content

Pin outs clarification


darkglove

Recommended Posts

Posted · Pin outs clarification

Can someone help me understand the pin outs in the pins.h file? (Marlin)

 

They don't seem to match up.

 

I'm pretty sure I am looking at the correct section of the file (* Ultiboard v2.0 pin assignment) as I have swapped my Z axis port to the E2 port (E1 in the file) and it worked.

 

But the pin numbers on the base of my board (from and Ultimaker Original+) don't match.

 

For example, in the pins.h file

 

#define X_STEP_PIN 25
#define X_DIR_PIN 23
#define X_STOP_PIN 22
#define X_ENABLE_PIN 27

 

but printed on the board they are pins TP46 - TP49

 

What am I missing?

 

 

 

  • Link to post
    Share on other sites

    Posted · Pin outs clarification

    The schematics can be found here:

     

    https://github.com/Ultimaker/Ultimaker-Original-Plus/tree/master/1091_Main_board_v2.1.1_(x1)

     

    It seems like TP46-TP49 are connected to the output pins of the stepper driver.

    ...while the pin numbers from pins.h are related to pins of the mega2560 (this are just two different things).

     

    In addition: Marlin firmware uses the Arduino pin mapping:

    https://www.arduino.cc/en/Hacking/PinMapping2560

     

    For example:

    #define X_DIR_PIN 23

     

    You can see in the schematics that pin PA1 from the mega2560 is connected to the "DIR" input on the stepper driver for the x-axis.

    And the Arduino pin mapping shows that PA1 = digital pin 23.

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...