Installing Marlin 2.0 on M201

WrathX
Posts: 5
Joined: Thu Mar 11, 2021 9:55 am

Re: Installing Marlin 2.0 on M201

Post by WrathX » Fri Mar 12, 2021 12:18 pm

Looks like I may have figured it out. I was able to reassign a few pins in the pins_GMT32_PRO_VB.H file. The correct extruder works with thermistor, etc and now the fan that was blowing on the extruder motor is the main hotend fan and the old hotend fan plug is the part cooling fan. Doing a test print now and seems to be working. Have a fan temporarily plugged in as the part cooling fan and it comes on when it should. Just need to design a part cooling fan mount now. :D

Joba
Posts: 7
Joined: Thu Aug 22, 2019 5:23 pm

Re: Installing Marlin 2.0 on M201

Post by Joba » Tue Mar 16, 2021 6:04 am

Hello, I have had the same problems, and tried to change the pin configuration but i couldn't do it.
Can you share your file?
Good job.

Joba

WrathX
Posts: 5
Joined: Thu Mar 11, 2021 9:55 am

Re: Installing Marlin 2.0 on M201

Post by WrathX » Wed Mar 24, 2021 10:29 am

I can't upload the file but I can copy and paste what part I changed in the file. Where is says Original, that's what the file had originally for that pin.

// Extruder stepper pins
// NOTE: Numbering here is made according to EXT connector numbers,
// the FANx_PWM line numbering in the schematics is reverse.
// That is, E0_*_PIN are the E2_* lines connected to E2_A1 step
// stick that drives the EXT0 output on the board.
//
#define E0_STEP_PIN PB2 //Original PC14
#define E0_DIR_PIN PB11 //Original PC13
#define E0_ENABLE_PIN PC4 //Original PC15


#define E1_STEP_PIN PA0
#define E1_DIR_PIN PB6
#define E1_ENABLE_PIN PA1

#define E2_STEP_PIN PC14 //Original PB2
#define E2_DIR_PIN PC13 //Original PB11
#define E2_ENABLE_PIN PC15 //Original PC4


:!: Also I changed one of the pins to make the fan work. Uncommented the one and commented out the other. Hope this helps.

// These are FAN PWM pins on EXT0..EXT2 connectors.
//
#define FAN_PIN PB9 // EXT0 port
#define FAN1_PIN PB8 // EXT1 port
#define FAN2_PIN PB7 // EXT2 port
//#define ORIG_E0_AUTO_FAN_PIN PB9 // EXT0 port, used as main extruder fan

WrathX
Posts: 5
Joined: Thu Mar 11, 2021 9:55 am

Re: Installing Marlin 2.0 on M201

Post by WrathX » Wed Mar 24, 2021 10:30 am

In the printer's menu it does show multiple extruders but just Extruder 1 works.

Joba
Posts: 7
Joined: Thu Aug 22, 2019 5:23 pm

Re: Installing Marlin 2.0 on M201

Post by Joba » Wed Mar 24, 2021 5:33 pm

Thank you for sharing the information, but that was one of the changes i have already tried,
but i was not able to compile with this changes, maybe some protection in the compiler?
I know nothing about messing with the code, so that´s something i am not comfortable with.
Again, good job.

Joba

I was changing the file outside the Marlin directory and then put in there and that was not working.
Now i was able to compile and it works.
I have made other changes because i use drv8825 in X,Y and Z, and activated "#define DISTINCT_E_FACTORS" and now when i call the second extruder
it works, but i have not tried the second extruder in a print, yet.

WrathX
Posts: 5
Joined: Thu Mar 11, 2021 9:55 am

Re: Installing Marlin 2.0 on M201

Post by WrathX » Fri Apr 02, 2021 11:29 pm

Glad to hear you got it working. The dual color hotend that I got with mine ended up breaking. I decided to just get a single color hotend as a replacement. I still have to leave Marlin set with the two extruders or it won't compile though. Everything works for me but it just has the extra extruder in the menus. I am thinking it was related to everything else expecting two extruders including the pins, etc. It's working so I'm not going to mess with it. :D

sneazzy95
Posts: 9
Joined: Sat Dec 21, 2019 12:13 am

Re: Installing Marlin 2.0 on M201

Post by sneazzy95 » Sat Jun 19, 2021 6:11 am

Hey, happy to see that you find out how to do that.

TweakBox Tutuapp

Post Reply