Introduction: Calorimeter and Activity Tracker
Hello Everyone,My name is Harji Nagi.I am currently second year student studying electronics and communication engineering in India.
Today I made a smart "Calorimeter and Activity Tracker" via Arduino Nano ,HC-05 Bluetooth Module and MPU-6050 device which is a perfect combination of 3-axis accelerometer and 3-axis gyroscope.This device can calculates your calories by counting number of steps and plots X,Y,Z graph on your monitoring device(Mobile).
he MPU-6050 is the motion tracking device designed for the low power,low cost and high performance. .The MPU-6050 send its data via Hc-05 Bluetooth module to your connected mobile devices.For precision tracking of both fast and slow motions and a user-programmable accelerometer full-scale range of ±2g, ±4g, ±8g, and ±16g.
Step 1: Component List
The Component list are:
2)HC-05 Bluetooth Module
4)Voltage Regulator 3.3V
5)Ceramic Capacitor 100nf
6)Electrolytic Decoupling Capacitor 10uf/25V
7)Lithium Polymer Battery 7.4V
8)Some Male to Male Jumper Wires
Step 2: Connection Diagram
Watch the Video =>Click Here
Follow the instruction for connections in the vedio.
Step 3: Coding
You must include these libraries "Arduino.h","BTHC05.h","MPU6050.h","Wire.h" ,"I2Cdev.h" into your Arduino's libraries.For complete code Click Here.and download the zip file which is provided by the github.And add it into your arduino sketchbook.
Step 4: Download App
Retro Band App download Google play store link Click Here
Before you upload the code you must remove the Rx and Tx pin of Hc-05 Bluetooth module because it can damage your bluetooth module.
After uploading the code reconnect Hc-05 Tx and Rx pin.
Now connect the Android App with Hc-05.
And when their is change in movement of device it plots the graph and calculates your calories by movement of number of step or movement of device.