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

    CPAP/Centrifugal Blower

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    10
    16
    2.9k
    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.
    • dhusoloundefined
      dhusolo
      last edited by dhusolo

      I'm trying to setup a WS7040 centrifugal blower and 24v driver on my Duet3 + RPI4.

      Before I installed it I had it connected with a 24v power supply and used my bench top power supply with + connected to VSR and GND to GND. The fan would turn on when I would apply .6v or more.

      Now connected to the duet by the attached wiring and configured as

      M950 F0 C"0.out9" Q2000
      M106 P0 C"CPAP Fan1" S0 B0.1 H-1
      

      I've also tried a number of values between Q500 and Q65535.

      The issue is the turbine won't turn on until the fan slider is at 15%. While troubleshooting I used a volt meter and probed the VSR pin and the 24v - on the driver board with the fan set to 5% and the turbine started to spin. Do I need to invert 0.out9 or what am I missing?

      Or do I need to purchase a frequency to voltage converter like this

      CPAP Blower Wiring.png

      1 Reply Last reply Reply Quote 0
      • Heartleander81undefined
        Heartleander81
        last edited by

        I have the same too.
        I haven't inverted anything either and only use 15% or more in the slicer.

        But if there is a possibility that it starts under 15% I would be interested in it.

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

          @heartleander81 @dhusolo fans generally have a minimum rpm (and hence PWM) that they can turn at.

          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
          • jackantubisundefined
            jackantubis
            last edited by

            I have the same type of CPAP, I can't go under 15% too, the board seems to have a minimum voltage startup. @dhusolo

            Maybe you can configure in RRF 0% for the slicer matching 15% for the FAN to keep easier slicer setting to avoid false 0% with 10% set in the slicer. @dc42 ?

            If someone found the CPAP board schematics I could investigate deeply (I'm electronic engineer)

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

              @jackantubis if you set the L parameter in the M106 command to 0.15 then I think a command for 10% PWM should be translated to 15% PWM.

              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

              dhusoloundefined 1 Reply Last reply Reply Quote 1
              • dhusoloundefined
                dhusolo @dc42
                last edited by

                @dc42 I was hoping to figure out a way to not have to set min/max speed. Would it be possible to use an open extruder heater port?

                1 Reply Last reply Reply Quote -1
                • gringoundefined
                  gringo
                  last edited by

                  I have connected to 5V PWM a servo for the Klicky Probe, is there any way to connect the CPAP differently and configure it as a fan?

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

                    @gringo most servos accept a 3.3V control signal, so you can probably connect that servo to a PWM-capable IO port instead.

                    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

                    gringoundefined 1 Reply Last reply Reply Quote 0
                    • gringoundefined
                      gringo @dc42
                      last edited by

                      @dc42

                      Thank you 😊. I will try it.

                      1 Reply Last reply Reply Quote 0
                      • Reineundefined
                        Reine
                        last edited by

                        Has anyone figured out a way to read the fan rpm?

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

                          @Reine I've looked at the datasheet for the controller board and it doesn't appear to provide a tacho output.

                          I guess you could use an opto isolator with a parallel diode and series resistor, connected across one of the motor phases, and connect the opto isolator output to an input on the Duet.

                          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
                          • samlogan87undefined
                            samlogan87
                            last edited by

                            Simone has already done a write up on how to set them up.

                            https://www.modernmakes.ca/3d-printing/cpap-fan-guide

                            There is a speed output pin which is pin PG.

                            f62e503f-de72-43a5-bfc8-81ef8b30e812-image.png

                            Custom Core-XY

                            1 Reply Last reply Reply Quote 0
                            • apakundefined
                              apak
                              last edited by

                              try to set the minimo speed with L parameter of M106 and a blip to start at full

                              M106 P0 C"CPAP Fan1" S0 L.15 B.5 X1 H-1
                              

                              You could also limite max speed just in case it blows too much with the X param

                              Exerqtorundefined Reineundefined 2 Replies Last reply Reply Quote 0
                              • Exerqtorundefined
                                Exerqtor @apak
                                last edited by

                                Did you guys end up getting the speed signal to work or did you abandon it?

                                1 Reply Last reply Reply Quote 0
                                • Reineundefined
                                  Reine @apak
                                  last edited by

                                  @apak I have it setup like this, without X last few % didn't do anything.

                                  M106 P0 C"CPAP Fan" S0 B0.1 H-1 L33 X214
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • kazolarundefined
                                    kazolar
                                    last edited by

                                    I found the single 5V pwm output limiting, plus to get the most precise control, an analog 5v fed to the CPAP blower driver board is most accurate. Tried a few ways to do that and settled on this board https://www.amazon.com/dp/B079BH3SHX?psc=1&ref=ppx_yo2ov_dt_b_product_details -- it's powered by 24v, will take the pwm output of a regular fan output and create a clean 0-5v analog output. If you run it at 100-200hz you can get the low end to be around .5v, and that's as slow as the CPAP blower can go. I can go the full spectrum and have perfect output control. Not sure of another source for these boards, but I will use them for duet and for klipper configs since they're simple and the best part is the fan control is super accurate.

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