Wireless Motion Tracking of Rolling Ball







A Brief Description

Required Equipments

How it works?

Block Diagram

Algorithm

Detailed Pin Diagram

Problems Faced

Group Members Information

Course Teacher

Project Video






A Brief Description


In this Project we have designed an embedded system which is used for tracking and positioning of a rolling ball by using an accelerometer, a gyroscope and a bluetooth module

When the ball is rolled by user then data is sent from the system to to computer and position is drawn in the window of copmputer.






Required Equipments







How it works?


In this project firstly we used a library that give the world acceleration from given data of MPU 6050 sensor.Then we send the world acceleration to the bluetooth connected computer via our bluetooth module. Then we run a processing code to read the bluetooth port data in the computer and calculate position form the world acceleration. From that position we draw a cicle. We put all our circuit in a ball. So when we move the ball the sensor read the data the microcontroller calculate the world acceleation and send via bluetooth so the position of cicle change based on the calculated position value.






Block Diagram




                                                                       pin diagram

                                                                                                                                               fig.1 Block Diagram






Algorithm




       1.Start
              2.Run a processing code to recieve bluetooth data and draw circle
              3.Read Sensor data
              3.Arduino calculate the world acceleration using library
              5.Send the data using bluetooth module
              6.Runing processing code recieve the data and calculate position
              7.Draw a circle at calculated position
       8.End






Detailed Pin Diagram




                                                                       pin diagram

                                                                                                                             fig: Pin Diagram










Problems Faced


  1. The accelerometer and gyroscope provides data accurately but with a high frequency of noise in the data

  2. Hardware filtering was very tough so we had to use software calibration to cancel out the noise.

  3. The data are being sent to PC from Arduino code ,which fails to send data sometimes because the Bluetooth gets disconnected occasionally. In the meantime the PC calculates an erroneous position of the ball. This scenario could be fixed to a great extent if we could run the calculation in the Arduino code and then send to the pc simulation. Thereby the ball could backtrack to the right position.

  4. Actual positioning of an object (left alone a rolling ball) is not possible using only accelerometer & gyroscope data. But simulating relative positioning is possible to some extend.






Group Members Information


Section A2: Group 4






Youtube Video







Course Teachers


  1. Mohammad Saifur Rahman

  2. Md. Aashikur Rahman Azim

  3. Md. Iftekharul Islam Sakib





Back to top