I'm currently working on a sports project where i need to collect steps (and then calculate the running distance) data in real time.
I found out the best way to do this, is to program a pedometer on my ESP - NodeMCU, since GPS will not display exactly what i need. So, searching, I found these two modules, the ADXL345 and the MPU6050 that claim to be the best alternatives. The price of both of them is pretty similar at my local store, but i need to know wich to use in this project, connecting it to the ESP NodeMCU.