I did some smaller mistake in my Hardware “design” as I soldered a small Board to switch Fans and Lights With D47 D45 D43 and D41
The Board Works as expected but Digital HIGH turns the light off and so on. in Most Cases this is not a Problem as i turn them on by Terminal anyway.
Just with the CONTROLLER_FAN. I thought is must be easy to invert this in Firmware but did not find any till now… could someone Help me here or lean me in the right direction?
Clear simple Question: I Want D45 “CONTROLLER_FAN” to be Off if the Steppers need cooling…
Thanks in advance…
Ah and this is Marlin 1.1-daily complety rearanged Pins on kinda like RAMPS 1.4
Hm. I dont want to invert the fans the question is (very simple spoken) if ther is a way to tell marlin or arduino that a pin HIGH should be a pin LOW on a certan pin. Maybe in the pins.h file or whereever the pins in marlin get initialized…
Actually i dont know what marlin is. But i know arduino. By searching on google i get to know that marlin is a firmware for 3d printing. Could you send me the code so that i understand and help you out in program. If you want to low the pin by using M42 command then use this
M42 P2 S0 // pin no. 2 will get LOW
yes this is actualy working, but. normaly the FW (marlin) would controll the pin state as “if steppers are enabled set pin X High for 30sec at 80%” for example, this also works, BUT I wont Pin X be Low when the steppers ar active because the Hardware triggers my PNP transistor on on a LOW pin so currently a can controle these, but if the FW controlles them they are on if everything is cool or off if they are needed
you can grab the code from
this is about the Pont I think it could be changed
3D printer controllers usually use N-channel MOSFETs. They feed your + rail to your device +, and the FET turns on the device by pulling down the - side of the device to ground. It’s worth looking at the FET part of 3d printer controller schematics to make a good design.