IR probe and Duet Maestro
-
That config looks ok to me. I have one of our own IR sensors in my Maestro-powered Ormerod printer. I am fairly sure it flashes four times at power up, but I'll check next time I use it.
-
I have confirmed, an IR sensor connected correctly to the Duet Maestro in my Ormerod printer flashes 4 times at startup, using P1 in the M558 command.
-
Thanks, but would it be a problem for my printer? The two flashes mean digital output, but I'm using the analog output anyway, am I right?
If it's a problem, what else should I look into? -
Something isn't right, however the probe will still work even if the Duet is configured for analog mode and the IR sensor is producing a digital output. You won't get the benefit of the probing move slowing down when the probe gets close to trigger height.
-
Hi, I´ve the same problem as Maut. But my Z-Probe also reads 1000 all the time. On your webpage https://miscsolutions.wordpress.com/mini-height-sensor-board/ you say its due to high IR influence from eg sunbeams. To avoid the sun i tried it in the night
My config looks like this:
; Configuration file for Duet Maestro (firmware version 1.21)
; executed by the firmware on start-up
;; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode
; Network
M550 P"Tronxy" ; Set machine nameM552 P192.168.178.15 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Physical drive 0 goes backwards
M569 P1 S1 ; Physical drive 1 goes backwards
M569 P2 S0 ; Physical drive 2 goes forwards
M569 P3 S1 ; Physical drive 3 goes forwards
M350 X128 Y128 Z16 E128 I1 ; Configure microstepping with interpolation
M92 X640.00 Y640.00 Z400.00 E2222.38 ; Set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E9000.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
M906 X800.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X350 Y300 Z350 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z2 S0 ;set endstops low active; Z-Probe
;M574 Z2 S2 ; Set endstops controlled by probe
;M558 P1 H0 F120 T3000 ; Set Z probe type to unmodulated and the dive height + speeds
;G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
;M557 X15:335 Y15:195 S20 ; Define mesh grid; Heaters
M302 P1M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B3950 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B3950 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings are not configured
I commended the Z-Probing as I dont get good reading with "Send M558 P1 to the Duet, then send G31 P500 Z1.0."
I really would appreciate your help!
Thanks a lot
-
@simplesimson, does the Z probe reading in DWC depend on whether it is triggered or not (i.e. whether the red LED on the sensor is illuminated)?
-
@dc42 Hey, sorry for the late reply - first of all thanks for your great work, read a lot of your posts and so on. Thanks a lot.
Back to topic:
In the DuetWebplatform the reading is around 5 when no item is near the sensor. If it gets triggered it jumps digital to 1000. There is no analog change/increase. -
Hey,
i´m still having the same problem. Do I need to use M558 P2 for the "digital probe"? if I do so, the Probe Z status in DWC shows 0 (5) when not triggered and 0(1000) when triggered. By Triggerd i mean a red LED.
-
Good morning. The Probe works as it should. It Reports 460-530 in trigger range.
I must have made a misstake. If somebody in future has the same Problem. Have a look at your Z-Speed I slowed it down a lot maybe thats been a Issue. Also I changed my cable routing.
I had the suspission that the heating of my hotend might have an effect on the signal of the probe.
ty for your help
-
@simplesimson said in IR probe and Duet Maestro:
Hey,
i´m still having the same problem. Do I need to use M558 P2 for the "digital probe"? if I do so, the Probe Z status in DWC shows 0 (5) when not triggered and 0(1000) when triggered. By Triggerd i mean a red LED.
Sorry for the late response. M558 P1 is correct for the IR sensor that we sell. P2 is only for the sensor that RepRapPro included in the Ormerod 2 printer and I think also the Huxley Duo and one of their Mendel printers.