Search found 3 matches

by adivacaru
Sun Jul 19, 2015 9:10 pm
Forum: Connecting elements
Topic: vbat cells
Replies: 12
Views: 5587

Re: vbat cells

that with x y z is only to play around, its commented out i only did it this way uint16_t v = analogRead(vbatcells_pins[ind]); // analog.vbatcells[ind] = vbatcells_offset[ind] + (v << 2) / vbatcells_div[ind]; // result is Vbatt in 0.1V steps if (ind == 0 ) analog.vbatraw = v; analog.vbatcells[ind] =...
by adivacaru
Sun Jul 19, 2015 2:52 pm
Forum: Connecting elements
Topic: vbat cells
Replies: 12
Views: 5587

Re: vbat cells

Hy QuadBow, I got mad after a few tries of getting it right and i reimplenented it in my way : in config.h #define VBAT_CELLS #define VBAT_CELLS_NUM 3 // set this to the number of cells you monitor via analog pins #define VBAT_CELLS_PINS {A0, A1, A2} // set this to the sequence of analog pins #defin...
by adivacaru
Sat Jul 18, 2015 7:37 pm
Forum: Connecting elements
Topic: vbat cells
Replies: 12
Views: 5587

vbat cells

Hello, I am trying to setup individual cell monitoring i have crius aiop v2 and my setup is as follows: V bat is connected to A0 using an dividider make of 51k(high side) and 33k(low side) as suggested in the firmware, by v bat i mean the 3rd cel - 11.1V Second cell(7.4 V) is connected to A1 using a...