I have connected digital pin 2 of arduino to the circuit as shown:
The problem is that the LED is not turning on normally its only turning on when I touch anything on collector side of circuit. What seems to be the reason? Seems like grounding problem as its turning off when I don't touch my legs to ground.
Thank you in advance.