Hello,
Many connection diagrams are prepared to monitor the battery:
http://multiwii.googlecode.com/svn/trunk/Doc/Diagrams/
As I see it, join the positive and negative battery with a resistor, and from these to pin A1.
What value would have to have the resistors? Is there a site where it is explained how to connect the battery to use this functionality?
Thank you.
Lipo Monitor
Re: Lipo Monitor
Paul uses on the divide et impera board
http://flyduino.net/Divide-et-Impera-Universal-Board
a 51k on the + side and a 33k on - side. See the manual on that page.
BR - KH
http://flyduino.net/Divide-et-Impera-Universal-Board
a 51k on the + side and a 33k on - side. See the manual on that page.
BR - KH
Re: Lipo Monitor
Just take a trimmer or poti (100k) and set it to output 5V (on its middle pin) for a full LiPo to A3.
Connect one outer pin to + and the other to -
That's it.
You may have to change:
#define VBATSCALE 131 // change this value if readed Battery voltage is different than real voltage
BTW: It's A3 on a ProMini
#define V_BATPIN A3 // Analog PIN 3
and A0 on the Mega
#define V_BATPIN A0 // Analog PIN 0
Greeting...
Connect one outer pin to + and the other to -
That's it.
Code: Select all
12,6V ------------------------------
|
|
|/
O--- 5V to A3
/|
|
|
GND ---------------------------------
You may have to change:
#define VBATSCALE 131 // change this value if readed Battery voltage is different than real voltage
BTW: It's A3 on a ProMini
#define V_BATPIN A3 // Analog PIN 3
and A0 on the Mega
#define V_BATPIN A0 // Analog PIN 0
Greeting...
Re: Lipo Monitor
kalle123 wrote:Paul uses on the divide et impera board
http://flyduino.net/Divide-et-Impera-Universal-Board
a 51k on the + side and a 33k on - side. See the manual on that page.
BR - KH
Thanks, I'll try asap