Configure a Current-Voltage sensor

Configure a Current-Voltage sensor

 This page describes how to setup a voltage/current sensor using a Revolution or Revolution Nano board.
In this page

Hardware connections

JST connector

Connector pin (board)

Description

AttoPilot pin (sensor)

JST connector

Connector pin (board)

Description

AttoPilot pin (sensor)

1

GND

GND

2

Vcc

Not used

3

Current Input

I

4

Voltage Input

V

Voltage input

Any sensor can be used as long as the input voltage to Revo's Sensor Port pins does not exceed 3.3V. Higher values can damage board's CPU!

 


 

Basic voltage sensor

A basic voltage divider can be used, two resistors connected between ground and + from battery.

For a 4S battery (16.8Volts) the following values can be used:

R1: 2,2KOhms and R2: 10KOhms

With Vbattery = 16.8V,  Vout = (16.8 * 2.2) / (10 + 2.2) =  3,03V

See also http://en.wikipedia.org/wiki/Voltage_divider



Disable TIME alarm

If you use this simple voltage sensor alone, you need to disable the TIME alarm.

This alarm is based on energy consumed that cannot be computed without current sensor.

Go to UavoBrowser > FlightBatterySettings and set the Capacity to 0

 

 

 


Current / Voltage sensor

 

Here is a list of common sensors that can be used :

Module

Type

Sensitivity

VoltageFactor

CurrentFactor

VoltageZero

CurrentZero

Notes

Module

Type

Sensitivity

VoltageFactor

CurrentFactor

VoltageZero

CurrentZero

Notes

Attopilot

50V/180A

63.69mV/V, 18.30mV/A

 15.701

54.645

0

0

 

Attopilot

50V/90A

63.69mV/V 36.60mV/A

 15.701

27.322

0

0

Same as RCTIMER 90A current sensor

Attopilot

13.6V/45A

242.3mV/V 73.20mV/A

4.127

13.661

0

0

 

Hobbyking

50V/120A

97.465 mV/V 31.699mV/A 

10.26

31.5467

0

0

HK Pilot Power VI Module

 

 For custom sensor see the Calculate SensorCalibration values section.


Hardware settings


Calibrate sensor

Calculate SensorCalibration values


Setting FlightBatterySettings Properties