Home→Forums→MonoBrick EV3 Firmware→Battery indicator
- This topic has 14 replies, 6 voices, and was last updated 10 years, 2 months ago by
Bernhard Hofmann.
-
AuthorPosts
-
November 19, 2014 at 09:37 #4984

Jacek SParticipantHi,
Is there any chance for battery indicator?
Now I must remove sdcard and boot oryginal firmware to find out if something is wrong with my program or the battery level is low.Jacek
November 19, 2014 at 09:45 #4985
Anders SøborgKeymasterHi Jacek
Yes it is possible but I never got around to implementing it. As I remember one of the Unix-Devices (probably the /dev/lms_dcm device) in the sensorManager has access to info about the brick…. you are more than welcome to have a look at it if you are up for it…
/Anders
November 19, 2014 at 09:55 #4986
Jacek SParticipantOk, great. I will try. Thanks
March 10, 2015 at 17:14 #5302
Kristofer JaxneParticipantI see that MonoBrickFirmware.Management have now support to show battery voltage and current. Can I use that to build an own form of indicator? Isn’t I’m needing some form of reference values of minimum and maximum first?
March 10, 2015 at 19:24 #5304
Anders SøborgKeymasterHi there
No the current is returned in mA and the voltage in mV
/Anders
March 10, 2015 at 20:04 #5306
Kristofer JaxneParticipantDo you have any idea of example values for low battery level and just charged?
March 16, 2015 at 18:42 #5312
Anders SøborgKeymasterHi there
Do you have any idea of example values for low battery level and just charged?
No sorry – you will have to try.
March 20, 2015 at 13:24 #5324
Jacek SParticipantHi,
From the lego mindstorm source code:
#define BATT_INDICATOR_HIGH 7500 //!< Battery indicator high [mV]
#define BATT_INDICATOR_LOW 6200 //!< Battery indicator low [mV]#define ACCU_INDICATOR_HIGH 7500 //!< Rechargeable battery indicator high [mV]
#define ACCU_INDICATOR_LOW 7100 //!< Rechargeable battery indicator low [mV]Jacek
May 17, 2015 at 13:12 #5391
Kristofer JaxneParticipantIs there any way to see if connected battery is the rechargeable type or not?
May 18, 2015 at 19:21 #5394
Anders SøborgKeymasterHi
No not to my knowledge…
/Anders
May 18, 2015 at 23:29 #5399
Tcm0ParticipantThere is a button at the back of the ev3 that only gets pressed by the akku. It should be detectable somehow.
May 25, 2015 at 14:43 #5408
Anders SøborgKeymasterHi Max
Could you please post a picture of this… I do not have a rechargeable battery.
/Anders
May 26, 2015 at 00:57 #5409
Tcm0ParticipantOctober 9, 2015 at 05:25 #5514
Bernhard HofmannParticipantI wonder what my battery level is. 😉
-
This reply was modified 10 years, 2 months ago by
Bernhard Hofmann.
October 9, 2015 at 05:34 #5516
Bernhard HofmannParticipantWell that didn’t work on my mobile, trying with my laptop now…
-
This reply was modified 10 years, 2 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.


Follow