Electronic measurement of the speed of the projectile