Servo Optical Auto level for FlyingBear P905x by michalovis 3d model
3dmdb logo
Thingiverse
Servo Optical Auto level for FlyingBear P905x by michalovis

Servo Optical Auto level for FlyingBear P905x by michalovis

by Thingiverse
Last crawled date: 3 years, 1 month ago
Bed Auto level sensor for FlyingBear P905x
After the original sensor burned down, I decided to redesign it to be compatible with the glass bed.
The shaft is a 3x57mm steel bar, recycled from the rotor of a Trex 450 helicopter, so it has the sphere that the servo uses to raise it, but any 3mm shaft can be used and added an o'ring
The LED that is next to the sensor is only for debugging purposes, and it is absolutely unnecessary
The optical sensor is recycled from an old HP printer but there are many commercial options with Photo-interrupters, in my case I had to reverse the Marlin logic for the Z axis:
#define Z_MIN_ENDSTOP_INVERTING false
And disable all endstop pullups commenting on this line:
//#define ENDSTOPPULLUPS
Then activate all the pullups except the one in the Zmin:
#if DISABLED(ENDSTOPPULLUPS)
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
Other changes in Marlin FW:
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_ENDSTOP_SERVO_NR 0
#define Z_SERVO_ANGLES {70,170} // You must test this angles with M280 command(M280 P0 S70)(M280 P0 S170), S128 is the servo center
#define Z_HOMING_HEIGHT 2
#define Z_CLEARANCE_DEPLOY_PROBE 8
#define Z_CLEARANCE_BETWEEN_PROBES 8
#define Z_MIN_PROBE_REPEATABILITY_TEST
#define AUTO_BED_LEVELING_3POINT // With glass bed I think 3 points is enough
#define Z_SAFE_HOMING
#define HOMING_FEEDRATE_Z (6*60)
#define NUM_SERVOS 1
#define SERVO_DELAY { 1000 }
#define DEACTIVATE_SERVOS_AFTER_MOVE
#define X_PROBE_OFFSET_FROM_EXTRUDER -18
#define Y_PROBE_OFFSET_FROM_EXTRUDER -53
Video is HERE:https://www.youtube.com/watch?v=qamYyHy4Yus

Tags