LibrePilot Forum

Users => Vehicles - MultiRotors => Topic started by: tinou on November 09, 2017, 12:33:22 pm

Title: Attopilot current sensor
Post by: tinou on November 09, 2017, 12:33:22 pm
I have received my attopilot 50v 180A. When i connect my batterie i can control 15.9 v between gnd and i (vcc current). Normaly dot not more 3.3v no?
1v between gnd and v.
It's ok?
I can plug this current sensor without dommage for my revo board?
Thankss
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 09, 2017, 06:21:36 pm
There are 3 pins
- I
- V
- Gnd
do not connect anything else from this sensor to the Revo.

You always measure Gnd and something else, in this case you measure Gnd to V for voltage and Gnd to I for current.  You measure both of these using the voltage scale on your meter and they should never be more than 3.3 volts.

Use this information to set it up:
https://librepilot.atlassian.net/wiki/display/LPDOC/Configure+a+Current-Voltage+sensor
Connect Gnd to pin 1 of FC connector
Connect I to pin 3 of FC connector
Connect V to pin 4 of FC connector
nothing else

For future reference, if you need your sensor to have a switching BEC, these APM sensors work well for about the same price (about USD $4.50 shipped).  I have installed one and tested it but not flown it yet.
https://www.ebay.com/itm/APM2-6-2-5-2-52-Power-Module-Current-Module-APM-with-5-3V-DC-BEC/272557603567

Here are some good pictures.
Title: Re: Attopilot current sensor
Post by: tinou on November 09, 2017, 07:05:28 pm
Thanks for your answer.
From gnd to v i have vcc curent!!! 16v! So for sure my attopilot is dead!
From gnd to i i have 1v so this its ok.
20dollards lost :(
Thanks for your link i buy a new one
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 09, 2017, 07:14:04 pm
From gnd to v I have vcc current!!! 16v!

Use the voltage scale for both of these measurements so:
From gnd to v I have vcc voltage.

But I assume that is what you meant and that you measured it correctly.
Title: Re: Attopilot current sensor
Post by: tinou on November 09, 2017, 07:28:25 pm
Yes i check this correctly with my multimeter.
Between gnd to i 16v.
Between gnd to v  1v
So can i use only the v for know my voltage without connect i?
Just the time for order and received a new one
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 09, 2017, 07:40:33 pm
Which is broken?  "Gnd to V" or "Gnd to I"

You can use just the one that works and not connect the broken one at all, leave that wire disconnected from FC or it will damage FC.

Maybe we can figure out how to fix the broken one.  Use magnifying glass to examine sensor looking for solder blobs shorting things out or damaged / missing components.

Do you understand that the heavy battery + wire is different than the V sensor output?  :)
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 09, 2017, 08:44:24 pm
One post he says V is broken and the other he says I is broken.  :)
I started writing debugging post but waiting on clarification now.
Title: Re: Attopilot current sensor
Post by: tinou on November 09, 2017, 09:42:23 pm
Yes sorry.
So for be clear :
Between gnd and i i have 16v
Between gnd and v i have 1v.
This is with 4s battery.
With 3s battery :
Between gnd and i i have 12v
Between gnd and v i have 0.75v
So my i is broken
I have check all connection and i don't see anything wrong
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 10, 2017, 06:27:27 am
Bad connection to any of several IC pins could cause that.  Something wrong around the 73.2k resistor could cause it.

Look for damage / broken / bad traces / extra solder with a magnifying glass in these areas.

The circuit is simple enough to use an ohm meter to trace the whole thing and verify resistor values.

Good luck.
Title: Re: Attopilot current sensor
Post by: tinou on November 10, 2017, 08:55:03 am
Thanks for all your answers and your time its very apreciated.
For sure my multimeter doesnt check a 70kohms. I have a megaohmeter in my job but i don't know if i use this if some dommages can be cause (1000v)
This weekend i will check with a big class. I hope i will find the problem.
You have test the item of your ebay link so i think pourcharse it. Sure i and v outpout don't exceed 3.3v?
Have a nice day
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on November 10, 2017, 09:30:36 am
The voltage factor is 10 and the current factor is 18

I recall that means that sensor signal less than or equal to 3.3v up to 33 volts or 60 amps.  For more than that you can add/change a resistor.

The add says the module can handle 25 volts (not 33) and 90 amps.

The original authentic version was 18 volts so keep it to 4s or less in case the seller is wrong?

Do you need more than 4s or more than 60 amps?
Title: Re: Attopilot current sensor
Post by: tinou on November 10, 2017, 10:43:15 am
4s its ok but i need 120A mini :P
Title: Re: Attopilot current sensor
Post by: tinou on January 29, 2018, 10:47:20 pm
Hello.
I restore my topic because i have received my new attopilot 180a in remplacement by the seller.
I sold x60 connector, put my battery and check current.
And it's the same problem :
0,97v between gnd and v
15,45v between gnd and i
15,45v between gnd and +
So i can't connect it to my revo.

Can you send me please a link for buy a new one you works!

Thanks for all.

Tinou
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on January 30, 2018, 04:45:53 am
Maybe OK for V=0.97 since max is 50V and you are only feeding it 16V.  It is probably a simple design with just 2 resistors.

The I=15.45 is wrong and sounds like the current sensor IC is burned up.  Current sensor requires level shifting in typical circuit designs.

The APM 60A current and voltage sensor with 2-3A BEC that I bought is here and on sale for USD $3.18 shipped.  They say it works to 90A, but I think that is only 60A continuous:
https://www.ebay.com/itm/APM2-6-2-5-2-52-Power-Module-Current-Module-APM-with-5-3V-DC-BEC/272557603567
Title: Re: Attopilot current sensor
Post by: tinou on January 30, 2018, 08:46:45 am
Thanks for your answer.
I use 4 motors (emax mtt 2216 810kv) in 4s and 30a opto esc but i don't know if i can use your current sensor (120a will be more safe).
But for 4€ i can test it (25/30€ for an attopilot 180a).
I test and send you a feedback.
Thanks !!
Title: Re: Attopilot current sensor
Post by: TheOtherCliff on January 30, 2018, 09:19:10 am
It should be OK for hovering, but I worry that the current sensor output will be more than 3.3V if current is more than 60A.

If you think you might pull more than 60A, it would be best to reduce the current sensor output voltage ... perhaps with a simple voltage divider to cut the output voltage in half.

Or perhaps buy two of the 60A sensors and wire them in parallel.  Just use the sensor outputs of one and use 36 for the current factor instead of 18.
Title: Re: Attopilot current sensor
Post by: tinou on January 30, 2018, 08:04:04 pm
Thanks for you answer.
Not simple without attopilot.
I will buy a new one.for the moment i stay with my current sensor integreted to my runcam.