12V LED Dimmer

The idea is to control the brightness of the LED, turn on and off and later add PIR sensor to fade on the LEDS on i get in the room.