how is this for a start?

do you want it to be momentary or on/off? your fan now only works if you hold down the button.(not very useful :D)

i have done so IR stuffo n my blog dduino.blogspot.com