Hi, i have a problem with my circuit, it works, but i don't know why.
I want to power an LED strip using arduino, tip122 transistor, 1k ohm resistor and 12 volts from 8 AA batteries.
Problem is that when i connect arduino ground to the ground on breadboard (to "-" side of batteries), Led strip does get a little bit brighter, when P2 is HIGH, but never turns off, only gets dimmer a bit, when p2 is LOW
when i connect arduino ground to the drain/emitter of the tip122 it works (turns off completely, when p2 is LOW), but i don't know why, and i think that this isn't the way it should work.
I have attached two fabulous fritzing drawings, hope it will help you help me. ![]()
And sorry if im being stupid, i am new to the arduino and don't know the flamability of this comunity.
(please, don't be like xda or stackoverflow people, please
)
And another apologies for any english mistakes i've made.

