Troubles with PNP Voron sensor on DuetWifi 2
-
So I'm currently wiring up a Voron and am having trouble with getting the sensor to work. I'm using a Duetwifi 2 on firmware version 2.02 (from 2018), just pulled it out of the box today and configured some firmware using RRF configure. Here's how I wired the sensor:
Some configs I've tried:
I can get the sensor to not be trigger at rest, but then can't get it to trigger. Or I can set it to be trigger all the time. I've tried moving the ! around the C"^zprobe.in" line as suggested, nothing so far.
Any help would be great, thanks!
-
Update your firmware to RRF 3.3
2.02 is ancient.
If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them first. Reboot after each. Use M115 in the gcode console to verify the firmware has been applied.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
That will get your firmware and DWC up to date.You can see the change logs here:
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.xFor your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
https://configtool.reprapfirmware.org/StartBackup your existing config files in the sys folder in case you want to switch back to RRF2. It’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.
These documents will come in handy during the conversion.
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
https://duet3d.dozuki.com/Wiki/Gcode -
@phaedrux Hmmm, well I uploaded those three sets of firmware like you instructed, but on the third one it didn't reconnect to DuetWifi. I plugged it back into my laptop for terminal access, looks like I can start the wifi module but not connect it to anything, it says it's busy.
-
If I just send an M552 command to check the status of the wifi, it always says it's being started.
-
Try sending M552 S0 and then M997 S1 and then M552 S1 again. The wifi module probably just needs to be reflashed.
-
No luck there
-
Well I updated everything and got it sorted out to connect to wifi, now back to the original PNP sensor issue. What should the Z-probe square be reading?
-
Here's the config, can't get any variation of it to read the sensor properly.
-
Do you happen to know specifically what probe hardware it is?
-
A PNP proximity switch will connect the output to it's supply voltage when triggered - so giving out 12V or 24V.
You need a couple of resistors in series as a divider from the output to 0V/Ground to hold the board input at 0V when the probe is not triggered, plus reducing the voltage to something acceptable for the logic input.
The board input is taken from the junction of the two series resistors.
Set the probe type to 5 (high when triggered) , no !
See the "PNP Output" section of the Z probe page:
https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_PNP_output_normally_open_inductive_or_capacitive_sensorIf it's an older board the input could be damaged by a direct connection from the probe; the resistors are vital.
-
@armatus When I used a proximity sensor, I used a 24 relay module to connect it to my Duet Wifi. Never had a problem with it.
https://www.amazon.com/gp/product/B077ZLC78L -
I took the lazy way out and just designed my own Z-stop switch, didn't like the tool head Z-stop either. It's only a 150mmx150mm bed and it's super flat, being all manual will be fine. Thanks for everyones help