Running Dewalt 660 from gcode and board

I found it for 19.99 on amazon. Shipping on the man site is 26 bucks and the item is 24. kinda insane. With prime, ill get it for less than half the cost.

Will it also be able to regulate speed or will i via the software?

No, that’s a whole different animal. This is just on or off.

so, i got the iot relay, wired up some lights on one fan, a 40mm fan on another, and the router on the hotend. I get a failed error. E1 heating failed specifically. Could it be lack of thermistor or am i demanding too much power from the power supply? I have an atx psu i could use, but don’t want to try it if that’s not the issue. Any ideas?

repetier log:

18:21:56.454 : echo:DEBUG:INFO,ERRORS
18:22:27.659 : Error:Heating failed, system stopped! Heater_ID: 0
18:22:27.666 : Error:Printer halted. kill() called!

The heaters don’t work like the fan. They use the thermometer to decide when to heat. They have a lot of checks since a runaway heater is a fire hazard.

The thing you could do is remap the heater pin to something else, like pin 70, then configure the board with more fan pins and set them to the original heater pin. Then you can turn stuff on with M106 S255 P2 or P3.

You’ll have to edit firmware a little. Either remap the pins, OR comment out these two lines in configuration.h:

#define THERMAL_PROTECTION_HOTENDS
#define THERMAL_PROTECTION_BED

With those lines enabled, the firmware will look for changes to the temperature when the heaters are enabled. It doesn’t see a change, so assumes a problem and shuts everything down for safety. Necessary on a 3D printer, but not for our MPCNC (unless you’re also using it as a 3D printer). Commenting out those lines disables that.

 

I used this mechanical relay from Amazon:

It costs about 8 dollars.

Uses 12V DC to control 120VAC power. I bought three. I use one for my dewalt router, one for my shop vac and the third I have set up with an emergency stop button to interrupt power to ramps board (when it loses power it simultaneously stops motion of the motors and turn off relays to router and vac).

I changed the definition in Configuration.h of marlin to #define MOTHERBOARD BOARD_RAMPS_14_EFF and refreshed the firmware to ramps 1.4

The relays are controlled through 12V output on D8 and D9 on ramps 1.4.

Then the control of the relay is with Gcode such as M106 P0 S255 to turn on the relay 1 and M106 P0 S0 to turn it off; and M106 P1 S255 to turn on relay 2 and M106 P1 S0 to turn off relay 2.

 

 

 

 

1 Like