darkdave

  • ***
  • 152
APM voltmeter to work with librepilot?
« on: May 16, 2016, 01:02:06 pm »
Hi can  you guys tell me if you recognize what this is? I have one in my room that I bought some time ago when I bought the APM. It looks like it's a BEC as well as a voltmeter that can give voltage and current readings.

https://item.taobao.com/item.htm?id=527408677704&ali_refid=a3_430281_1007:1102959987:N:6439169684038054010_0_100:46d5ea307a5f973efe0eb1c8e0081f86&ali_trackid=1_46d5ea307a5f973efe0eb1c8e0081f86&spm=a231k.7907221.0201601140.1.a6pZu2

Can you confirm if my guess is correct?

Also how much work do I have to do to get this to connect to my Revolution board? I want this to give the voltage and current readings from my battery to librepilot.

Have a look at that connector, should I connect that to the RC in interface to the revolution board? I use the Oplink for control so I dont need a receiver.

David
« Last Edit: May 16, 2016, 01:05:22 pm by darkdave »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: APM voltmeter to work with librepilot?
« Reply #1 on: May 16, 2016, 01:14:02 pm »
You should read this page fro how to setup a voltage / current sensor:
https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor

Why connect the wires to the receiver port ?
Just be sure the voltage you put into the PWR port do not exceed 3.3v

You should get the APM wiring somewhere for V / A and +5V (from included step down) pins.

Re: APM voltmeter to work with librepilot?
« Reply #2 on: May 16, 2016, 11:44:06 pm »
i forget where i found it but here you go.

darkdave

  • ***
  • 152
Re: APM voltmeter to work with librepilot?
« Reply #3 on: May 18, 2016, 11:49:50 am »
The connection interface is different, how do I know which wire to cut and which wire to feed to which connection on the other side? The voltmeter side has more wires on its end.

UPDATE

Ah I see the latest post some one showed the schematics. Ok so I just cut the 2 wires off for the 5Vs and one of the Ground. And I only use:

1. "I"
2. "V"
3. 1 X "Gnd"

So a total of only 3 wires. Correct?

Last question: What do I search for on Ebay for the connectors?

" 3 pin JST micro connectors"?
and
" 6 pin JST micro connectors"?

UPDATE2:

"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!"
https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor

Should I be worried about this? The sensor Im buying is 5V. I know I wont be using any of the 5V pins but should I still be worried?

David
« Last Edit: May 18, 2016, 12:41:45 pm by darkdave »