WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Battery Status being incorrectly reported

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid
View previous topic :: View next topic  
Author Message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Thu Feb 01, 2007 6:29 am    Post subject: Battery Status being incorrectly reported

I noticed that the flashing lights during the time that the Wiimote is trying to connect roughly indicate the level of energy stored in the batteries. Three lights showing means 75% or less, 2 lights ~ 50% or less, 1 ~ 25% or less. Based on that, I think wmgui is reporting the battery levels incorrectly. I popped in relatively fresh set of batteries and wmgui reported 74%, but all four lights blink on the Wiimote during the time it is trying to connect. So then I popped in a brand new pair straight out of the box, and Cwiid reported them at 89%. They could have been shoddy for whatever reason, but 11% drained right out of the box? That seems like a lot.

wmgui must be off by ~ 2% or more from the Wiimote's own value when reporting the battery status, or maybe I'm just missing something here.
Back to top
View user's profile Send private message
Swatch



Joined: 29 Jan 2007
Posts: 6

Digg It
PostPosted: Thu Feb 01, 2007 2:25 pm    Post subject:

I noticed the same, but after some more observations I came to the conclusion that for the first 50% the LED's are at full-4, after that they register 3 at about 38%-40% 2 at about 25% and 1 at less than 15%.

As far as being charged outta the box, most batteries aren't quite at their full potential, using rechargable batteries I've gotten the percentage up to 95%.
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Thu Feb 01, 2007 2:59 pm    Post subject:

I've been using one Wiimote for all development of CWiid, since ~mid-December, and it still shows 4 LEDs when trying to connect.

Batteries are pretty inconsistent as far as power sources go, and charge measuring algorithms generally favor cheap rather than precise (don't compensate for internal resistance).

That being said, I'm not sure about the 100% mark. The wiki here suggests that it "might" be 0xC8, so I overshot a little and made it 0xD0, so it may read slightly low, though not 11% low. If anyone finds out for sure that the correct value is lower, I'll change it.

If anyone has access to a precision DC voltage source (and appropriate know how), set it to 3.0 V, and check the Wiimote status output.
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Fri Feb 02, 2007 11:15 pm    Post subject:

abstrakraft wrote:
I've been using one Wiimote for all development of CWiid, since ~mid-December, and it still shows 4 LEDs when trying to connect.


That's interesting, since I have been able to consistently demonstrate the correlation between battery power and the number of LEDs blinking during connect. Drawn from devices all around my apartment, I have pairs of AA batteries at a wide range of different levels. If I wanted, I could create a bloody lab experiment for you.

Unfortunately, I don't have the tools you are asking for. But I think in the future at least, the need for investigation is indicated. For now... doesn't really matter.

Cheers.
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Sat Feb 03, 2007 5:43 pm    Post subject:

Investigation - definitely. Down the road - definitely.

Perhaps there are differences in Wiimotes? Is it to early to suspect different hardware revisions? Also, my Wiimote is a Wii virgin - perhaps the Wii sets up the correlation somehow? I've heard rumors of code in the Wiimote EEPROM, or there may be a flag - either of which may be modified by the Wii.

Just a couple of random ideas.
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group