This circuit controls the brightness of a 12 V powered car courtesy light. The transistor can also be the TIP42 in a small heat radiator. VR1 makes the control and VR2 sets it to the maximum point. The switch is the one connected to the vehicle door. Equivalent operational amplifiers can be used. The circuit also works at lower voltages.
