So, I wired up the ss relay to my power bar (tapped the existing switch), I tossed 5V on the inputs, it turned on a usb charger I had plugged into it, and the signal drew hardly any current, maybe 10 mA. Just need to find some free pins on the mini rambo to set m3/m5, (I will be using the LCD). Safety wise, it is screwed in under the table with some electrical tape around the recessed AC poles.
Cheers!
EDIT:
This looks like a safe candidate (lowrider 2, mini-rambo context)
#define Z_MIN_PIN 10
to
#define Z_MIN_PIN -1 // 10
and
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 18 // Pullup!
#define SPINDLE_DIR_PIN 19
to
#define SPINDLE_LASER_ENA_PIN 10 //18
My only question would be what where the values doing as they are, leftovers or something functional? Shouldn’t they be -1 if the LCD is plugged in perhaps in a #else?
EDIT2:
I couldn’t get that to work, probably have to enable spindles / lasers or something, I do have it working with m106 /m107, fan1.
EDIT3:
Got it to work with M3 / M5 by simply using the FAN1 and mapping that to be the spindle enable pin. It’s two pin already, no 5V nearby, easy to access, and non critical.
configuration_adv.h
#define SPINDLE_FEATURE
//#define LASER_FEATURE
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
#define SPINDLE_LASER_ACTIVE_HIGH true // Set to “true” if the on/off function is active HIGH
#define SPINDLE_LASER_PWM false // Set to “true” if your controller supports setting the speed/power
#define SPINDLE_LASER_PWM_INVERT false // Set to “true” if the speed/power goes up when you want it to go slower
//#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
There is a bug IMO where the check is done against SPINDLE_LASER_FREQUENCY and not SPINDLE_LASER_PWM, so un-defining this is required.
/**
- Speed / Power can be set (‘M3 S’) and displayed in terms of:
-
- PWM (S0 - S255)
-
- PERCENT (S0 - S100)
-
- RPM (S0 - S50000) Best for use with a spindle
*/
#define CUTTER_POWER_DISPLAY RPM
- RPM (S0 - S50000) Best for use with a spindle
Meaningless, for completeness.
pins_minirambo.h
#ifndef FAN_PIN
#define FAN_PIN -1 // 8
#endif
#define FAN1_PIN 6
//
// M3/M4/M5 - Spindle/Laser Control
//
// use P1 connector for spindle pins
#define SPINDLE_LASER_PWM_PIN -1 //9 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 8 // 18 // Pullup!
#define SPINDLE_DIR_PIN -1 //19
I had to go out of my way to avoid pwm, so the same kind change can work for speed control. I tested it against m106 and m107 and nothing happened, so good to go.