The factors responsible for the speed and direction of wind are pressure gradient force, Coriolis force and friction, rotation of the earth, latitude and altitude. These factors working together cause the wind to blow at different speeds and different directions.
The major instruments that are used to measure wind speed and directions are anemometers and wind vanes, respectively.