🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5StackSAM - Application Menu Library

    PROJECTS
    7
    14
    38.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JJJ
      JJ @TomSuch
      last edited by

      @tomsuch
      Nice one Tom. Thanks. Should be handy for many users....

      1 Reply Last reply Reply Quote 0
      • reaper7R
        reaper7
        last edited by reaper7

        simple app Accu meter (MAX17043 module soldered inside Battery Module):

        1_1518259074527_accu_meter2.jpg

        0_1518259074527_accu_meter1.jpg

        code based on nlamprian library from https://github.com/nlamprian/LiFuelGauge:
        available on my gist:
        https://gist.github.com/reaper7/c9f8dba68edae8c3d53075b10f6bbba4

        MY GITHUB: https://github.com/reaper7/

        J 1 Reply Last reply Reply Quote 4
        • 面
          面包
          last edited by

          不知楼主是否看得懂中文~哈哈
          这个例子非常好,已经借用,谢谢作者TomSuch~
          另外,建议做菜单列表,比现在的菜单页面直观一些。
          APPLICATION
          1.APP1
          2.APP2
          3.RETRUN
          SYSTEM
          1.SYSTEM INFO
          2.SLEEP/..
          3.RETRUN

          1 Reply Last reply Reply Quote 0
          • J
            jwdberlin @reaper7
            last edited by

            @reaper7 shows strange values: VCell: -0.0213V SoC: -1.00%
            what's going wrong?

            1 Reply Last reply Reply Quote 0
            • JJJ
              JJ
              last edited by

              @jwdberlin
              Hi, just checking... have you added a MAX17043 "battery gauge module" to your M5Stack in some way - perhaps soldered to the add-on Battery module as per reaper7's example ?

              J 1 Reply Last reply Reply Quote 0
              • reaper7R
                reaper7
                last edited by reaper7

                @jwdberlin - i2c scanner app show max17043 at address 0x36?, your master ino has Wire.begin(); ?
                Try first with regular library:
                https://github.com/nlamprian/LiFuelGauge/

                @JimiT - good question :)

                MY GITHUB: https://github.com/reaper7/

                JJJ 1 Reply Last reply Reply Quote 0
                • JJJ
                  JJ @reaper7
                  last edited by

                  @reaper7

                  Hi Reaper7, I'm planning to do this mod.

                  Could you please share some details on how you've wired the MAX17043 ? I am sure others would also be interested.

                  So you've removed the battery connector from the MAX. Looks like you are using 7 of the 8 pins on the the MAX... NOT using the Quick start QSTRT pin from what I can see. Then i presume SDA to G21 on M5Stack; SCL to G22 on M5Stack....

                  Is that right? And the rest ? Thanks !

                  0_1518302458704_MAX17043 Mod.jpg

                  1 Reply Last reply Reply Quote 0
                  • reaper7R
                    reaper7
                    last edited by reaper7

                    0_1518346185558_mod.jpg

                    cutting pcb is not necessary,

                    cutting wire between ACCU+ and VCC also not necessary
                    but I do not want drain accu by max17043 when m5stack is off

                    REMEMBER! If wire between ACCU+ and VCC are not cut (on the max17043 pcb) as it is originally,
                    then connect only ACCU+ pin to M-BUS BATTERY and DO NOT connect VCC to M-BUS 3.3V

                    MY GITHUB: https://github.com/reaper7/

                    JJJ 1 Reply Last reply Reply Quote 2
                    • JJJ
                      JJ @reaper7
                      last edited by

                      @reaper7
                      Excellent thanks very much !

                      1 Reply Last reply Reply Quote 0
                      • J
                        jwdberlin @JJ
                        last edited by

                        @jimit Thanks - after rereading I noticed that a separate module is needed :-) Just ordered some of those...

                        1 Reply Last reply Reply Quote 0
                        • D
                          DoNcK
                          last edited by

                          A bit off-topic:
                          Can someone using a battery gauge indicate how long does the 150mah battery takes to charge on an M5Stack limited edition ? (assuming ESP is sleeping)

                          (FYI, with the screen backlight turned off, and not connected to any network, the battery lasted for 40 minutes with the ESP not sleeping)

                          1 Reply Last reply Reply Quote 0
                          • T
                            TomSuch
                            last edited by

                            A new version of the M5StackSAM library
                            https://github.com/tomsuch/M5StackSAM

                            Added features to easily create and navigate the list.
                            (APPLICATIONS -> LIST DEMO)

                            Added support for the FACES QWERTY keyboard.
                            (APPLICATIONS -> FACES GET STRING)

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post