I'm wanting to control a 6V Solenoid valve from an Arduino using only a single power supply. To do this I was planning to use an external 9V power supply.
There are a few issues I am not quite sure how to resolve
1) Providing power to both components via a single power supply. Whilst the Arduino can accept up to 11V input it is not able to power "high" voltage external components. What would be the recommended route for this scenario? I have taken a look at the Motor Shield v2 however it does not appear suitable for this scenario.
2) Confirmation of Solenoid power requirements, the specification for the Solenoid valve only mentions a voltage and power consumption.
Voltage: 6VDC (continuous), 6-12VDC subject to duty cycle
Power Consumption: 1.6 Watts - at 6VDC
Using the above specification I've calculated that a current of 267mA should be supplied to the Solenoid, using a 23 Ohm resistor (or whichever is nearest commercially available) would give the desired outputs.
3) Apart from a MOSFET used to control the on/off signal to the solenoid and a flyback Diode to reduce the change of voltage spikes reaching the Arduino. Are there any other components I would be missing?