Want faster WiFi file transfer?
-
For whatever reason, the file transfer on mine is S-L-O-W. It starts OK then just gets slower & slower until it settles at about 50kb/s.
As an experiment, I bought one of these: https://flashair-developers.com/en/about/overview/
Mine is 8Gb, bought from Amazon for not much more than a standard card.If you edit the Config file & put in something like this:
Leave these as they were supplied:
VERSION=FA9CAW3AW3.00.00
CID=02544d535730384731c2dee47900ec01
PRODUCT=FlashAir
VENDOR=TOSHIBA
LOCK=1Change / Add everything else:
WEBDAV=2
UPLOAD=1
DNSMODE=1ID=DuetDelta
APPMODE=5
APPNAME=DuetDelta
APPSSID=###Enter your WiFi SSID###
APPNETWORKKEY=###Enter your WiFi Password###
DHCP_Enabled=NOEdit for your network settings:
IP_Address=192.168.1.123
Subnet_Mask=255.255.255.0
Default_Gateway=192.168.1.1
Preferred_DNS_Server=192.168.1.1
Alternate_DNS_Server=192.168.1.1
Proxy_Server_Enabled=NOIt supports fixed IP or DHCP - and is pretty quick - I'm getting 12Mb/s typical. The printer is in my workshop, 25m from the access point. Quite a lot of devices struggle with signal strength (my phone for example) but this (and the Duet I hasten to add) work fine!
I just have it mapped as a network drive under Windows - and save the GCode straight to it from Cura.
Si
-
Are you using one of those FlashAir cards to upload files instead of the Duet WiFi web interface? I use to do that before I had the Duet Wifi, it sucked.
-
Yup - that's exactly what I'm doing. Not found any suckyness. I still use the Web interface on the Duet, just not for file transfer.
Si
-
The problem I ran into is that I had to have the access point (1 of 7) sitting right next to the thing or it was terrible.
-
Awesome idea. I want to try this. But do they exist in Micro SD sizes? I can't seem to find any.
-
If you are only getting 50kbytes/sec then something is badly wrong. The Duet WiFi normally uploads at 0.5 to 1Mbytes/sec if it has a good WiFi signal. The first thing to try is a new SD card.
-
Awesome idea. I want to try this. But do they exist in Micro SD sizes? I can't seem to find any.
Not that I've found - but the LCD has a standard SD socket. You need an extra lead to connect it to the Duet.
https://duet3d.com/wiki/Connecting_an_LCD_control_panel#Using_the_external_SD_card_socket_on_the_LCD_panel
Keep the lead short - much over a foot and it doesn't work. Mine (after some re-jigging) is 6" long and works pretty good.David, I thought it was the SD initially - but I'm on card No 4 now and it's the same. That's why I wired up the SD socket in the PanelDue - but found it wasn't supported in the web interface for file upload due to speed considerations (ironically). The previous Micro-sd's seem to work fine in the PC speed wise.
When you first start uploading, it runs at 1-2Mb/s then rapidly slows down to a crawl - almost as if it's filling up a buffer then slowing when it's full?
Were it not for that, I would assume it's a signal strength issue - but it it can achieve fast transfer at the start, I suspect it could continue.With the WiFi SD plugged in to the PanelDue it's OK.
Si
-
It would be interesting to see a Wireshark trace of a file upload on your system.
I presume you are running firmware 1.17d or e, and DuetWiFiServer 1.03-ch ?
You could use your FlashAir card in the SD socket on PanelDue if you get the ribbon cable to connect it to the Duet WiFi.
-
Not that I've found - but the LCD has a standard SD socket. You need an extra lead to connect it to the Duet.
Ah, I see. I don't use a PanelDue, but I could probably connect a standalone SD card slot. I will definitely try this.
And keeping the lead short won't be a problem then
-
So I got myself a FlashAir card, but transferring files to it is horribly slow, at around 30-50 KB/s. I can transfer files between machines on my Wi-Fi network at 20+ MB/s. FlashAir often also seems to crash randomly and either stop responding to pings or stop responding to HTTP (WebDAV) requests. Oh well.