Electric motor Blender constrains-driver

Hi, i want to make an electric motor animation, one switch to start the motor.
somehow the switch should be connected to the motor with constrains…drivers. anyone know if it’s possible to do something like this?
Thanks

Are you sure you need drivers? Why not animate it with keyframes? Just turn the switch and one frame later the motor animation starts. No driver needed. And yes it can be done with driver.