Battery for Promini

Hello,

I am using Promini 3V, 8 Mhz to control a solenoid which requires 5V,1.2 Amps current.

Is it okay if I connect a battery 5V,1.2 amps to the RAW pin of the promini?

Thank you!

Is it okay if I connect a battery 5V,1.2 amps to the RAW pin of the promini?

Yes

Yes.

You will need a MOSFET transistor or motor controller for the solenoid.

Thank you!

Should the mosfet be connected like this:

Attached is the picture.

That won't work well, if at all. Use a logic level MOSFET instead, and add a flyback diode across the coil terminals.