power supply for arduino

in a nutshell its more complicated than that