Hall Sensor Help
-
I currently am trying to set up some hall Sensor boards, they say they are rated for 3.3V and 5V and come with a potentiometer. When activated the active light on the endstop goes away and the triggered light on the duet lights up but there is no firmware signal in settings or M119 of the endstop being triggered. In fact when I even try to home it says endstop failed or not recognized, I don't remember. Is there any way to fix this such as a resistor or would it be best to get new sensors? If so which ones would be guaranteed to work?
-
Looking closer it says that the sensor itself is rated for 5V....
Https://a.aliexpress.com/_mNQJkuz
Is there any way to modify them to work or are there any recommendations? -
@koaldesigns said in Hall Sensor Help:
In fact when I even try to home it says endstop failed or not recognized, I don't remember
its helpfull to post the actual error message.
post your config.g and a picture of your wiring
-
When pulling up the M119 command, this is what shows:
Endstops - X: no endstop, Y: no endstop, Z: no endstop, Z probe: at min stop
When I try homing:
G1 H1 X-20 F100 Error: Failed to enable endstops
And here is my config.g
; Printer Settings M669 K4 P376 D376 A-140;110 B-180;180 C-1:0:0 M569 P0 S1 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M906 X800 Y800 Y800 E800 ; set motor currents (mA) M574 X0 Y0 Z0 S1 ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M350 X128 Y128 Z16 E16:16 I1 ; Set 16x microstepping with interpolation M92 X2092.35613306 Y2092.35613306 Z800 ; Set axis steps/mm M906 X800 Y800 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
My wiring is as it states, signal to signal, ground to ground, and Vcc to Vcc
-
@koaldesigns said in Hall Sensor Help:
M574 X0 Y0 Z0 S1
this disables all endstops. so the duet is doing exactly what you are telling it to do.
-
So I'm just an idiot, nice....
-
@koaldesigns said in Hall Sensor Help:
M350 X128 Y128 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
the duet 2 does not allow interpolation at anything else that x16. so this wont work.
-
This post is deleted! -
; Printer Settings M669 K4 P376 D376 A-140;110 B-180;180 C-1:0:0 M569 P0 S1 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M906 X800 Y800 Y800 E800 ; set motor currents (mA) M574 X1 Y1 Z0 S1 ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation M92 X261.544516633 Y261.544516633 Z800 ; Set axis steps/degree M906 X800 Y800 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
Does this check out?
-
if thats your entire config. its missing a lot.
tool, hotend, heater etc..
-
@Veti No, its just the movement section
heres the full thing minus networking; Axis and motor configuration ; Printer Settings M669 K4 P376 D376 A-140;110 B-180;180 C-1:0:0 M569 P0 S1 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M906 X800 Y800 Y800 E800 ; set motor currents (mA) M574 X1 Y1 Z0 S1 ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation M92 X261.544516633 Y261.544516633 Z800 ; Set axis steps/degree M906 X800 Y800 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute ; Thermistors M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Adjustments for dummy heaters on test rig M307 H0 A250 C140 D5.5 B1 M307 H1 A250 C140 D5.5 B0 M307 H2 A250 C140 D5.5 B0 ; Fans M106 P1 S-1 ; disable thermostatic mode for fan 1 ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a single-nozzle build, comment the next 2 lines M563 P1 D1 H2 ; Define tool 1 G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E80:80 ; Set extruder steps per mm ; Z probe and compensation definition ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command. M558 P5 F100 T6000 X0 Y0 Z0 H3 ; Z probe is a Smart Effector and is not used for homing any axes R0.4 not used. Reduced F300 to 100 G31 P100 X0 Y0 Z-0.25 ; Set the zprobe height and threshold for Smart Effector ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z T0 ; select first hot end ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config
Currently I am only trying to get movement and homing to work so the rest doesn't really matter to me right now.
-
on a side note.
since you are setting up the printer from scratch, it would be best to start with version 3 of the firmware.not much point investing time with version 2 and then having to invest time again to update to version 3.
-
Yeah probably a good idea, I haven't found any SCARA configs for version 3 yet so I may delve into that later today. I need to compile a custom version of it though due to a non-standard kinematic as I have a 3rd rotational axis on the arm.