there is probably a sensor on the transmission that is either gone bad or become loose.
got the same exact problem.
The gears in the speedometer are stripped. If the odometer is working then you have input.
TCM Malfunction, And/Or Speedometer Sensor Malfunction.
you can go to speedometer and out of speedometer
A speedometer in a 1999 Ford Contour may fail due to a faulty vehicle speed sensor (VSS), which provides the necessary data to the speedometer. Additionally, issues with the wiring or connections leading to the speedometer can cause it to malfunction. A blown fuse or a problem with the instrument cluster itself may also contribute to the failure. Regular maintenance and inspections can help identify these issues early on.
If the speedometer and the odometer are not working, I would suspect the VSS (vehicle speed sensor). If only the speedometer is not working I would suspect the instrument cluster has problems.
If the speedometer is not working but the odometer is, I would suspect the dash cluster is at fault. If both speedometer and odometer are not working I would suspect the speed sensor on the transmission is at fault.
May be you accidently disconnected a sensor wire doing the repairs. Maybe you have to reprogram the vehicle computer because the battery was disconnected. LOL
If the speedometer continues to work - probably a broken gear etc. in speedometer head and probably will have to be replaced. If speedometer does not work -- probably a broken speedometer cable
why would a speedometer stop working on a Mazda
Bad wheel speed sensor or cluster needs replaced
Probably a blown fuse. Check your manual to see if they share the same one.