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

Powering Arduino Nano and LEDs from 5V rail

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
12
608
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
    peter247 @taconite
    last edited by peter247 21 Oct 2020, 14:22

    @taconite
    I would say at a guess , NO , the best way is use a buck converter off the main psu.

    Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

    1 Reply Last reply Reply Quote 0
    • undefined
      Veti
      last edited by 21 Oct 2020, 14:24

      see this on how to do the wiring

      https://www.blvprojects.com/blv-mgn-cube-3d-printer?pgid=k8hkwn62-f7fe97b7-2106-47ec-9a07-47b5b8c9a191

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators @taconite
        last edited by dc42 21 Oct 2020, 14:30

        @taconite said in Powering Arduino Nano and LEDs from 5V rail:

        Hey guys,

        I want to power a Arduino Nano from the 5V Rail of a Duet 2 Wifi (v1.4) and controll LEDs with it (I don't have heater or fan outputs to spare).

        I will use one remaining fan output to control the state of the LEDs

        Is there enought power to drive the Arduino Nano and approx 30 LEDs of a (300 LED/5m WS2812b LED strip)?

        Best Regards
        Adrian

        Arduino Nano: yes (although Arduino Pro Micro is a better one to use if it will take inputs directly from the Duet)
        LED strip: 30 LEDs * up to 60mA per LED = up to 1.8A. That's more than we recommend drawing from the Duet's 5V supply; so no.

        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 1
        • undefined
          taconite
          last edited by 21 Oct 2020, 14:32

          Thank you for your replies!

          Why using a buck converter when I could just bi-pass the buck on the Nano. My concern is more about the current draw from the Duet.

          As my fans are running on 24V I will use a optocoupler to convert it to 5V

          Custom ANET A8
          Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

          All I do here is under this license: CC BY-NC-SA

          1 Reply Last reply Reply Quote 0
          • undefined
            taconite
            last edited by 21 Oct 2020, 14:33

            Thank you @dc42

            What is the recommended max current draw from the 5V supply?

            Custom ANET A8
            Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

            All I do here is under this license: CC BY-NC-SA

            undefined 1 Reply Last reply 21 Oct 2020, 14:38 Reply Quote 0
            • undefined
              dc42 administrators @taconite
              last edited by 21 Oct 2020, 14:38

              @taconite said in Powering Arduino Nano and LEDs from 5V rail:

              Thank you @dc42

              What is the recommended max current draw from the 5V supply?

              2A total, less 200mA for the Duet and any current drawn by LCDs, endstops and Z probes.

              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
                taconite
                last edited by 21 Oct 2020, 17:24

                So I guess I will do it like that:

                LED_Controller.jpg

                Custom ANET A8
                Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                All I do here is under this license: CC BY-NC-SA

                undefined 1 Reply Last reply 21 Oct 2020, 17:33 Reply Quote 0
                • undefined
                  peter247 @taconite
                  last edited by 21 Oct 2020, 17:33

                  @taconite

                  Why the optocoupler ?
                  I can't see why you need one , if it is to switch the buck converter on you can find some buck converter which have a enabled pin.

                  Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    taconite
                    last edited by 21 Oct 2020, 17:50

                    @peter247 With the PWM output of the Fan I want to control the color of the LED. e.G. 10% dutycylce = green. My Fan Voltage is 24V but the Arduino can only take 5V

                    Custom ANET A8
                    Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                    All I do here is under this license: CC BY-NC-SA

                    undefined 1 Reply Last reply 21 Oct 2020, 18:08 Reply Quote 0
                    • undefined
                      peter247 @taconite
                      last edited by peter247 21 Oct 2020, 18:08

                      @taconite

                      So if I have got this right you are going to power your arduino and looks like spi controlled leds from a fan with pwm ?.

                      your diagram makes not sense to me !!!!

                      Are you use spi controlled leds like dotstar ?

                      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        taconite
                        last edited by taconite 24 Oct 2020, 15:34

                        So I kind of made it work with this scematic

                        c56d7618-5dbd-4c4a-a203-f9ebe4b6d166-grafik.png

                        Simulation show good results:

                        404ae155-54fe-4d96-a790-ea30322391d2-grafik.png

                        The Problem with that is, even if i just put on the Fan_PWM at 10% (S0.1) I get already 2.5V. Does anyone has an explanation of that? Because of that I am limited to less colors ("just 6").

                        This is the PCB I put together with an optocoupler, an DC/DC converter and an Arduino Nano.

                        20201024_171337asdf.jpg

                        Custom ANET A8
                        Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                        All I do here is under this license: CC BY-NC-SA

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