Page 1 of 1

Modyfing the Firmware to switch ports

Posted: Wed Apr 10, 2019 5:11 am
by General Pope
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?

Re: Modyfing the Firmware to switch ports

Posted: Thu Apr 11, 2019 4:46 am
by General Pope
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 :/

Re: Modyfing the Firmware to switch ports

Posted: Thu Apr 11, 2019 4:52 am
by General Pope
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?

Re: Modyfing the Firmware to switch ports

Posted: Thu Apr 11, 2019 2:21 pm
by William
I have found the similar post and you can refer it:
http://www.geeetech.com/forum/viewtopic ... 20&t=18020