I am currently trying to build a smart water bottle that can track water intake. I use ESP32 for the board, a micro SD to save the drink log, a load sensor to track the water intake and an accelerometer to track the drink gesture. Only if a certain (drink) gesture detected, the code will recognize it as drinking water activity and save the record to the database.
Is there anyone who knows how to code the drink gesture recognition in Arduino? I also welcome any advice on how to code this.
Thank you very much.
Thanks for sharing you project with us.
To be honest, I’ve never experimented with the accelerometer with the Arduino. So, I’m not familiar with that subject.
I found these tutorials that might be helpful for your project: