Squats Counter Using TensorFlow Lite and Tiny Motion Trainer
by manasmw333 in Circuits > Arduino
1335 Views, 9 Favorites, 0 Comments
Squats Counter Using TensorFlow Lite and Tiny Motion Trainer
This 'Arduino Nano 33 BLE Sense' based Squats counter can count the number of Squats performed by an individual using the Accelerometer readings and TinyML based Machine learning model.
Supplies
Hardware:
- Arduino Nano 33 BLE Sense
- USB to Micro USB Type B Cable
Software:
- Arduino IDE
- Tensorflow Lite
Demonstration
The Squats counter can detect squats by measuring the accelerometer readings and prints them on the Serial monitor.
The device is to be attached to the individual's thigh and can be powered using a power bank or a battery.
Things Used in This Project:
I am using this complementary Google IO kit from Sparkfun which includes the Arduino Nano 33 BLE Sense which is capable of running TinyML projects with ease.
Getting Things Ready
1. Upload the tf4micro-motion-kit code to the Arduino Nano 33 BLE Sense
2. After uploading the code, open the (Tiny Motion Trainer Experiment) by Google and pair the Bluetooth device with the laptop.
Select the Appropriate Settings for Training the Model
Capture the Data Required to Train Your Model
Train Your Model
Test Your Model
Download the Arduino Code and Upload It to the Arduino BLE Sense Board
Test the Model by Using the Serial Monitor
Final Touch
Update the code as per your requirements or use mine: BLE_Sense_Arduino_Code
Place the device on your thigh using a Hook and Loop fastener (Velcro tape)