paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: [Paparazzi-devel] IR Sensor Neutral is 735 !!??


From: Andrew S
Subject: Re: RE: [Paparazzi-devel] IR Sensor Neutral is 735 !!??
Date: Thu, 12 Aug 2010 11:52:09 +0400

Hi
Try to measure voltage on the sensor output, it should be 1.5v. If it is, sensor is good.
Cheers
 
 
12.08.10, 09:48, "Edixon Giraldo" <address@hidden>:
Yes, I did check that and it was just as you described.  I did, however, changed from TILTED to ALIGNED and try to recalibrate.  This time I did get a value that was much better and was able to get a response from both sensors of the vertical unit.  This time the value was 478.  It seems the sensors are fine.  Thanks for the info.

Eddie.


From: address@hidden
Subject: Re: [Paparazzi-devel] IR Sensor Neutral is 735 !!??
Date: Wed, 11 Aug 2010 20:40:39 -0700
To: address@hidden

What ADC is setup in your airframe file for IR_TOP? 
On a TWOG the 3-pin connector is ADC_0. 
Just want to be sure it's not something simple as that value.
This code should work:
 
 
 
 
 
 
with this in the makefile section:
ap.CFLAGS += -DADC -DUSE_ADC_0 -DUSE_ADC_1 -DUSE_ADC_2
ap.srcs += $(SRC_ARCH)/adc_hw.c
 
Be sure not to enable ADC you are not using. 
 
-David
On Aug 11, 2010, at 5:11 PM, Edixon Giraldo wrote:

Hi, I have been trying to calibrate the IR sensors on my UAV, but, I am getting this really off value for my vertical sensor.  I get 511, 512 on the horizontals, but, for the vertical I get 735.  Do I need to change this sensor or is this normal? 

Thanks.

Eddie.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________Paparazzi-devel mailing address@hidden://lists.nongnu.org/mailman/listinfo/paparazzi-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]