I want to make a simple speedometer using an ESP32. Since it’s just for walking, the speeds won’t be very high (0 to 6 km/h max). I was thinking about using the MPU6050 accelerometer and gyroscope module, but I’m not sure how well it can measure such low speeds. It doesn’t need to be super accurate, as this is mostly just a fun little project.
As far as I know, it’s possible to estimate speed with the MPU6050 by converting the acceleration data, but if you have any better ideas or suggestions, I’d really appreciate them!
I was thinking of using the MPU6050 to measure the actual walking speed. I read somewhere that even though it’s an accelerometer, you can still get speed from it. I’ve heard that GPS-based solutions aren’t that great for such low speeds, basically, what I want is to see how fast I’m walking in km/h.
I believe they are pretty good if you walk on flat ground. You can test it with your smartphone (you could try to read the phone accelerometer data as well).
There is horizontal deceleration/acceleration on steps as well, speed is slowest when both feet are on ground. But you would need to do lot of calibration to get speed out of that.
Then, I was thinking that if I get a GPS module for the ESP32, I wouldn’t need a display, but I would still need to read the data. Something like this: if I’m walking and exceed a certain speed, a light would turn on to indicate I’m going too fast.
The ESP32 could continuously store the speed data, and since I wouldn’t need the old data, I assume I could just delete it. Would I need some kind of SSD for that, or could the ESP32 handle it on its own?
Also, which GPS module would you recommend for this? I’m a beginner in this area.