So step 8 is connecting via wifi
- your computer is on WiFi, do you have a list of access Points?
- If so do you see the Duet an access Point? If not, are you seeing any access points?
So step 8 is connecting via wifi
Thanks David, so I will need to wait for the next firmware to get wifi status.
Great to see this feature in in development.
Would reinstalling the wifi server firmware have any impact on reducing the failure?
Is there an M command that provides feedback on whether the DuetWifi is connected, ie the IP address.
I'm finding that on boot up, DWC doesn't find the fixed IP address that I've set up in the router. Going through PanelDue i've found that typing M552 S0, waiting a min, the M552 S1, DWC will then find the printer (works 80% time). Redoing always fixes it.
I'd like to run a command to check what the state of the connection is, via the PanelDue - is it possible?
I don't have a pc near the printer.
I know the WiFi signal is OK, as my IP webcam that sits next to the printer works fine.
I had nearly exactly the same issue, and I started discussing on on reprapforums:
http://forums.reprap.org/read.php?416,745331
I fixed the issue by downloading a new configuration file (using exactly the same parameters). I've no idea what caused the first problem.
I found it easier to just drop the firmware in the directory where bossac is, navigate to that directory in the cmd line and then type the code to run.
These piezo's are tough units (using 27mm). In fiddling around, the + wire became detached from the centre (pulled the white stuff off)- thought I'd reattach/solder and hope. Well works fine!
After some more meddling, I am now getting really good results.
This is the best bed mapping that I've ever had on the printer since running duet wifi.
Its amazing what a day away does…
Nozzle diving below print bed - problem solved.....
Given it was probing nicely, turned my attention to the G-CODE file.
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 F6000 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
Removing the G28 Z0 from the code seems to fix it, and it prints at the right height. Now I need to figure out why......
I've only skimmed this a bit tied up, but do you need the H2's in your bed. G?
Edit Yes I suppose you do, I haven't used RRF on a cartesian machine. Hmmm…
Not exactly on topic but have you tried the probe on digital instead of analogue, with low debounce value? You can probe at a higher speed with no false triggers.
I posted my M558 and G31 on a previous page.
I removed the H2 and the auto bed compensation graph was higher, but still under z0. Did a probe, which still showed as also under the bed, went to print and the print head wants to start at somewhere around z-5.
Had enough for today. Will try digital tomorow.
adding G31 Z-0.2 or G31 Z0.2
or extremes like G31 Z-4 or G31 Z 4
into the config.g file has NO impact whatsoever.
I'm stumped.
and this is the start of a g-code file
;FLAVOR:RepRap
;TIME:2049
;Filament used: 3.66315m
;Layer height: 0.3
;Generated with Cura_SteamEngine 2.4.0
M190 S70
M104 S190
M109 S190
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z1.0 F9000 ;move the platform down 1mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
M117 Printing…
;LAYER_COUNT:83
;LAYER:0
M107
G1 F1800 E-4
G0 F3600 X102.801 Y104.451 Z0.3
;TYPE:SUPPORT
G1 F1800 E0
G1 X137.199 Y104.451 E1.63032
G1 X137.199 Y135.549 E3.10423
G1 X102.801 Y135.549 E4.73455
G1 X102.801 Y104.451 E6.20846
G1 F1800 E2.20846
G0 F3600 X113.873 Y114.036
G0 X113.955 Y114.11
G1 F1800 E6.20846
RepRapFirmware height map file v1, mean error -0.20, deviation 0.04
xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
60.00,240.00,35.00,220.00,-1.00,40.00,5,5
-0.119, -0.143, -0.094, -0.183, -0.207
-0.205, -0.220, -0.178, -0.092, -0.198
-0.215, -0.205, -0.237, -0.244, -0.173
-0.242, -0.230, -0.210, -0.225, -0.225
-0.230, -0.190, -0.188, -0.156, -0.274
; Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sat Feb 04 2017 22:32:57 GMT+0000 (GMT 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 Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X230 Y230 Z200 S0 ; Set axis maxima
; Endstops
M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches
M558 P1 I1 F500 X0 Y0 Z0 ;analogue piezo sensor output falls on contact, probing speed, not used to home axes
G31 X0 Y0 Z0.03 P700 ;sensor is nozzle and trigger value
; Drives
M569 P0 S0 ; Drive 0 goes backwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.5 Y80.5 Z405.9 E455.9 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X8000 Y8000 Z180 E2200 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z250 E800 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z800 E1000 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
M305 P0 R4700 T100000 B3950; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
; Network
M550 PPhytone ; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
; Fans
M106 P0 S0.3 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
Did the above, same issue.
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Sat Feb 04 2017 22:32:57 GMT+0000 (GMT Standard Time)
; Clear any bed transform
M561
; Probe the bed at 5 points
G30 P0 X50 Y50 H2 Z-99999
G30 P1 X50 Y215 H2 Z-99999
G30 P2 X215 Y50 H2 Z-99999
G30 P3 X215 Y215 H2 Z-99999 S
Ive done the
G92 Z0
G1 Z5
G30 S-1
and it reports a value of 0.0x across the bed.
When printing it drops below the z0 plane and hits my printbite.
@DC42: OK, when I rip it apart, I'll try spraying the rear of the printbite to see what effect it has.
Wow, a world of difference using this probe after a couple of minutes setting up:
This is what I got with DC42's sensor AFTER spraying my aluminium heat bed with black matt paint and probing my Printbite (the sticky tape makes it a bit patchy as in the photo - is this causing the problem?):
With the piezo board:
A massive difference…
Cant figure out why it is showing under the horizon through.
The IR probe should always be used with a trigger threshold of 500, because it only outputs 4 different values - about 0, 465, 535 and 1000.
I think what you are seeing is variation in trigger height caused by reflections from behind the glass. A sheet of black or other dark paper between the glass and the bed plate will substantially reduce the variation. I have used all of the following:
- Painting the aluminium bed plate black with heat-resistance paint, cured in an oven
- Black paper (found in the art supplied department of a stationery shop) between the bed heater and the glass
- Printing an A4 sheet of paper all black (except the margins) and putting it under the glass
- Spraying the back of the transparent surface black and curing the paint in an oven (I haven't tried this with glass, but it worked well for me with PEI).
Thanks David. I don't use glass. The readings are the same with both PrintBite and on new cast tooling plate (with the protective film still on). I have some paint coming, so will certainly try that, whilst having a look at this piezo method. I'm sure it must be something simple.
On my old RAMPS, i just probed the four corners and it worked (this is a cartesian printer), and there was a very minimal difference across the first printed layer for irregularities, and I suppose I could go back to 4 corners - but now, I have seen this weird height map, I want to fix it.
Well, I've ordered a board from Idris and piezo's from Ebay, so will have a play, once I figure out a suitable mount for a Titan extruder.
I'm fairly sure there is no mechanical play, it's a metal v-slot build. May play with probing speeds and sensor drop height to see if that has any impact (2mm at moment). Paint should be here soon - but there is no way that the probe heightmap correlates to the actual bed.
I'd love to try a piezo, but no piezo/control board and need to think how to mount in a titan extruder.
Is there a way to desensitise dc's IR Probe?
Couldn't find any card, so thought running the grid probe in the dark….
Amazes me it works, but oh well... ordered some paint, for sake of £7, has to be worth a try.....