Hello,
On your particular vehicle the Anti-Lock Brake Module reads the signal from the wheel speed sensor and sends it out over the communications network to the other modules. In this particular case, there's two different modules that run the speedometer and that turn the check engine lamp on. The fact that the check engine lamp went out when you replaced the sensor definitely suggests that was the original issue.
In some cases, a module needs to be "reset" when issues like this occur. I would suggest performing what's known as a "capacitive discharge". It sounds complicated but it's really not. All you need to do is remove both battery terminals and touch them together for about 20 seconds. After this, reconnect them and see if the speedometer begins working.
SPONSORED LINKS
Sunday, September 8th, 2019 AT 9:07 PM