diff --git a/conf/airframes/OPENUAS/openuas_eflite_t28.xml b/conf/airframes/OPENUAS/openuas_eflite_t28.xml
index 311d0e8ad2..205d090f95 100644
--- a/conf/airframes/OPENUAS/openuas_eflite_t28.xml
+++ b/conf/airframes/OPENUAS/openuas_eflite_t28.xml
@@ -39,7 +39,7 @@ NOTES:
-
+
@@ -94,6 +94,7 @@ NOTES:
@@ -155,7 +156,8 @@ NOTES:
-
+
+
@@ -184,8 +186,9 @@ NOTES:
-->
-
+
-
+
+
@@ -268,17 +273,19 @@ NOTES:
-
-
+
-
-
+ -->
+
+
+
-
+
@@ -392,32 +399,44 @@ NOTES:
+
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
@@ -431,9 +450,23 @@ NOTES:
-
-
-
+
+
+
+
+
@@ -471,7 +504,12 @@ NOTES:
-
+
+
@@ -492,15 +530,19 @@ NOTES:
-
+
-
-
+
+
+
+
-
+
@@ -554,6 +596,16 @@ NOTES:
+
+
\ No newline at end of file
diff --git a/conf/boards/px4fmu_4.0.makefile b/conf/boards/px4fmu_4.0.makefile
index 6cd756c5da..a9f32fc093 100644
--- a/conf/boards/px4fmu_4.0.makefile
+++ b/conf/boards/px4fmu_4.0.makefile
@@ -57,3 +57,9 @@ GPS_BAUD ?= B38400
# e.g.
#
ACTUATORS ?= actuators_pwm
+
+#
+# default External Current and Volt Sensor configuration
+#
+# ADC_CURRENT_SENSOR ?= ADC_3
+# ADC_VOLTAGE_SENSOR ?= ADC_2
diff --git a/conf/telemetry/OPENUAS/openuas_fixedwing_imu_rc.xml b/conf/telemetry/OPENUAS/openuas_fixedwing_imu_rc.xml
index 4683cc378c..12ffdee871 100644
--- a/conf/telemetry/OPENUAS/openuas_fixedwing_imu_rc.xml
+++ b/conf/telemetry/OPENUAS/openuas_fixedwing_imu_rc.xml
@@ -3,6 +3,7 @@
+
diff --git a/conf/userconf/OPENUAS/openuas_conf.xml b/conf/userconf/OPENUAS/openuas_conf.xml
index 63e9f6ddea..9a68b5b5aa 100644
--- a/conf/userconf/OPENUAS/openuas_conf.xml
+++ b/conf/userconf/OPENUAS/openuas_conf.xml
@@ -18,7 +18,7 @@
telemetry="telemetry/default_rotorcraft.xml"
flight_plan="flight_plans/rotorcraft_basic.xml"
settings="settings/rotorcraft_basic.xml settings/superbitrf.xml settings/nps.xml"
- settings_modules="modules/ahrs_int_cmpl_quat.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml modules/gps.xml modules/imu_common.xml modules/air_data.xml modules/geo_mag.xml modules/gps_ubx_ucenter.xml"
+ settings_modules="modules/ahrs_int_cmpl_quat.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml modules/gps.xml modules/imu_common.xml modules/radio_control_superbitrf_rc.xml modules/air_data.xml modules/geo_mag.xml modules/gps_ubx_ucenter.xml"
gui_color="#fffffe72b9fd"
/>
IN2 corresponds to channel 2)
#define ADC_2 AD1_2 // ADC123 means it can be used by ADC 1 and 2 and 3 (the f4 supports 3 adc's), does not matter which. Each ADC can address 4 pins, so in this case we are using ADC 1, on its second pin.
@@ -241,11 +245,11 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define ADC_2_GPIO_PIN GPIO2
#endif
-
-// external current sens
+// Sense current via external sensor on ADC
#ifndef USE_ADC_3
#define USE_ADC_3 1
#endif
+
#if USE_ADC_3
#define AD1_3_CHANNEL 3 // ADC123_IN3
#define ADC_3 AD1_3
@@ -255,27 +259,33 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define MilliAmpereOfAdc(adc)((float)adc) * (3.3f / 4096.0f) * (90.0f / 5.0f)
/* allow to define ADC_CHANNEL_VSUPPLY in the airframe file*/
-#ifndef ADC_CHANNEL_VSUPPLY
-#define ADC_CHANNEL_VSUPPLY ADC_2
-#endif
+//#ifndef ADC_CHANNEL_VSUPPLY
+#define ADC_CHANNEL_VSUPPLY ADC_1
+//#endif
-#if USE_ADC_2
-#define DefaultVoltageOfAdc(adc) ((float(adc) * (0.012660247f))// (0.00827*adc) //0,012660247
-#else
-#define DefaultVoltageOfAdc(adc) (0.003214815 * adc) // scale internal vdd to 5V
-#endif
+
+//??FT = Five-volt tolerant. In order to sustain a voltage higher than VDD+0.3 the internal pull-up/pull-down resistors must be disabled.
+//#define DefaultVoltageOfAdc(adc) (0.0045*adc)
+
+//Set stock values
+//#if USE_ADC_2
+//#define DefaultVoltageOfAdc(adc) (0.0005f * (float)adc)//FIXME: Value...
+//#else
+#define DefaultVoltageOfAdc(adc) (0.004 * adc) // scale internal vdd to 5V
+//#endif
/* I2C mapping */
#define I2C1_GPIO_PORT GPIOB
#define I2C1_GPIO_SCL GPIO8
#define I2C1_GPIO_SDA GPIO9
+//Onboard Barometer
#ifndef USE_BARO_BOARD
#define USE_BARO_BOARD 1
#endif
/* Another Magnetometer on board a HMC5983 not the one in the IMU 9250*/
-//TODO
+//TODO:
#ifndef USE_MAGNETOMETER_B
#define USE_MAGNETOMETER_B 0
#endif
@@ -349,7 +359,7 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define PWM_SERVO_4_OC_BIT 0
#endif
-/* -ESC Servo 5 */
+/* -ESC or Servo 5 */
#if USE_PWM5
#define PWM_SERVO_5 4
#define PWM_SERVO_5_TIMER TIM4
@@ -362,7 +372,7 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define PWM_SERVO_5_OC_BIT 0
#endif
-/* -ESC Servo 6 */
+/* -ESC or Servo 6 */
#if USE_PWM6
#define PWM_SERVO_6 5
#define PWM_SERVO_6_TIMER TIM4
@@ -379,7 +389,6 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)
/* Buzzer (A.k.a. Alarm) */
-
#if USE_BUZZER
#define PWM_BUZZER
#define PWM_BUZZER_TIMER TIM2
@@ -393,6 +402,4 @@ When a read-operation of an RTD resistance data register occurs, DRDY returns hi
#define PWM_BUZZER_OC_BIT 0
#endif
-
-
#endif /* CONFIG_PX4FMU_4_0_H */