Color music on arduino and led-tape or load control using ULN2003

A rather big disadvantage of arduino boards and the like is that, that all pins are connected directly to the microcontroller and cannot drive a large load. If you want to connect the same led strip and make the same more powerful color music, then you can't do without amplifiers. solder a bunch of transistors, to connect several channels, we are too lazy as always, so I suggest using the ULN2003 chip.

This microcircuit is mainly used as a stepper motor driver and is, in fact, Darlington transistor assembly of seven transistor pairs. That is, through one such microcircuit, seven channels can be easily controlled. Supply voltage up to 50 volt will allow you to control a conventional LED strip, what are we going to do now...

Here is the pinout and the internal structure of the microcircuit:

Next we will connect the ULN2003 with LED strip to our arduino. I will not reinvent the wheel now and will take the working scheme as a basis, described in one of the previous articles on color music on arduino.

In my example, I used a led strip with a common anode on 12 volt and arduino nano. When using a common anode circuit, the ULN2003 chip and arduino nano fit perfectly together using a minimum amount of wires, since grd is immediately followed by digital pins 2, 3…, 8, which corresponds to the legs of ULN2003 and it remains for us to bring only the anode with voltage to the microcircuit 12 volt. By the way, it is better to power the entire circuit with an adapter on 12 volt. Nothing will happen to the arduino., and the fewer nodes in our scheme, the less problems it may have with it .... I'll post the wiring diagram later.. Although, think, and without it everything is clear))