Yes, ~600mA max is typical for 12 LEDs.
A limit can be set in the sketch if needed.
Wise to add a small ~330ohm resistor between Arduino pin and LED data input.
Upload a final diagram.
Leo..
Yes, ~600mA max is typical for 12 LEDs.
A limit can be set in the sketch if needed.
Wise to add a small ~330ohm resistor between Arduino pin and LED data input.
Upload a final diagram.
Leo..
Wawa:
Yes, ~600mA max is typical for 12 LEDs.
A limit can be set in the sketch if needed.Wise to add a small ~330ohm resistor between Arduino pin and LED data input.
Upload a final diagram.
Leo..
I wasn't able to get back to this yesterday, but am today.
Working on the final diagram — question though — if I power the Ultrasonic sensor and the LED from the arduino 5V Pin knowing I'll have enough current... do I still need to add capacitors for those two peripherals?

creatify:
...if I power the Ultrasonic sensor and the LED from the arduino 5V Pin knowing I'll have enough current... do I still need to add capacitors for those two peripherals?
Depends on the distance between Arduino and devices.
If <30cm, then don't bother. If longer, add.
Remove ground wire from supply cable to Arduino board.
The DC connector already does that.
Connect HC-SR04 and LED grounds to Arduino board ground, not to the supply cable.
Leo..
Wawa:
Depends on the distance between Arduino and devices.
If <30cm, then don't bother. If longer, add.
That is very helpful advice, thank you, Wawa.
Remove ground wire from supply cable to Arduino board. The DC connector already does that.
Got it — I'll only need to use that ground wire if I'm powering the peripherals by the external power, and powering the arduino with USB.
Connect HC-SR04 and LED grounds to Arduino board ground, not to the supply cable.
Got it!
I'm hoping I can resurrect this thread now that I've made more progress. The circuit works as my last diagram indicates.
However, I'm getting a ton of twitching on the servos. Some thoughts:
It works, the circuit really works! Thank you, Wawa, for all the direction.
I did have some issues with my Adafruit NeoPixel library and the Servo library causing a bunch of servo-twitching, but resolved/mitigated that by using another servo library.
Hi,
Good to hear you have it working smoothly.
Can you post your final code and let us know what library, link to where you got it, you finally used.
This will finalize this thread perfectly.
Thanks.. Tom.. ![]()