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

connecting a BLDC controller to duet2

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
21
1.3k
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.
  • undefined
    o_lampe @tekstyle
    last edited by 8 May 2021, 08:52

    @tekstyle
    I'd be careful with the brake. We don't know if there are flyback diodes on the controller. If not, braking the motor can feed voltage spikes back into the power supply. (and Vin of the Duet)

    undefined 1 Reply Last reply 8 May 2021, 09:34 Reply Quote 0
    • undefined
      tekstyle @o_lampe
      last edited by tekstyle 5 Aug 2021, 09:55 8 May 2021, 09:34

      @o_lampe

      i don't plan on using the brake function but that is a very good point. thank you for mentioning that.

      I did an initial test and the fan port does turn it on. however, it turns on the blower even when the fan is set to 0 on DWC. i changed the frequency to 0 from 500. currently my config.g is M950 F0 c"fan0" Q0. it still wants to turn on at full power. is this where the 4.7K ohm resistor comes in?

      I checked the fan pin with a DMM. when fan is set to 0% in DWC, voltage is around .6V. When set to anything but 0%, i see it pulse from .6 to 4.5V .

      I am not sure why it is doing this when it tested fine on the breadboard. on the breadboard, a supply of 2V would spin slower than a supply of 3.3V.

      undefined 1 Reply Last reply 9 May 2021, 06:17 Reply Quote 0
      • undefined
        tekstyle @dc42
        last edited by 8 May 2021, 22:06

        @dc42

        on second thought. wondering if it is possible to free up a heater channel on the duet2 for PWM? i dont see the pins but just want to be sure? it would make wiring a little cleaner.

        undefined 1 Reply Last reply 9 May 2021, 07:31 Reply Quote 0
        • undefined
          o_lampe @tekstyle
          last edited by 9 May 2021, 06:17

          @tekstyle said in connecting a BLDC controller to duet2:

          i changed the frequency to 0 from 500

          Don't confuse the frequency of the PWM output with the duty cycle. Changing the frequency does not change the duty cycle.
          To disable the fan output, you can use M106 P0 S0

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators @tekstyle
            last edited by 9 May 2021, 07:31

            @tekstyle why don't you follow the advice I gave in my first reply in this thread?

            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

            undefined 1 Reply Last reply 10 May 2021, 20:08 Reply Quote 0
            • undefined
              tekstyle @dc42
              last edited by tekstyle 5 Oct 2021, 20:08 10 May 2021, 20:08

              @dc42

              i just did what you recommended. works great. i didn't earlier because i needed a heater port but i just remembered i configured a fan port as a heater output to an external SSR in the past which works fine so now I just do that with a second fan port. thanks David.

              undefined 1 Reply Last reply 10 May 2021, 21:29 Reply Quote 0
              • undefined
                dc42 administrators @tekstyle
                last edited by 10 May 2021, 21:29

                @tekstyle, were you using all 5 heater outputs on the DueX then?

                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
                • undefined
                  Cassiopeia
                  last edited by 2 Jun 2021, 17:17

                  HI all. so i have finished my first CoreXY printer with an duet3 6hc controller and id like to install a big centrifugal fan/blower as part cooling fan. Its a brushless 7040 fan (https://www.aliexpress.com/item/10000048326249.html?spm=a2g0o.cart.0.0.45413c00nJsmPg&mp=1) which needs to be connect with an extra driver.

                  So I have 2 questions
                  (I started with an Ender 3 V2 a year ago and well I have constantly been learning 🙂 )

                  1. Do i need any extra precautions connecting the driver and blower to the duet3 board? (its rated max. 3A /peak 6A which should be covered by out_1-out_3 right? (Please screenshots for specs)

                  2. is the wiring correct? (Please screenshots for specs)
                    a) 24v from either OUT_1,OUT_2 or OUT_3
                    b) driver control from 5v PWM (out9)
                    driver --> Duet3 (5V PWM(out9))
                    +5V --> 5V_EXT
                    VSR --> out9
                    GND --> GND

                  What do i need to add to the config.g anything special or just like every other fan?

                  Your help is appreciated. Thanks

                  Screenshot 2021-06-02 at 18.56.52.png Screenshot 2021-06-02 at 18.57.01.png Screenshot 2021-06-02 at 18.57.13.png

                  undefined 1 Reply Last reply 2 Jun 2021, 19:08 Reply Quote 0
                  • undefined
                    dc42 administrators @Cassiopeia
                    last edited by 2 Jun 2021, 19:08

                    @cassiopeia that looks OK, assuming that the VSR input accepts a PWM signal.

                    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

                    undefined 1 Reply Last reply 2 Jun 2021, 19:25 Reply Quote 0
                    • undefined
                      Cassiopeia @dc42
                      last edited by Cassiopeia 6 Feb 2021, 19:30 2 Jun 2021, 19:25

                      @dc42
                      thanks for your quick response. upon further research the VSR pin takes 0-5V or PWM for the speed input of the fan. so i guess this will work with out9?!
                      Screenshot 2021-06-02 at 21.23.50.png

                      undefined 1 Reply Last reply 1 Apr 2022, 02:36 Reply Quote 1
                      • undefined
                        akuma211 @Cassiopeia
                        last edited by akuma211 4 Jan 2022, 03:47 1 Apr 2022, 02:36

                        @cassiopeia im looking at getting a cpap+24v controller and connecting it to my duet2wifi...
                        will i need a digital pot to take over for the analog pot that comes with the cpap kit, or can the duet2wifi control fan controller interface with the cpap controller?
                        so basically, the cpap controller uses a variable pot with wiring: +5V, VSR, and Gnd...is vsr the same as pwm?

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