Go to advanced search

by ckkkkk
Sat May 11, 2019 3:34 am
Forum: General discussion
Topic: How to find "dt" in the equation of converting raw gyro data into angle?
Replies: 4
Views: 221

Re: How to find "dt" in the equation of converting raw gyro data into angle?

Hi scotty101,
If i use the infinite loop then what would be the "dt"? If i used a 100 times loop the "dt" would then be the time used for the loop right, so a timer is needed?
by ckkkkk
Fri May 10, 2019 1:41 pm
Forum: General discussion
Topic: How to find "dt" in the equation of converting raw gyro data into angle?
Replies: 4
Views: 221

Re: How to find "dt" in the equation of converting raw gyro data into angle?

In this case it means how long has elapsed since the gyro reading was last taken. The value of this can either be calculated by recording the current time when you take a reading and comparing it to the last time or it can be a fixed value if your system reads the gyro consistently at 50Hz for exam...
by ckkkkk
Fri May 10, 2019 12:26 pm
Forum: General discussion
Topic: How to find "dt" in the equation of converting raw gyro data into angle?
Replies: 4
Views: 221

How to find "dt" in the equation of converting raw gyro data into angle?

Recently, I just bought the MPU 6050 and been no problem playing around with it. Until, i ran into the problem which i do not understand how to determine the "dt" in the equation of converting raw gyro data into angle. So, any Masters here can help a little bit on this? This is the equation angle +=...
by ckkkkk
Tue Apr 30, 2019 3:15 pm
Forum: Automation, sensing and robotics
Topic: How to find offset for MPU6050 gyroscope?
Replies: 0
Views: 128

How to find offset for MPU6050 gyroscope?

Are there any manual way of finding the offset for the gyroscope? Any experts please provide some suggestions.
by ckkkkk
Tue Apr 30, 2019 11:14 am
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

Hi bensimmo,
On page15 of the document you posted, it does say that.
Have a look :-)
Now i understand why the bits are like that and how to convert it. Thank you very much!!!
by ckkkkk
Mon Apr 29, 2019 11:55 pm
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

Hi bensimmo,
Thank you, for clearing this up for me.
0 = 00
1 = 01
2 = 10
3 = 11
Also the 0,1,2,3 are 2g,4g,8g and 16 g respectively right?
by ckkkkk
Mon Apr 29, 2019 3:51 pm
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

Hi bensimmo,

I do not really understand why is it 0x00,08,10 and 18. Can you please do some explanation on this? Because the other accelerometer i got, it uses the 0x00,01,02 and 03 bit.
by ckkkkk
Mon Apr 29, 2019 3:44 pm
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

But still, did i changed the bit correctly?
by ckkkkk
Mon Apr 29, 2019 3:33 pm
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

Hi bensimmo, So it should be # Select gyroscope configuration register, 0x1B(27) # 0x18(24) Full scale range = 2000 dps bus.write_byte_data(0x68, 0x1B, 0x18) # MPU-6000 address, 0x68(104) # Select accelerometer configuration register, 0x1C(28) # 0x18(24) Full scale range = +/-16g bus.write_byte_data...
by ckkkkk
Mon Apr 29, 2019 1:48 pm
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

Re: How to Convert the measurement range of MPU6050?

Hi scotty101,

Are there any manual way to change the measurement range? Because i am having another accelerometer and i am doing this to make sure that both of the accelerometer works just fine with the same measurement range.
by ckkkkk
Mon Apr 29, 2019 10:46 am
Forum: Automation, sensing and robotics
Topic: How to Convert the measurement range of MPU6050?
Replies: 12
Views: 474

How to Convert the measurement range of MPU6050?

import smbus import time # Get I2C bus bus = smbus.SMBus(1) # MPU-6000 address, 0x68(104) # Select gyroscope configuration register, 0x1B(27) # 0x18(24) Full scale range = 2000 dps bus.write_byte_data(0x68, 0x1B, 0x18) # MPU-6000 address, 0x68(104) # Select accelerometer configuration register, 0x1...

Go to advanced search