- #1
Joel16
Hello I need a bit of some help here. I have a Nintendo 3DS and I'm trying to get my program to display its battery voltage. The thing is the voltage function that Nintendo uses returns values in an unknown format, and I don't have access to a multi-meter to get the correct readings right now, so I'm wondering if there's just some math required to convert these units to standard units. (V / mV)
The current information I have is this:
When the charger is plugged into a fully charged 3DS unit, this value will be maximum 0xD1 (209)
Unplugging the charger will make the value go down to 0xCE (206)
The voltage at 5% battery percentage just after the LEDs start flashing is 0xAF (175)
Plugging in the charger at this point will make the voltage go up to 0xB9 (185)Additional information:
The adapter has a voltage of 5.0V
The battery (LiON) has a voltage of 3.7V
Edit:
From what me and a few other developers have gathered is that this magic number may be 5.0. That is, 5.0 * (batteryVolt / 256.0), but we aren't too sure about this.
The current information I have is this:
When the charger is plugged into a fully charged 3DS unit, this value will be maximum 0xD1 (209)
Unplugging the charger will make the value go down to 0xCE (206)
The voltage at 5% battery percentage just after the LEDs start flashing is 0xAF (175)
Plugging in the charger at this point will make the voltage go up to 0xB9 (185)Additional information:
The adapter has a voltage of 5.0V
The battery (LiON) has a voltage of 3.7V
Edit:
From what me and a few other developers have gathered is that this magic number may be 5.0. That is, 5.0 * (batteryVolt / 256.0), but we aren't too sure about this.
Last edited by a moderator: