Push data from lm393 speed sensor to esp8266

I am working on my project in detecting velocity from a dc motor but it doesn't push the data from speed sensor to esp8266 wifi module. how to do it?

Hi,
Can you share any code / Circuit you tried till now along with the errors if you have any.
Those may help to understand others what is the issue.