Duet 2 Wifi speeds
-
Ok, so i aborted the router altogether.
I setup the Duet 2 WiFi to be an access point like @Veti linked. Fortunately since that post was so old they apparently rolled that feature into the version of firmware that was already installed on the printer. Not sure why the printer manufacturer doesn't suggest this option.
So far my speeds have been in the ~100Kibs speeds which is better than where i was so. I'm still going to look into the Ethernet upgrade that @Veti also linked.
-
Condensed instructions for access point mode are here: https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters
In case anyone is looking at this in future.
@kre8 I think it would be worth experimenting with different channels (M589 C) to see if you can get even better performance in your environment. Common recommended channels are 1, 6, or 11.
-
With a strong WiFi signal, no contention for the router and a good SD card, upload speeds of 700 to 800kbytes/sec to a Duet WiFi are usual. I believe the Modix uses the Duet WiFi with external antenna, so signal strength is less likely to be a problem.
If the WiFi environment is congested, it often helps to configure the router to use a different channel.
You can test the write speed to the SD card using the M122 P104 command. The reported write speed is normally 3Mbytes/sec or better.
-
@Phaedrux So so i just type M589 C, hit enter and then type in a channel number??
@dc42 On Friday we actually replaced the ~3" Modix antenna with one closer to ~11" long and that helped. I'll have to do the SD write test today and see what we get. As for the channels...i can try others once i know how to change it.
-
@dc42 I did the write test and it came back at 2.03Mbytes/sec for a 10.0 Mbyte file.
-
Just tried sending a 75mb file to the printer using the duet wifi as an access point and i'm barely getting 100kbytes/sec
-
@kre8 said in Duet 2 Wifi speeds:
@Phaedrux So so i just type M589 C, hit enter and then type in a channel number??
Not exactly.
M589 C1
as a single command would set channel 1.M589 C11
would set channel 11. -
@Phaedrux Got it...i'll give that a try.
Is there someplace to check that the channel was changed after i do that command?
-
If you have a windows 10 laptop you can try this wifi analyzer to get some more information on your wifi environment.
https://www.microsoft.com/en-ca/p/wifi-analyzer/9nblggh33n0n?activetab=pivot:overviewtab
If you have a Mac laptop you can use the built in wifi diagnostics tool.
-
@kre8 said in Duet 2 Wifi speeds:
Is there someplace to check that the channel was changed after i do that command?
You can send most gcodes by themselves without any parameters and it will echo back what the current values are. So send M589 by itself.
-
So i've got the Duet set to channel 1 and then ran the analyzer. Signal looks good however im still on transferring at 70-100kbs....and actually now that i've spec'd a channel, it seems to constantly error out during a file upload.
-
@kre8 said in Duet 2 Wifi speeds:
So i've got the Duet set to channel 1 and then ran the analyzer.
According to the photo you're still on channel 6. (and it looks like some miscreant is on channel 7, tsk tsk)
Try including the C parameter when sending the M589 to create the access point mode.
M589 S"yourssid" P"password" C"1"
-
@Phaedrux said in Duet 2 Wifi speeds:
Try including the C parameter when sending the M589 to create the access point mode.
M589 S"yourssid" P"password" C"1"When i follow this sequence substituting my details, i get a error for bad or missing parameters
M589 S"MODIX" P"KRE8LABS" C"1" is what i entered.
-
Try
C1
without quotes. -
-
What does it tell you when you send M589 by itself?
-
@Phaedrux said in Duet 2 Wifi speeds:
What does it tell you when you send M589 by itself?
Own SSID: MODIX IP=192.168.1.100 GW=0.0.0.0 NM=0.0.0.0
-
Let me setup my own AP mode to test with.
-
Sorry, looks like we need to specify an IP address as well. Not optional.
So try adding the I parameter
M589 S"MODIX" P"KRE8LABS" I192.168.1.1 C1
That worked for me.
-
I created a macro to make it easier to test
; Configure Access Point Mode ; M291 R"Create Duet Access Point? Y/N" P"This will create duetwifi-AP SSID to connect to." S3 T10 M552 S0 ; Disable network module G4 S5 ; wait 5 seconds M589 S"duetwifi-AP" P"duetwifi" I192.168.1.1 C1 ; Add duet wifi SSID to remembered networks list G4 S5 ; wait 5 seconds M552 S2 ; reenable wifi module M291 R"duetwifi-AP SSID added." P"SSID password is duetwifi."
You can save that as
duetapmode
in the macros folder and then call it with M98 P"duetapmode" to save some typing. Modify it with your SSID and password.Then edit your config.g to change
M552 S1
to beM552 S2
This will enable the access point at startup.