A device using TI CC2541 and INVENSENCE MPU-6050 to detect user's movement