LibrePilot Forum

General Category => General Discussion => Topic started by: zukenj on September 14, 2016, 05:08:35 am

Title: Current-Voltage sensor
Post by: zukenj on September 14, 2016, 05:08:35 am
Hello. I need help identify the pins on the attached sensor.

(http://uploads.tapatalk-cdn.com/20160914/8afca79a9ac94b599ab6bc5716e91f77.jpg)

Sent from my SM-N900P using Tapatalk

Title: Re: Current-Voltage sensor
Post by: f5soh on September 14, 2016, 07:15:40 am
This is a standard APM sensor / Connector.

GND - Black
GND - Black
Volt - Black
Amp - Black
+5V - Black
+5V - Red

+5V available only if power reg/ step down soldered on other PCB side.
Double check with a multimeter.
Title: Re: Current-Voltage sensor
Post by: glenneaux on September 14, 2016, 11:32:39 am
Arw these set up for 5v output ? I have one like this but put it in the back burner because the revo inputs are 3v3

Sent from my Nexus 5 using Tapatalk

Title: Re: Current-Voltage sensor
Post by: f5soh on September 14, 2016, 01:37:11 pm
The +5V is used to power the board, not to be measured using ADC like the Volt and Amp lines.
Title: Re: Current-Voltage sensor
Post by: Mateusz on September 14, 2016, 01:51:32 pm
According Wiki ADC measuring voltage and current is max 3.3V https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor
Whatever you plug in it should never exceed that. I suggest consulting product manual for your sensor to find out max output voltages, just to be on a safe side and double check.
Title: Re: Current-Voltage sensor
Post by: glenneaux on September 14, 2016, 03:21:23 pm
Yeah I had one of these http://rctimer.com/product-1125.html

I should find one configured for 3v3 output

Sent from my Nexus 5 using Tapatalk

Title: Re: Current-Voltage sensor
Post by: f5soh on September 14, 2016, 03:37:00 pm
The pixHawk has the same limitations with 3.3V...

(https://forum.librepilot.org/index.php?action=dlattach;topic=2299.0;attach=4128)

The picture above comes from PixHawk doc ^^
The +5V only applies to the power lines

Anyways, if you don't trust Chinese sensors you can use a multimeter.
Original full sized Revo take also esd protection.
Title: Re: Current-Voltage sensor
Post by: zukenj on September 14, 2016, 05:14:28 pm
All thaks for your help.

This is what I am trying to do.
https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor (https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor)

In the Current/Voltage sensor diagram. My understanding is that, I don't need the 5v, I am not powering the Revo, I just need to know the batery status. Please correct me if I'm wrong. Now I need to know what cables I will be using.

I will post a picture of the back  of the sensor, for you to see if there is a power regulator.

Here it is:
(http://uploads.tapatalk-cdn.com/20160914/4dce49f330d94c0e5a4e5d0ea3f59332.jpg)
Title: Re: Current-Voltage sensor
Post by: zukenj on September 14, 2016, 08:32:12 pm
F5soh,

You mean?


(http://uploads.tapatalk-cdn.com/20160914/b1dedad4fc9052d58b070a8bd87c4e8b.jpg)

Sent from my SM-N900P using Tapatalk

Title: Re: Current-Voltage sensor
Post by: f5soh on September 16, 2016, 07:24:49 am
yes, table is fine.
Title: Re: Current-Voltage sensor
Post by: zukenj on September 16, 2016, 12:38:10 pm
Thanks F5soh

Sent from my SM-N900P using Tapatalk