Gate and pull-down resistor values for MOSFET and Arduino Nano

The IRF540N is not logic-level, so no use to you.

Also you have commoned the grounds of the two circuits - the FET source
must be attached to Arduino ground or you don't have a circuit.