for this project you need a speed sensor (like speedometer,tachometer,optical sensor,IR Sensor..etc) fitted with vehicle and a wireless communication system in between vehicle and mobile phone and a control circuit to give a command to mobile phone to change according to speed of the vehicle