ok so i am making a light for a fish tank and i need a to make a power supply that can deliver 12v and 5v at the same time.
this is what i was thinking

the 12v will end up powering the LEDs and the 5v will power the arduino and the RTC.
will this design work or do i need to rethink it.
now my other question is which transistor type do i use to control the LEDs. the LEDs draws about 1 amp.
i am not sure if i should use a P-channel or a N-channel mosfet and i will be using PWM to control the brightness
i hope i explained that well enough
