Can a servo be added to the Rambo board to switch printer heads?
Poking around in the firmware, the code seems to be there, In pins_Rambo.h, these pins are defined:
/ // Servos // #ifndef SERVO0_PIN #define SERVO0_PIN 22 // Motor header MX1 #endif #define SERVO1_PIN 23 // Motor header MX2 #ifndef SERVO2_PIN #define SERVO2_PIN 24 // Motor header MX3 #endif #define SERVO3_PIN 5 // PWM header pin 5
And in configuration.h, there is this section:
// A dual extruder that uses a single stepper motor
//#define SWITCHING_EXTRUDER
#if ENABLED(SWITCHING_EXTRUDER)
#define SWITCHING_EXTRUDER_SERVO_NR 0
#define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1[, E2, E3]
#if EXTRUDERS > 3
#define SWITCHING_EXTRUDER_E23_SERVO_NR 1
#endif
#endif
// A dual-nozzle that uses a servomotor to raise/lower one (or both) of the nozzles
//#define SWITCHING_NOZZLE
#if ENABLED(SWITCHING_NOZZLE)
#define SWITCHING_NOZZLE_SERVO_NR 0
//#define SWITCHING_NOZZLE_E1_SERVO_NR 1 // If two servos are used, the index of the second
#define SWITCHING_NOZZLE_SERVO_ANGLES { 0, 90 } // Angles for E0, E1 (single servo) or lowered/raised (dual servo)
#endif
1 Like
Nice! Thank you