Modyfing the Firmware to switch ports

Post Reply
General Pope
Posts: 7
Joined: Fri Apr 05, 2019 9:10 pm

Modyfing the Firmware to switch ports

Post by General Pope » Wed Apr 10, 2019 5:11 am

hi,

on my Mega 2560 the y-port for the stepmoter doestn work, but maybe the port for the extruder 2 works. So i wonder if i can say that the printer should control the y-motor over the extruder 2 port.

I guess you have to change the firmware with arduino, like just redefining the pins for the port.

Is this possible, and were in Merlin do i have to look?

General Pope
Posts: 7
Joined: Fri Apr 05, 2019 9:10 pm

Re: Modyfing the Firmware to switch ports

Post by General Pope » Thu Apr 11, 2019 4:46 am

Okay, i found out how i could do that.

With arduino you can change marlin (the firmware). You have to open pins.h and you have to just switch the pins from the extruder1 (second extruder port, which isnt used) to Y-Axis and so on.

The Mega2560 Board is an Ultimaker-Board, if you arent sure which boardsettings you have to change.


Now i can control all 3-axis even if my original Y-Port didnt work.


Bad thing only is that my extruder0-port (original extruder-port) also dont work so i have to wait for my replacementboard anyway :/

General Pope
Posts: 7
Joined: Fri Apr 05, 2019 9:10 pm

Re: Modyfing the Firmware to switch ports

Post by General Pope » Thu Apr 11, 2019 4:52 am

Quick thoughts, yould be nice if someone could say if they are right.

I cant just redefine 3pins i dont use, to replace the extruder-port, because then need to have a step-motor driver, right?

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Modyfing the Firmware to switch ports

Post by William » Thu Apr 11, 2019 2:21 pm

I have found the similar post and you can refer it:
http://www.geeetech.com/forum/viewtopic ... 20&t=18020
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Post Reply