|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Gyro ADXRS150 rate out
Hello.
I am having so much trouble with this Gyro. I connected the gyro to the pic board(18F8722) and have the pic board sent the input from the gyro with unsigned int. and I am getting like 177~179ish in the hyper terminal from the serial port of the pic board. Is this behavior normal? Also does anyone know how to use TEMP out of the gyro? Thank you so much |
|
#2
|
||||
|
||||
|
Re: Gyro ADXRS150 rate out
Are you shifting down two bits? The serial out is probably set up to send unsigned char (8-bit) whereas the analog port reads in an unsigned int, as you said, with 10 bits of resolution. Try sending (gyro >> 2).
If that's not the problem...Does it still vary correctly when rotated? Maybe it's just got a fairly large offset and 177 is the "center." |
|
#3
|
|||
|
|||
|
Re: Gyro ADXRS150 rate out
adcVal = read_adc(ADC_START_AND_READ);
printf("%u%c%c",adcVal,0x0D,0x0A);//printout in hyper terminal I did it like this and I will try to have more bits and test it. What should the normal value be? and what does the value mean? (does 177 refers to volts in some other unit?) Thank you. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ADXRS150 Gyro Yaw Sensor sensitivity? | hinewwiner | Technical Discussion | 5 | 08-02-2008 09:20 |
| ADXRS150 turn rate controller help required... | dani | Programming | 6 | 23-05-2006 14:59 |
| ADXRS150 gyro yaw rate sensor | Brian M. | Electrical | 13 | 17-10-2004 02:28 |
| ADXRS300EB Rate Gyro | rmeenaks | Electrical | 18 | 05-04-2004 22:37 |
| ADXRS300EB Rate Gyro | rmeenaks | Technical Discussion | 0 | 31-03-2004 16:48 |