Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    PWm control using fans

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    134
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • andornotundefined
      andornot
      last edited by

      Can i use say Fan 0 PWM to control an external phase angle controller using a thermocouple for temperature? The controller draws less then the 1.5A as stated in the documentation.

      If so, what code do i require, existing code below:

      ; thermocouples
      M308 S1 P"spi.cs1" Y"thermocouple-max31856"
      M308 S2 P"spi.cs2" Y"thermocouple-max31856"
      M305 P0 X153 ; set thermocouple to control bed temperature

      ; chamber parameters
      M141 H3 ; heater 3 is the chamber heater
      M305 P3 X152 ; set thermocouple to chamber temperature

      ; Heaters
      ;M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S180 ; Set temperature limit for heater 0 to 150C
      M305 P1 X201 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S450 ; Set temperature limit for heater 1 to 280C

      ; 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

      SpatialOne custom delta printer, upgrading to print PEEK, PEKK & Ultem

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Ditch the M305 commands, they are not used in RRF3. Instead, you should first create sensors using M308, then use M950 to create the heaters and associate them with sensors.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA