Maestro To WiFi v1.04 SD files
-
Hope this is in the right section, if it's not tell me.
So my mind is made up about abandoning the Duet Maestro because I have had nothing but problems with the Extruder Drivers on the Maestro, always giving me a "Short-to-ground" error when I start printing. I can send commands to the board through the DWC and it extrudes perfectly. Go to print and it errors out. Only at 700 milliamps and on the Discord server I was told those amperages were too high and the driver likely overheated. Regardless, I'm done with it, I've never had that issue with a duet wifi so whatever.
I'm curious what needs to be changed assuming all the same hardware is being used that was previously functional on the Maestro.
The wiring of the BL Touch I changed from black and brown GND being connected to the proper Z probe GND and pin #2 on the expansion header just as the duet wiki suggests. Orange is connected to #8 and red is #1.
My current config from my Maestro has:
M574 Z1 S2
M558 P9 H5 F100 T2000And according to the forum link that is to be referenced, it appears I must add:
M307 H3 A-1 C-1 D-1 ; use pin 3 on header for bltouch
In the SD card files under sys I also notice "DuetMaestroFirmware.bin"
Can I legitimately just swap this file for the "DuetWiFiServer.bin" file that came pre-installed on the WiFi's SD card and call it a day?
Is there any other changes that I must make between the two? Using a regular thermistor so no daughterboard stuff. Same voltages, same amperages, and the WiFi vs Ethernet should be automatic, and I shouldn't have to change anything regarding networking I'm assuming.
Is there anything I'm not catching? Anything else I need to do?
Thank you in advance.
-
The firmware bin files are just backups of the firmware files. During an update they get applied to the internal firmware space. The files on the SD card aren't used after that. So the wifi board you change to will already have the wifi firmware on it.
You'll also have to change the deployprobe and retractprobe macros to reference the new servo pin number you've chosen, which looks like #3.
Your motor currents may need to be updated in config.g. For the Wifi target 70-85% of max rated.
I can't think of anything else that needs to be changed but I could be wrong.
-
I have all the motors at 1000 for the amperage, shouldn't be an issue, I've gone significantly higher with similar motors.
It looks like
Deployprobe.g needs to contain the line:
M280 P3 S10 I1And Retractprobe.g needs to contain the line:
M280 P3 S90 I1Pin #1 should be 3.3v and I believe pin #8 should be 5v. This sound right? But it looks like dc42 says not to use "I1" in the M280 command....looks like it comes out.
Deployprobe.g needs to contain the line:
M280 P3 S10;And Retractprobe.g needs to contain the line:
M280 P3 S90;......now he said it is needed? Grrr...I'm confused. The forum posts were back in 2017, not sure what applies to the Duet 2 Wifi 1.04.
Hesitant to turn it on without knowing.
-
The I1 will likely be needed. I think it's different if you're using a duex to connect the probe.
-
Okay, thank you! I'll see what happens! Haha
-
And of course you need to change your network part in config.
-
The TMC2224 drivers on the Maestro can handle 700mA easily. The maximum recommended current is 1400mA but you need to cool the board well at such high currents.
My guess is that you have the extruder driver configured to run in stealthChop mode even at high speeds, and this is causing a problem during retraction and re-prime moves, but not at the lower speeds used for extrusion. You can control the speed at which the driver changes over from stealthChop to spreadCycle using the M569 V parameter. I suggest you try V4000 in the M569 commands for your extruder drive. Alternatively, put the driver into spreadCycle mode at all speeds by using D2 on the M569 command.
If you want to switch to a Duet WiFi, you have already identified the changes to the bltouch configuration. The other changes are WiFi networking vs. Ethernet. The M552 S parameter is still used to enable/disable networking, however if you were setting a static IP address in M552 then for the WiFi that needs to be set in the M587 command used to set up your access point parameters.
The main firmware file for the Duet WiFi is now Duet2CombinedFirmware.bin. Also copy file iap4e.bin into /sys because it is needed to do firmware updates (on the Maestro it is iap4s.bin).
-
@dc42 Wow! Thank you very much, that was way more than I expected. So I'll keep the amperage down a bit to test it on the WiFi until I can print the case/enclosure for the duet. I'll test that solution for the Maestro and see if that solves my problems with it. I will update the firmware and bring the files over to the SD card as well, I forgot that the "iap4e.bin" was needed, I forgot that is what was responsible for it. I'll test all that today and post my results! Thank you so much!
-
So I'm connected to my WiFi and X and Y both home correctly.
The BL Touch does not deploy so it will inevitably crash if I let it.
Question:
; Duet Wifi v1.04
; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Feb 13 2019 21:37:53 GMT-0500 (Eastern Standard Time)
M280 P8 S10 I1Where should I connect the BL Touch and what should my M280 command be, what pin should I be connected to, and how does the M307 relate to the BL Touch for remapping?
; BLTouch config updated-02.13.2019
M574 Z1 S2 ; Set endstops controlled by probe
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X35:220 Y35:220 S20 ; Define mesh gridThe probe does it's little power-on self-test it does with the board turns on, but I get
Error: M280: Invalid servo index 8 in M280 command
Error: M280: Invalid servo index 3 in M280 command
Error: M280: Invalid servo index 2 in M280 command
If I try to change the pin number in the M280 command and send M401 (deploy probe) manually.
The red wire, which should be 5v is connected to pin 1, the brown which should be GND is connected to pin 2 and the Orange which should be the signal or servo wire is connected to pin 8 which should be Heater 3 right? What am I doing wrong?? Running the latest firmware.
For the record, I have gone through the documentation and the forum linked in the documentation and it's hard for me to discern which applies to my application. I've read through
https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins
G-Code wiki on M280 and M307, the wiki on BL Touch and it feels like I'm missing a deeper understanding of the connection between these. I don't understand what I'm doing wrong.
-
If you have connected the servo control wire to the heater 3 pin on the expansion connector, you need to use P3 in the M280 commands, not P8. You also need to use M307 H3 A-1 C-1 D-1 in config.g to disable heater 3. It's all covered at https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch.
-
M280 P3 S10 I1
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
And Orange physically connected to pin 3 or pin 8 and it still gives me
Error: M280: Invalid servo index 3 in M280 command
Is this line correct?
M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
I thought this configuration was correct. I do not understand what I'm doing wrong.
-
-
@phaedrux Yeah, no, I got the BL Touch working on the Maestro, but now I'm on the WiFi and I do not understand why I can't get it working on the WiFi.
-
@noskillzengineer Sorry. Brain malfunction.
Do you have a config-override.g? It's possible that your M037 H3 A-1 C-1 D-1 is being overwritten.
-
@phaedrux why yes, I do. I'll try putting that in the override file.
-
@noskillzengineer You can add a ; to comment out any existing M307 in there.
-
[;M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0]
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
Apparently I was overwriting my M307 command.
Commented out that line and for good measure added M307 H3 A-1 C-1 D-1 into my Config override file, restarted the board, and it works
Thank you, I wouldn't have thought of that!
-
Glad you got it working.
I should have linked this yesterday. https://duet3d.dozuki.com/Wiki/BLTouch_Troubleshooting
-
@phaedrux lmao yeah, I wish I knew that link existed. That needs to be linked in the wiki under "Connecting Z Probe" under "BLTouch" with the other links there. That would've solved my problems haha.
I just noticed my temperature sensors read 37 and 39 C for the hot end and bed, respectively. Same configuration that I had on my Maestro. Why would it be so far off from room temperature?
-
@noskillzengineer said in Maestro To WiFi v1.04 SD files:
That needs to be linked in the wiki under "Connecting Z Probe" under "BLTouch" with the other links there.
Done.
What thermistor are you using?