12V Buck conversion on Nano project

Hi All,

Arduino newbie here hoping to produce 5 units of the same circuit for an art installation. Before I jump in and order all the parts I was hoping to make sure that I wasn't making any bad mistakes.

Basically, I will have a single 12V (possibly 24V) power supply powering a 60 ft strip of YUNBO 100Pcs WS2811 RGB LED Module Lights DC 12V SMD 5050 Addressable. I am going to be creating some reactivity with a Adafruit MPRLS Ported Pressure Sensor to affect the LED programming. I am powering the Arduino through a 12-24V to 5V 3A DC-DC Step Down Power Supply Module (MP1584EN) and in turn supplying the Vin for the sensor through that.

My main questions are:

  • Do I need a resistor on the data pin going to the LEDs (i have seen that in a few posts)?

  • When grounding the 12V (maybe 24V) power from LEDs is it ok to do it on the same ground as the board (after the buck converter)?

  • If I plug into the USB while the power supply is connected, will it do any damage to my comp with the current setup?

Any help or insight would be greatly appreciated :slight_smile:

Don't you need to power your LED strip from 5V - not 12V? :thinking:

Don't take the power for the LED strip through the breadboard - connect straight to the converter.

1 Like

The particular strip I am using is 12v input.

Thanks! the breadboard is more for diagrammatic purposes, in the real thing I will be sure to port directly to the LEDs and then board after the buck converter.

Where did you see the WS2811 operates at 12V :scream: ?

Sorry it is these:
https://www.amazon.com/YUNBO-Addressable-Waterproofe-Storefront-Adhesive/dp/B08LB3KGP5/ref=asc_df_B08LB3KGP5/?tag=hyprod-20&linkCode=df0&hvadid=598233673620&hvpos=&hvnetw=g&hvrand=1225404665036222643&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9002251&hvtargid=pla-1232702988689&psc=1

They just use the same library so I always get it confused...

That’s a REALLY important observation.

Pretty diagrams convey almost zero circuit principles.
They’re cheap and easy to produce, but give nothing back.

This is why a properly considered circuit schematic diagrams and overall block diagrams have existed for over fifty years, and haven’t really changed in their objectives.

This isn’t being pedantic, you’ll appreciate it when you begin to assemble the project, debug and maintain functionality in five years time..

As you work toward completion, accommodating revisions that you discover, write out a ‘theory of operation’ that explains how the software and hardware are supposed to work together as a complete system.

If you’re confident, annotating ‘test points’ and expected values will help your son or daughter diagnose the system in ten years when it fails, or needs to be replaced.

Ok thank you for your advice, I will keep this in mind. I have updated my dumb, pretty sketch and am really just looking for feedback on the basic wiring. I can try and spend more time over the weekend on a proper schematic, but don't have time to learn a new format right now.

Please don't do that - it means that all the previous replies referring to the original diagram now make no sense!

Oh sorry, here it is. Any help on the actual contents/questions would be great. I will be sure to look into the diagrams you mentioned in the future.

As mentioned, don't make the large current for the strip flow through a PCB. Take thick ground & 12V wires direct from the psu to the strip.

You don't need the buck converter in this circuit. The sensor doesn't need much current, so even with 12V connected to Vin, the Nano will be ok.

1 Like

Yes, it's a good idea 220 ohms is good.

When grounding the 12V (maybe 24V) power from LEDs is it ok to do it on the same ground as the board (after the buck converter)?

Connect the LED strip + and - directly to the 12V supply

If I plug into the USB while the power supply is connected, will it do any damage to my comp with the current setup?

No

Use a 12V supply not a 24V
Your diagram is fine like it is.

1 Like

Thank you!

The reason I was considering the 24V was that I was going to daisy chain many of these LEDs together into a 60ft long strip. In this case, should I just use power drops instead of a higher Voltage psu?

Oh wow, I wasn't aware the Nano could handle 12V, thanks.

As @PaulRB you can connect 12V to Vin and forget the DC-DC converter.
So maybe use one 12V supply for the nano and the first two strips and another 12V supply for the next two etc.
However, all the grounds of all the strips must be connected.

2 Likes

Yes, it can, and in your circuit it will be fine. But many beginners incorrectly connect 12V to Vin and take current from the 5V pin or digital outputs for lots of LEDs or to power relays for example. That can be a problem because it causes the Nano's on-board 5V regulator to overheat and shut down or be damaged. But in your circuit, the Nano's regulator only needs to power the Nano itself and the sensor. Most sensors need only a very small current (but there are exceptions). The Nano does not need to supply any power to the led strip, only a digital data signal, which is practically zero current.

1 Like

5volt on V-in is actually not ok.
A Nano needs a minimum of about 6.5volt on that pin, to make a stable 5volt for itself.
If you have a stable/reliable 5volt source, then connect it directly to the 5volt pin.

But as others have said, a classic Nano v3 is ok with 12volt on V-in, as long as you don't draw any current from the Nano.
Leo..

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.