Fitting a duetwifi into a Wanhao D6



  • I have had the Wanhao D6 for less than 2 months and its been very painful and expensive culminating in the Z driver dying on me.

    So I have ordered one of these units to replace it.

    As a total newbie in installing one of these do you have any advice please? Things like "dont power it up until you have done such and such" etc so I do not fry it right away would be nice. Its probably there but I have to read the documentation yet in detail.


  • administrators

    Hi. I have not used a Wanhao D6 however general advice is:
    *Read the documentation.
    *Start with getting the board working on WiFi and using the web interface before applying VIN.
    *Check your wiring, preferably with a multimeter to ensure you don't feed greater than 3.3V into any of the logic pins.
    *Don't connect or disconnect connections, especially motor connections, with VIN connected.
    *Check that commanded temperatures are in the right ball park (based on filament melting if no other method available) before starting to print.

    Feel free to ask specific questions on the forum as you work through the conversion.



  • Hi, cool thanks.

    Vin would be the main 24Vdc in, yes?

    The logic pins would be powered only from the duetwifi? so the only possibility of greater than 3.3volts would be if there was some sort of short from the +ve 24v?

    I have a second mega 2560 with an add on sensor board attached and about 8 x 100k thermistors at various points (hot end, cold end, stepper cooling fins, bed etc so I monitor all the temps already independently.

    I got the PT100 setup as well as the D6 uses a pt100 already so I am hoping I can use this.



  • For the batch 5 boards which board is supplied v2?



  • As batch 5 is still pre-order, I expect they will be the V1.0 boards.


  • administrators

    V2 of what? There is no V2 of the Duet WiFi. If you mean PanelDue, all boards shipped from last week have been V2.



  • https://duet3d.com/wiki/Duet_WiFi_wiring_diagrams I think they're referring to this page. Just read the text, the V2 prototype boards are white and from the beta. Is your board white or blue?



  • I'll be doing the same with a Zortrax M200, which is what Wanhao D6 is a crude copy of.

    Wanhao is absolute rubbish, and they are shameless thieves of other companies designs.

    What's this with the new version of the Paneldue??

    I'm wondering if i bought the old version just recently….



  • Dunno about crude copy, the chassis itself is very well made and finished. Bearing in mind its 1/3rd the price of the M200 so as for absolute rubbish, sorry I do not agree, when it prints it prints very well, and many other ppl are getting great results for 1/3rd the price. I just seem to have been unlucky and have an fault that is hard to trace. Wanhao's support is however yes rubbish. I'll accept that no issues.



  • @gzcwnk:

    Dunno about crude copy, the chassis itself is very well made and finished. Bearing in mind its 1/3rd the price of the M200 so as for absolute rubbish, sorry I do not agree, when it prints it prints very well, and many other ppl are getting great results for 1/3rd the price. I just seem to have been unlucky and have an fault that is hard to trace. Wanhao's support is however yes rubbish. I'll accept that no issues.

    Certainly didn't mean to sound confrontational, but I am the unfortunate owner of a D5S.

    When it immediately and continuously broke down and I investigated the wiring in particular, I found "burn your house down" atrocities that defied belief.

    BUT…as a donor chassis for a DuetWiFi conversion, yes 1/3 the price is a good thing for sure.

    I just really don't like their history of stealing other companies designs, and their crappy execution despite the price.



  • Do I need to buy a microSD card? the docs sort of hint I do? if so how big? and if so does the speed of it matter?


  • administrators

    A micro SD card is included with each Duet WiFi.



  • So my wanhao D6's motherbaord finally died, starting to install the duetwifi, lucky I had it here….bummer oh well.



  • @gzcwnk:

    So my wanhao D6's motherbaord finally died, starting to install the duetwifi, lucky I had it here….bummer oh well.

    You won't be sorry.

    I'm loving my converted Zortrax so far, and I haven't got my simplify3d settings totally tweaked yet.



  • So some dumb Qs, the Wanhao D6 is a cartesian type printer?



  • Wiring is mostly done. Pt100 daughter-board not installed so no hotend temp. Bed says 17C which sounds right. limits switches are all NO so Ive set that OK?

    As,

    M574 X2 Y2 Z2 S0 ; set endstop configuration D6 normally open - ssj

    ?

    I want to get it moving….but,

    I need to set X and Y zero and stops as being the front, left hand side point of the bed, cant see how to do that yet.

    I need to set the bed as 190x190mm from the front lhs point ,

    I need to set Z as zero as maximum up and travel 170mm down.

    So,

    M208 X190 Y190 Z-170 ?

    or is Z just "170"?



  • duetWifi networking

    I want to set a static IP so,

    ;*** Wifi Networking
    M552 S1 P192.168.1.127 ; Enable WiFi set static IP.
    M553 P255.255.255.0 ; set netmask
    M554 P192.168.1.1 ; set gateway

    is OK?



  • if i stuff up networking i have to re-install the sdcard?



  • hmm OK so all 3 axis all went the wrong way…..bugger...still at least it moved and didnt explode!



  • uh when I move any axis say 10mm th head moves in three dimensions????



  • Uh removed the delta setting?

    ; M665 R105.6 L215.0 B85 H240 ; set delta radius, diagonal rod length, printable radius and homed height

    So X and Y look OK Z is scaled wrong 100mm moves maybe 10mm but now it wont home?

    I get,

    G28

    Macro file homeall.g not found.



  • As an aside the wanhao motherboards axis movement seemed "rough" this movement just seems like silk….or maybe its just my imagination...lol



  • config file so far,

    ========
    ; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi

    ; Communication and general
    M111 S0 ; Debug off
    M550 D6 ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi set static IP.
    ; M552 S1 P192.168.1.127 ; Enable WiFi set static IP.
    ; M553 P255.255.255.0 ; set netmask
    ; M554 P192.168.1.1 ; set gateway

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M574 X2 Y2 Z2 S0 ; set endstop configuration D6 normally open - ssj
    ; M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
    ; M665 R105.6 L215.0 B85 H240 ; set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
    M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
    M92 X80.4 Y80.4 Z800 ; Set axis steps/mm
    M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
    M201 X1000 Y1000 Z100 E1000 ; Accelerations (mm/s^2)
    M203 X20000 Y20000 Z2000 E3600 ; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
    ; M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
    ; M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
    ; M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
    M208 X190 Y190 Z170 ; set bed dimensions ssj
    8><-------


  • administrators

    Looks like you are making progress, however I suggest you use https://configurator.reprapfirmware.org to generate a new config.g file and homing files.

    Static ip does not work yet on the Duet WiFi.



  • M574 X0 Z0 Y0 S0 ; Define active low and unused microswitches

    what does this actually mean in plain english please?

    or where can i find this sort of thing?

    I have NOpen switches so S0 is right?

    does X0 mean its unused so I should have X1? indeed 1 for all of them?

    really this stuff doesnt explain anything…..


Log in to reply