brolin_empey | https://lh3.googleusercontent.com/-TR9LNYFUjsU/XA4sH_j8tzI/AAAAAAAABv0/KQGLlmG1xSYv35sXkMKlDniJnnNOAeU0QCL0BGAYYCw/h1853/704035464178809750%253Faccount_id%253D7 | 10:13 |
---|---|---|
freemangordon | DocScrutinizer05: ShadowJK: spinal84 said he measured the current from the battery and it is off by 1.5 compared to the reported value. <spinal_> kernel shows 230547, ammeter 0.155A | 22:44 |
freemangordon | any thoughts? | 22:44 |
Pali | bq27200.sh script (and also kernel) uses 20mOhm resistor sense value... it is correct? | 22:46 |
freemangordon | Pali: we discussed that yesterday, and both DocScrutinizer05 and ShadowJK said it is ok | 22:47 |
freemangordon | however, the measurement (if done properly) shows another story | 22:47 |
* freemangordon boots his dev device | 22:48 | |
freemangordon | spinal84: do you remember which reg is LMD? I don't have the datasheet around | 22:52 |
spinal84 | 1 moment | 22:52 |
sicelo | 0x76 | 22:52 |
sicelo | 0x76 | 22:52 |
freemangordon | thanks | 22:52 |
freemangordon | 0x76=0x2d | 22:53 |
sicelo | sorry, that's ilmd | 22:53 |
spinal84 | 0x13 - 0x12 | 22:53 |
freemangordon | ok | 22:53 |
freemangordon | 0x12=0x2cf5 | 22:53 |
spinal84 | 0x12 is low byte | 22:53 |
spinal84 | so you need swap values to calculate if you get it from i2c | 22:54 |
freemangordon | this is reported as short | 22:56 |
spinal84 | LMD is reported in units of 3.57 µVh per count, so the formula will be: LMD * 0.00357 / Rs, if i'm right :) | 22:57 |
freemangordon | 2,0543565 if you are right :) | 22:58 |
freemangordon | 1,369571 if RS is 30 | 22:59 |
sicelo | LMD * 3.57 / RS from what i see | 22:59 |
freemangordon | ok, have to go now, will continue tomorrow | 22:59 |
sicelo | that's if we're calculating for mAh | 22:59 |
spinal84 | freemangordon, where did you get such a good battery? :) | 22:59 |
freemangordon | polarcell ;) | 23:00 |
freemangordon | Pali: ^^^ | 23:00 |
freemangordon | what do you think about that? | 23:01 |
freemangordon | this is reported on 2.6.28.10-power53 | 23:02 |
freemangordon | WTF is 3.57μVh ? | 23:03 |
spinal84 | it's voltage units used by bq27200 to measure current | 23:03 |
freemangordon | what have volts to do with a discharge? | 23:03 |
spinal84 | current is measured by measuring voltage on sense resistor :) | 23:03 |
freemangordon | ah, I see :) | 23:04 |
spinal84 | that's why we need to know the sense resistor to calculate true current | 23:04 |
freemangordon | yeah, right | 23:04 |
freemangordon | anyway, I am afk, will continue tomorrow | 23:05 |
freemangordon | night | 23:05 |
spinal84 | bq27200 doesn't have FPU unit, so it only can provide integer values, that's why 3.57 mV is used as single unit | 23:05 |
spinal84 | cya | 23:05 |
tdlnx | Is maemo still being actively maintained? Like is there anything new for the n900? | 23:21 |
KotCzarny | sure | 23:22 |
KotCzarny | see maemo-leste | 23:22 |
tdlnx | Oh awesome, thanks! | 23:24 |
brolin_empey | “ammeter” is a misnomer because the beginning of this word is from a unit instead of what is being measured. It is an electric current meter that uses the unit named ampere but it could use a different unit if there was one. | 23:31 |
brolin_empey | spinal84: Decimal values can be used without using floating point. | 23:37 |
spinal84 | brolin_empey, i was just kidding | 23:39 |
spinal84 | bq27200 is just a simple ic, it's not a CPU+FPU | 23:39 |
brolin_empey | spinal84: OK, I thought you were serious. | 23:41 |
brolin_empey | Not in this channel but someone who was writing about SimCity 2000 long after its release seemed to seriously believe that a microwave oven is more powerful than an 80386-based computer. (fail) | 23:45 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!