After I’ve ported lvgl to my aurix board now I started to design my visuals. I am planing to design batery maagement system or battery monitor. So I need a cool battery level indicator. I have checked the user manual but coudln’t find a widget about that. Apart from that there is no index in the user manual that is frustrated.
Anyways, I am looking for a widget like below and wanted to ask you if it is already in the library or is there any convinient way to do it? Otherwise I will try to done it with geometric shapes and so on.
I also have a battery monitor, but I stuck with the published widgets. I have two Lithium battery banks @ 25.6V. One is 460AH (11.8kWhrs) and the other 180AH (4.6kWhrs). They charge from excess solar. Here is the front screen (there are 7 more showing individual cell volts, graphs of current etc). The needles on the gauges are red for discharging, black for resting and green for charging.
Hm, seems I cannot attach anything so sorry, cannot attach the graphic of it.
Regds,
Dave
why not take those six individual battery state images, convert them to LVGL accepted form (c array) or use from file system, should you have one. Then, make a img object array (or filename array), and …
Thanks for all answers. Actually I am lookıng somethıngs for more precıse so from 0.0 to 100.0 or at least from 0 to 100 level. And want to show percentage in the middle.
I will go create my widget probably.
Hi
There is no need to have an especial widget. You can use an img object.
In my project, I used a big image that had all of the battery states. then by use of Offset feature, I could display the one I wanted based on the charge of the battery.