Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Zhang Jianyu
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 26
    • Best 8
    • Controversial 0
    • Groups 0

    Zhang Jianyu

    @Zhang Jianyu

    10
    Reputation
    4
    Profile views
    26
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Zhang Jianyu Unfollow Follow

    Best posts made by Zhang Jianyu

    • RE: Heater fault and PS_ON signal.

      You would need to configure a M143 heater protection instance to trigger a power shutdown. Something like this:

      M143 H1 P1 S300 A3 ; Set heater 1 monitor 1 to trigger printer shutdown if temp exceeds 300C
      

      see https://duet3d.dozuki.com/Wiki/Gcode#Section_M143_in_RRF_3_01RC2_and_later

      posted in Duet Hardware and wiring
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Question about configure polar printer.

      In the M92 command, the Y parameter is the steps per degree of rotation of the turntable.

      When you give a G1 H1 or G1 H2 command (or G1 S1/G1 S2 for older firmware versions), the Y coordinate in that command must be specified in degrees.

      posted in Firmware installation
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      I have found that this calculator can be illuminating: https://www.thinksrs.com/downloads/programs/therm calc/ntccalibrator/ntccalculator.html

      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Power control for duet 3

      Crydom and Schneider Electric are both reliable brands. I would add that amazon has a big counterfeit product problem as well.

      posted in Duet Hardware and wiring
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      For the reciprocal I am using dot '.' as a decimal separator. Since you use comma decimal separator ',' you'll need to put that in instead.

      So the corrected one for you will be 1/2,3399e-4

      Regarding the slight difference in output, it's likely just due to the precision of the calculations on the computer.

      The bit about the 1/B and β being equal is not of real practical use but I find it interesting 😛

      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: emergency stop

      Trigger 1 is already reserved for a print pause trigger, so you could try renaming your file to trigger2.g and reconfiguring the trigger to use T2.

      If you are calling other macro files with M98 command, I think it will only look in the /sys/ folder. To get around this, you could move all your macros to /sys/, or use the full path like so in your script: M98 P"0:/macros/mymacro.g"

      posted in Duet Hardware and wiring
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      SRS calc is this:

      C =((1/T1-1/T2)-(Math.log(R1)- Math.log(R2))*(1/T1-1/T3)/(Math.log(R1)-Math.log(R3)))/((Math.pow(Math.log(R1),3)-Math.pow(Math.log(R2),3)) - (Math.log(R1)-Math.log(R2))*(Math.pow(Math.log(R1),3)-Math.pow(Math.log(R3),3))/(Math.log(R1)-Math.log(R3)));
      B =((1/T1-1/T2)-C*(Math.pow(Math.log(R1),3)-Math.pow(Math.log(R2),3)))/(Math.log(R1)-Math.log(R2));
      A = 1/T1-C*(Math.log(R1))*(Math.log(R1))*(Math.log(R1))-B*Math.log(R1);
      
      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: emergency stop

      Is it possible the emergency stop command is resetting the buzzer output signal as well?

      To test this, you could try to insert a delay before the emergency stop to see if the buzzer works (for a short time) and then stops, something like:

      M42 P5 S1 ; activate buzzer
      G4 S5 ; wait 5 seconds
      M400 ; wait for buffered commands to execute (maybe does nothing?)
      M112 ; e-stop
      
      posted in Duet Hardware and wiring
      Zhang Jianyuundefined
      Zhang Jianyu

    Latest posts made by Zhang Jianyu

    • RE: Duet wifi with 2x 80w heaters

      If you are talking about the SuperVolcano 80W heaters, I have run two of them without a problem, although I generally I only heat one of them at a time.

      posted in General Discussion
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Question about configure polar printer.

      In the M92 command, the Y parameter is the steps per degree of rotation of the turntable.

      When you give a G1 H1 or G1 H2 command (or G1 S1/G1 S2 for older firmware versions), the Y coordinate in that command must be specified in degrees.

      posted in Firmware installation
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Belt Printer support

      Would it be possible to do this by defining a matrix with M669?

      posted in Firmware wishlist
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: SD extension via CONN_SD design questions

      Also, here is the schematic i have made (pardon the sideways power ports):
      c32e1843-6e5a-4b23-946d-d8d8ba3da4a4-image.png

      posted in Third-party add-ons
      Zhang Jianyuundefined
      Zhang Jianyu
    • SD extension via CONN_SD design questions

      Hello all,

      I want to make a SD card extension to plug into CONN_SD on Duet 2 wifi/eth, basically just extending the SPI signals 150-200mm to an SD socket.

      I don't have much electronics design experience, so I have a couple basic questions if anybody knows:

      1. Would any passive components be recommended at the SD socket when extending in this way?

      2. Related to the Duet, would running a PanelDue via the 4-wire cable, and a separate SD extension (rather than using PanelDue SD slot) cause any trouble?

      Here is a picture of what I have in mind: Imagine a cable connecting this to CONN_SD. (no SD card holder model is in KiCad so it only shows the pads and connector).
      9c44abfa-5328-490d-bb28-b831fcebbe1e-image.png

      Any guidance is appreciated. Thanks!

      posted in Third-party add-ons
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: New heater tuning algorithm

      The new auto-tune is working well for me on Duet 2 board. Thanks for your work on this 🙂

      posted in Beta Firmware
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: 7.5 Amp fuse blown?

      It's possible, as USB would be supplying 5V power separately. Or U3 (5V buck converter) is damaged.

      You can check the fuse quite easily if you have a multimeter, simply by checking resistance or continuity across it (remove it from the holder first). If it's blown you will not get a reading. If it's good you will get 0 ohms or close to it.

      posted in Duet Hardware and wiring
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      SRS calc is this:

      C =((1/T1-1/T2)-(Math.log(R1)- Math.log(R2))*(1/T1-1/T3)/(Math.log(R1)-Math.log(R3)))/((Math.pow(Math.log(R1),3)-Math.pow(Math.log(R2),3)) - (Math.log(R1)-Math.log(R2))*(Math.pow(Math.log(R1),3)-Math.pow(Math.log(R3),3))/(Math.log(R1)-Math.log(R3)));
      B =((1/T1-1/T2)-C*(Math.pow(Math.log(R1),3)-Math.pow(Math.log(R2),3)))/(Math.log(R1)-Math.log(R2));
      A = 1/T1-C*(Math.log(R1))*(Math.log(R1))*(Math.log(R1))-B*Math.log(R1);
      
      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      For the reciprocal I am using dot '.' as a decimal separator. Since you use comma decimal separator ',' you'll need to put that in instead.

      So the corrected one for you will be 1/2,3399e-4

      Regarding the slight difference in output, it's likely just due to the precision of the calculations on the computer.

      The bit about the 1/B and β being equal is not of real practical use but I find it interesting 😛

      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu
    • RE: Tuning thermistor

      It takes some time to get a handle how everything fits together.

      IIRC, a Steinhart-Hart C coefficient of 0 will result in a B coefficient that is the exact reciprocal of the β value. So the choice of using the same parameter names is probably just to simplify the implementation internally.

      posted in Tuning and tweaking
      Zhang Jianyuundefined
      Zhang Jianyu