Battery indicator

HomeForumsMonoBrick EV3 FirmwareBattery indicator

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #4984
    Author Image
    Jacek S
    Participant

    Hi,

    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

    #4985
    Author Image
    Anders Søborg
    Keymaster

    Hi 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

    #4986
    Author Image
    Jacek S
    Participant

    Ok, great. I will try. Thanks

    #5302
    Author Image
    Kristofer Jaxne
    Participant

    I 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?

    #5304
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    No the current is returned in mA and the voltage in mV

    /Anders

    #5306
    Author Image
    Kristofer Jaxne
    Participant

    Do you have any idea of example values for low battery level and just charged?

    #5312
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    Do you have any idea of example values for low battery level and just charged?

    No sorry – you will have to try.

    #5324
    Author Image
    Jacek S
    Participant

    Hi,

    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

    #5391
    Author Image
    Kristofer Jaxne
    Participant

    Is there any way to see if connected battery is the rechargeable type or not?

    #5394
    Author Image
    Anders Søborg
    Keymaster

    Hi

    No not to my knowledge…

    /Anders

    #5399
    Author Image
    Tcm0
    Participant

    There is a button at the back of the ev3 that only gets pressed by the akku. It should be detectable somehow.

    #5408
    Author Image
    Anders Søborg
    Keymaster

    Hi Max

    Could you please post a picture of this… I do not have a rechargeable battery.

    /Anders

    #5409
    Author Image
    Tcm0
    Participant

    super epic image
    It’s exactly the same with the NXT’s rechargable battery.

    • This reply was modified 9 years, 7 months ago by Author ImageTcm0.
    • This reply was modified 9 years, 7 months ago by Author ImageTcm0.
    #5514
    Author Image
    Bernhard Hofmann
    Participant

    I wonder what my battery level is. 😉

    null

    #5516
    Author Image
    Bernhard Hofmann
    Participant

    Well that didn’t work on my mobile, trying with my laptop now…

    'Adapted' power supply.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.

Posted in

Make a donation