Buck Converter design with NMos

I said a Cubesat but actually its just a prototype for my university, thats why Im using a power supply instead a solar panel. Just to simplify things.

I just wanted to know how to build a Buck converter with a NMOS or a PMOS. Both Mosfets are good for me. I just thought that Logic Level NMOS would be easy to work with Arduino PWM.