To control 12V 0.25A Electromagnet with Arduino Uno

Hi,

I am a new to arduino and electronics, I need some help with my project.

Heres what I want - An arduino uno board pin will control the output of a DC electromagnet(12V and 0.25A). This should be an "on/off" control.

PFA a diagram I copied from net. Can someone please help me correct it? About which Mosfets, diodes and resistences to use.

That diagram looks right to me appart from the power supply only being 1V, in your circuit it will be 12.
The diode can be any rectify diode 1N400x where x is any number 0 to 7,
The FET needs to be a logic level FET there are many of these. For example a 2N7000

Thanks a lot Mike. is the below corrected circuit good?

Yes fine. Having a closer look at the data sheet the exact type of FE from that family is the NDS7002A.
There are many other logic level FETs like IRL520N

2n7000 or nds7002 is not a good choice of mosfet for switching 0.25A from an arduino. The absolute max drain current is only 200ma for the 2n7000 and 280ma for the nds7002a. Ths datasheet only quotes Rds(on) for 75ma drain current at Vgs=4.5V which implies that the mosfet drain current may saturate well before 0.25A unless you apply a higer gate voltage. I would use a bjt such as BC337 for that application. Alternatively, if making a pcb and using smd components, a mosfet such as AO3400.

The absolute max drain current is only 200ma for the 2n7000

Yes that is right under the maximum values what fooled me was the words:-

They can be used in most applications requiring up to 400mA DC and can deliver pulsed currents up to 2A.

In the introduction.
I wonder where that figure came from. It might be a typo and they meant 400mW not mA.