In my first Arduino project, I have so far fried a few Nano (clones) while trying to drive a strip of ws2812b leds. Driving a few (7-20) through usb seem to work fine but when I try to run 144 by battery power the Nano overheats.
Before trying another Nano, I would like to ask if I'm making any obvious mistakes. Please see my images.
There are people out there claiming the Earth is flat.
Nano is a 5V device. It contains a built-in regulator, connected to the Vin pin, so that it can also be powered with 7~12V. That regulator is inefficient and easy to overload and burn out, as you have found. But if a 5V supply is available, the Nano should be powered with that, through the 5V pin
@abbesnabb it is equally true that the led strip is being powered from two sources: one of your buck converters and the 5V pin of the Nano. No two 5V sources are exactly 5V or exactly equal to each other. There is no way to know which of the two sources will provide what portion of the current that the strip demands, so more could be drawn from the Nano 5V pin than it can withstand. This could be why your Nano burned out. Removing that wire @TomGeorge indicates could have prevented the burn-out.
Feed the leds with 5 v only (no connection to Arduino power). The leds does not need to be connected to power through the Arduino as I understand it now? They can be fed separately as long as the data comes from the Arduino.
Get a proper original Arduino this time.
Perhaps I could try to limit the power consumption as pointed out I am potentially underpowered if I run all the leds at maximum white.
Is there a way to physically limit the maximum output (Ampere) or should I do that in the software, I could limit the maximum dim level.
I think I spotted another problem. You are powering the Bluetooth module from the Nano's 3V3 pin. That pin can only supply a very low current, maybe not enough for the Bluetooth module. One of the differences between Nano and Uno is that Nano does not have a dedicated 3.3V regulator on board. The 3.3V comes from the USB-to-Serial chip and can only supply a little current.
Perhaps, yes, it might fry the USB-serial chip on the Nano. Or perhaps that chip will shut down to protect itself and the Bluetooth module will stop working, I'm not sure.
Some hc-06 modules have a built-in 3.3V regulator and so can be run from the same 5V supply as the other components in your circuit. Does your hc-06 module have a regulator?
So it's better to power the Arduino from 5V pin than Vin pin?
I checked and the converter can supply up to 5A and my battery reads 3.2 A so I guess that's too little. I need to limit it.
I use the FastLED library and I have used the limiting function, set to "FastLED.setMaxPowerInVoltsAndMilliamps(5, 3200);".
My HC-06 says 3.6-6V so that would probably run fine on 5V too which means I could use it on a Nano. Any other disadvantages of using a Nano rather than a Uno for this?
Absolutely not! Avoid UNOs like the plague. Very inconvenient for actual projects.
Indeed.
It is better never to use "Vin" for any purpose in a real project. If playing with a Nano on its own, just perhaps but generally you usually experiment with a bare Nano plugged into a PC which supplies its power through USB so even then that does not make sense.
Whatever do you mean? Given that the switchmode converter is efficient, it will require less than half the current input at 12 V, than is drawn from the 5 V output.
No disadvantages whatsoever. None. Just don't even think of using a UNO.