Does anyone know how to connect Solenoids to a Arduino?

Hi All,

I'm working on a project and I was wondering if any of you could help me hook up a solenoid to an arduino so that I can control it using a button?

The solenoid I'm working with is 24v dc with 6 watts

Thanks 
Aman 

Like L. says, why do you need to use an Arduino ;-)

BUT, if you do, use an Instructable like this one
amantux (author)  steveastrouk5 years ago
Thanks Stevastrouk,

That was a great and informative write up :)

Best Wishes
Amantux
Make sure you mark it as the best answer then !

Steve
lemonie5 years ago
Why not just use a button?

L