|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Testing the Kit Gyro?
What is the easiest way to test the kit gyro to see if it is working?
I tried hooking up a PWM cable to analog input 1, and connecting it to the gyro (white to TW, black to GB, red to 5R) and adding a printf line to user_routines.c to display rc_ana_in01. I get a constant output of 135 regardless of if I twist the gyro or even have it plugged in. Does the gyro need to be initialized, calibrated, etc. before it will function at all, is my printf referencing the wrong variable, or am I doing something else wrong to see if the gyro is simply functioning at all? |
|
#2
|
|||||
|
|||||
|
Re: Testing the Kit Gyro?
Quote:
|
|
#3
|
|||
|
|||
|
Re: Testing the Kit Gyro?
Ah, excellent. Thanks for the quick reply. I will give it a shot.
|
|
#4
|
||||
|
||||
|
Re: Testing the Kit Gyro?
Also, constant values from the gyro are a common sign that you've wired it incorrectly. Ensure that your wires connects to the pins labeled with a T, not the ones with an R.
|
|
#5
|
||||
|
||||
|
Re: Testing the Kit Gyro?
Unless of course you wish to read relative temperature off the sensor. We figured this out the hard way last year ..
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Testing the Lift | Rapt0r9 | Extra Discussion | 2 | 04-02-2008 17:10 |
| pic: 418: testing controller on the | roboticWanderor | Extra Discussion | 1 | 14-01-2008 23:45 |
| How do i connect the camera for testing? | naor52 | Programming | 1 | 12-01-2006 01:11 |
| pic: Testing the arm... | Rob | Robot Showcase | 15 | 11-02-2005 20:34 |