Duet 2 Wifi speeds
-
@kre8 maybe it has a different reason like the maximum write speed of the SD card. I would try a different, fast card, like a Class 10 card.
-
It may help if you provide the results of M122 so we can see firmware versions and wifi signal strength and SD card speeds.
Using Access Point Mode might be a good option. Using a router like that can actually be a bit of a limiting factor since wifi requires free air time to transfer data. So when the laptop is talking to the router everyone has to be quiet, and then the router sends the data to the duet. So the router would constantly be buffering frames and then forwarding them on. Setting up the Duet to act as it's access point means there is less air time contention.
There may be some settings on the router that might help, but I'm not really familiar with it. Setting up a dedicated 2.4ghz SSID is a good start, but if you're able to use the Duet AP mode then all the better.
-
The router is about 7' from the printer.
The wifi speed per the M122 command is -42dBm....in that same command it says the SD card interface speed is 20mbytes/sec.
-
Signal strength is fine, but as I said, there's a lot more to wifi. If you're in a crowded wifi environment with a lot of cross talk speeds can be impacted because if there is interruption during the transfer, the packets must be resent.
Are there a lot of access points/SSIDs showing up in the area? Doing a wifi scan and seeing what channels they are using can be insightful. If possible, choose a channel as far away from the predominant channels. Otherwise, choose the same channel. This may seem counter intuitive, but in a crowded environment being on the same channel allows for better scheduling and less interruptions and therefore less resending of data and better transfer rates.
Copy and paste the full M122 report so we can see some additional information. Perhaps your firmware version is out of date or the wifi server is a mismatch. I can't tell without seeing it.
-
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?