Encoder motor control speed and position remotely

I want to create a fan where a pointer stops at a number from 1 to 7. There will be a switch to turn of the fan. The fan will gradually reduce its rpm and finally stops at any random point.

But if I press the particular number through a Bluetooth device, the fan stops at the input number through bluetooth.

Please help me in achieving this.

Topic moved !! Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

I suggest that you post your code (don't forget to use code tags as described in How to get the best out of this forum).

A drawing of your wiring might also be beneficial.