Hi,
Can someone help me construct a circuit to dim a filiment lamp (9Vdc) using a transistor?
The bulb draws 38mA when connected to 9Vdc, so its a 0.34W bulb.
I have attached my circuit. The lamp can be shorted out by a push switch (this is a door bell push switch with intergrated lamp), so R22 (50 ohms) limits the current in the circuit to 160mA during a button press.
How do i calculate the value for the variable resistor? Is this curcuit correct?
When the button is pressed, Q6 should turn off, hence the micro detects the button press?