|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#13
|
||||
|
||||
|
Quote:
32768(2.5 volts) -32282(Bias)=486. 486/64 = 7.59 a/d counts * 5 mV/count = 38 mV above 2.50. Null bias should equal 2.538 volts. Verfied with DVM. Hooray! Sampling rate was 1600 Hz, samples per update rate set to 64, ADXRS300EB utilized, #define TENTHS__OF_A_DEGREE. #define GYRO_CAL_FACTOR = 1000/1000 (no change). Simple 180 degree spin test executed. Learn bias at 0 degrees, verify for 4/5 readings on terminal that angle = 0 degrees. Next, spun gyro 180 degrees - reading about 900 counts (90 degrees * 10 counts/degree). Return to 0 degree position - read 0 counts (plus/minus 30 - remember, very coarse test). Next, tried the GEI GYROCHIP AQRS_00075. Changed the #define GYROCHIP_75 at top of gyro.h. Same spin test gave similiar results. Spun 360 degrees and back - similiar results. Sampling rate 1600 Hz, samples per update rate equal 64, #define TENTHS_OF_A_DEGREE, #define GYRO_CAL_FACTOR = 1000/1000 (no change). Quote:
Did you work some new magic in the new 01/30/05 software release, or do you think the 1600 Hz, samples = 64 is what made this work? I did not have time last night to experiment with various settings. I tried the 01/22/05 software and found my head bloody from beating it against the wall to make it work. BTW, thanks for responding to previous e-mail and publishing 01/30/05 release. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sourceforge for Code Repository and other stuff | SilverStar | Programming | 9 | 15-01-2005 21:16 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| Wierd gyro code problems...pls help | Salik Syed | Programming | 4 | 14-03-2004 01:29 |
| Infrared Beacon and Sensor Diagnostics Code Released | Kevin Watson | Programming | 3 | 25-02-2004 17:50 |
| gyro code | odin892 | Programming | 2 | 08-04-2003 14:50 |