kriswiner / Teensy_Prop_Shield

9 stars 0 forks source link

enum gyroODR #2

Open manitou48 opened 8 years ago

manitou48 commented 8 years ago

The 0 value of enum gyroODR is really 800hz. so your config runs the gyro at 800hz.

Your config of the gyro seems to cause the gyro to draw 24ma (even though data sheet says active is only 2.7 ma??) Paul's gyro config seems to draw only a 2ish ma

kriswiner commented 8 years ago

According to the data sheet (page 39/50) the top gyro ODR for DR= 000 is200 Hz and the expected current consumption is around 5 mA.

How do you determine the gyro rate to be 800 Hz?

manitou48 commented 8 years ago

On Sun, Apr 03, 2016 at 11:00:28AM -0700, Kris Winer wrote:

According to the data sheet (page 39/50) the top gyro ODR for DR= 000 is200 Hz and the expected current consumption is around 5 mA.

How do you determine the gyro rate to be 800 Hz?


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/kriswiner/Teensy_Prop_Shield/issues/2#issuecomment-205022096

in https://www.pjrc.com/store/fxas21002.pdf table 47, also i have run the sketch counting number of gyro calls per your 500 ms window, and get 400 calls.

Tom Dunigan thdunigan@gmail.com http://tnlandforms.us

kriswiner commented 8 years ago

Looks like my code assumed the FXAS21000, not the FXAS21002 that the prop shield is actually using. I'll have to check for other inconsistencies.

-----Original Message----- From: manitou48 [mailto:notifications@github.com] Sent: April 3, 2016 11:19 AM To: kriswiner/Teensy_Prop_Shield Cc: Kris Winer Subject: Re: [kriswiner/Teensy_Prop_Shield] enum gyroODR (#2)

On Sun, Apr 03, 2016 at 11:00:28AM -0700, Kris Winer wrote:

According to the data sheet (page 39/50) the top gyro ODR for DR= 000 is200 Hz and the expected current consumption is around 5 mA.

How do you determine the gyro rate to be 800 Hz?


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub:

https://github.com/kriswiner/Teensy_Prop_Shield/issues/2#issuecomment-205022 096

in https://www.pjrc.com/store/fxas21002.pdf table 47, also i have run the sketch counting number of gyro calls per your 500 ms window, and get 400 calls.

Tom Dunigan thdunigan@gmail.com http://tnlandforms.us

You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/kriswiner/Teensy_Prop_Shield/issues/2#issuecomment-20502 4329 https://github.com/notifications/beacon/AGY1qqhx7BLQ-ytglRt7uXhM4j_VaYH_ks5 p0ASAgaJpZM4H-n0d.gif