Duet wifi can,t be accest
-
dear sir
after trying to upgrade my duet for a weeks, searching clue in this forum
.I have upgrade the new firmware 1.19, and success until i have my duet wifi ip to connect via web interface.Printer is now online.
M98 P/macros/SetNetwork
SENDING:M98 P/MACROS/SETNETWORK
WiFi module started
ok T B:2000.0 /0.0
m587
SENDING:M587
Remembered networks:
TEST
your-network-ssid
TP-LINK_B43AC
arif
ok T B:2000.0 /0.0
m552 s1
SENDING:M552 S1
Wifi module is connected to access point arif, IP address 192.168.1.100
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
m552 s1
SENDING:M552 S1
m552 s1
SENDING:M552 S1
ok T B:2000.0 /0.0
m552 s-1
SENDING:M552 S-1
WiFi module stopped
ok T B:2000.0 /0.0
m552 s1
SENDING:M552 S1
WiFi module started
Wifi module is connected to access point arif, IP address 192.168.1.100
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
ok T B:2000.0 /0.0
[ERROR] Can't write to printer (disconnected?) (SerialException): Write timeout
Disconnected.
Connecting…
ok T B:2000.0 /0.0
Printer is now online.
m552 s1
SENDING:M552 S1
WiFi module started
Wifi module is connected to access point arif, IP address 192.168.1.100I still trying to find out why, but when i open the ip 192.168.1.100. it didn,t connect to my printer. any one can help me, please?
thank you
arif
-
Have you unzipped DuetWebControl.zip into the /www folder on the SD card? If there was already a /www folder there, it's best to delete it and create a new one, to make sure that only the correct files are present.
-
Hi David
thanks for your advice, I have delete and make new www folder, now i can connect my core xy to my computer via web interface.
problem solved.
But the movement of x and y is different with firmware 1.18.2,
firmware 1.18.2 the x go to left and right and y got to back and front but when printing I have to mirror the object to get right printing with cura.
in firmware 1.19 i cannot set x and y like in firmware 1.18,2, so it have to ,x go to back and front and y go to left and right. and i have to exchange endstop x to y. but its work. Is this normal?this is my config
; Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Tue Sep 19 2017 20:14:08 GMT+0700 (SE Asia Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like MarlinM667 S1 ; Select CoreXY mode
;M667 S2 Z3 ; switch to CoreXZ mode and multiply motor movements by 3 for the Z axis
M208 X0 Y0 Z0 S0 ; Set axis minima
M208 X250 Y250 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; Define active high microswitches
;M558 P0 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
M557 X15:235 Y15:235 S20 ; Define mesh grid; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z400 E150 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X12000 Y12000 Z600 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z1600 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 1; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Network
M550 Parif corexy ; Set machine name
M552 S1 ; Enable network
; Access point is configured manually via M587 by the user
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S0.2 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
sorry about my English,
thank youarif
-
Read the 1.19 firmware upgrade notes.
-
hi David
1 .Important! On a CoreXY machine, if upgrading from a version prior to 1.19beta9, you need to reverse the Y motor direction in the M569 command. Similarly for CoreXYU machines.
sorry about that, I thought exchange connector x to y in duet board,, because there is a tab connector in duet board and the motor and cannot be reverse. I have to cut the cable near y motor and use dupont connector, so i can reverse the y motor. now it work , but still printing mirror for the object, but it,s okay.
2. The contents of DuetWebControl-1.19.zip, extracted into the /www folder. Existing versions of DWC won't let you upload a file called DuetWebControl*.zip to a Duet WiFi, so you will either have to do this on a PC, or you can rename it to e.g. DWC.zip and then it should upload. If there is a /www folder already on the SD card, I recommend you delete it and create a new one
I already doing that, my fault is, I unzip the file direct to /www in sd card, so it create subfolder. and duet cannot read subfolder in /www sd card. my solution is unzip the file in hardisk, then the copy and paste the file only to folder /wwww in sd card and it works.
3.A macro file in /macros to set up access to your WiFi network. I'll call this file SetNetwork, but you can choose any name you like. This should contain the following commands:
M552 S0
G4 P1000
M587 S"your-network-ssid" P"your-network-password"I cannot make this file in notepad ++, because when I save there are format txt or else . and duet cannot read txt or any format.
So i open the existing file in macro with notepad++, delete the existing txt and copy, paste and edit it. then save. And then rename it SetNetwork. and its work4. Send M552 S1. After a few seconds you should see a message that it has connected to your access point.
Connect via the web interface.At first , my duet cannot detect the access point. then I try to reboot and set name same to setnetwork in my modem and router. now my duet can detect it and give me the ip.
that's my experience upgrade the firmware 1.19.
if there are something wrong in my experience, please advice.thank you
arif