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

    M5Stack MultiApp Firmware

    PROJECTS
    6
    18
    47.3k
    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.
    • C
      Calin
      last edited by Calin

      Yes. There is a multi meter included... still working on it...
      I just collected a bunch of apps and included them all in one firmware.
      I was just curious how much this ESP32 can handle...
      Till now, i'm impressed how good it is :)

      I will need some suggestions for menu icons/images tough...

      1 Reply Last reply Reply Quote 0
      • dasloloD
        daslolo
        last edited by daslolo

        That's a lot of apps.
        This guy managed to render 3D in flat shaded, this would be a great way to show off the title menu https://www.youtube.com/watch?v=5t1_XNc3vNw ... on composite video :)

        1 Reply Last reply Reply Quote 0
        • P
          pkourany
          last edited by

          OMG alll those apps fantastic! Please, please please share that goodness!!!!

          1 Reply Last reply Reply Quote 0
          • C
            Calin
            last edited by

            The source code is available at https://github.com/botofancalin/M5Stack_MultiApp_Firmware

            The project was eventually ported to Visual Studio with VisualMicro plugin

            The project story:
            The project was initially made on VS Code and PlatformIO - a very very nice IDE with a VERY fast compiler
            Still... i had to fix the PlatformIO integrated ESP-IDF...
            and today... the PlatformIO decided to stop working on VS Code (after a VS Code update).
            Was still working fine on Atom...
            Atom don't support intellisense so... i moved to Visual Studio and VisualMicro

            I am open for sugestions what apps should i include into this project.
            The ESP32 flash still have lot of free space.
            At some time i added an Mp3 Player but i had trubles setting the volume on ESP DAC so i remove it till i find a solution

            For now, i am planning to add Wifi Support (by user/pass and by WPS)

            1 Reply Last reply Reply Quote 1
            • P
              pkourany
              last edited by

              @Calin, I REALLY like this project. My M5Stack (2018) is not very happy with the bottom and battery so I will most likely keep it powered via USB most of the time. Having multiple tools available via the menu is fantastic. Some data logging to SD apps would be great, including the meter app. It would also be great to have a simple logic analyzer available. Thanks for your great work! I need to setup a VS environment now ;)

              C 1 Reply Last reply Reply Quote 0
              • C
                Calin @pkourany
                last edited by

                @pkourany 在 M5Stack MultiApp Firmware 中说:

                @Calin, I REALLY like this project. My M5Stack (2018) is not very happy with the bottom and battery so I will most likely keep it powered via USB most of the time. Having multiple tools available via the menu is fantastic. Some data logging to SD apps would be great, including the meter app. It would also be great to have a simple logic analyzer available. Thanks for your great work! I need to setup a VS environment now ;)

                Check out the evolved project : https://github.com/botofancalin/M5Stack_SuperApp_PlatformIO
                That one is made on Visual Studio Code and PlatformIO
                This one contain a web server, Wifi settings, WPS, etc...

                hm... logic analyzer... it can be done...
                what exactly do you need to analyze?

                Any other suggestions ?

                P dasloloD 2 Replies Last reply Reply Quote 1
                • P
                  pkourany @Calin
                  last edited by

                  @calin, I have seen code for doing a simple I2C sniffer/decoder and possibly one for OneWire. Those would be really useful next to a simple 4-channel logic analyzer with trigger set, sampling rate and small buffer. Suggestions!!! I'm working on it.

                  1 Reply Last reply Reply Quote 0
                  • dasloloD
                    daslolo @Calin
                    last edited by daslolo

                    @calin 在 M5Stack MultiApp Firmware 中说:

                    Any other suggestions ?

                    Since oscillo works, you can also graph FFT and from that detect Hz +THD.
                    Benefit: detects the quality of the electricity and helps troubleshoot and predict issues.

                    I started a project on that, measurements are out of wack, maybe we can work together on it?
                    https://github.com/laurentopia/M5-Signal-Multimeter

                    alt text

                    C 1 Reply Last reply Reply Quote 2
                    • C
                      Calin @daslolo
                      last edited by

                      @daslolo 在 M5Stack MultiApp Firmware 中说:

                      @calin 在 M5Stack MultiApp Firmware 中说:

                      Any other suggestions ?

                      Since oscillo works, you can also graph FFT and from that detect Hz +THD.
                      Benefit: detects the quality of the electricity and helps troubleshoot and predict issues.

                      I started a project on that, measurements are out of wack, maybe we can work together on it?
                      https://github.com/laurentopia/M5-Signal-Multimeter

                      alt text

                      sure.. i'm in :)

                      1 Reply Last reply Reply Quote 1
                      • M
                        Murzik
                        last edited by

                        Dont work precompiled software. My log file is:
                        rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
                        flash read err, 1000
                        ets_main.c 371

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Calin @Murzik
                          last edited by

                          @murzik 在 M5Stack MultiApp Firmware 中说:

                          Dont work precompiled software. My log file is:
                          rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
                          flash read err, 1000
                          ets_main.c 371

                          First, compile and write any example from M5Stack library to your m5Stack, using arduino IDE or any any other preffered IDE.
                          Then flash the precompiled firmware to address 0x10000

                          Check out the flashing instructions jpg

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Murzik @Calin
                            last edited by

                            @calin Complete M5Stack-SAM. This software worked fine. Complete on flashing instructions jpg.
                            Dont worked! Any more ideas?
                            0_1523770754937_My_M5Stask.jpg

                            1 Reply Last reply Reply Quote 0
                            • C
                              Calin
                              last edited by

                              It might be the chip revision i tested the multiapp only on M5 with chip revision 1
                              The MultiApp source code is available on github.
                              Compile the code and upload

                              1 Reply Last reply Reply Quote 0
                              • C
                                Calin
                                last edited by

                                M5Stack MultiApp Advanced released: http://forum.m5stack.com/topic/194/m5stack-multiapp-advanced-firmware
                                Back to PlatformIO IDE :)

                                1 Reply Last reply Reply Quote 0
                                • dasloloD
                                  daslolo
                                  last edited by

                                  @calin 在 M5Stack MultiApp Firmware 中说:

                                  M5Stack MultiApp Advanced released: http://forum.m5stack.com/topic/194/m5stack-multiapp-advanced-firmware
                                  Back to PlatformIO IDE :)

                                  With Web Radio and wifi auto-connection WPS!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Meldrak
                                    last edited by Meldrak

                                    The app seems to be broken. I have tried compiling it as per the instructions on a windows 11 and on a mac. I get the same errors on both. Can anyone please help me? Here is the error code from VS.

                                    Compiling .pio/build/esp-wrover-kit/src/Apps/WiFiWps/WpsConnect.cpp.o
                                    src/Apps/WiFiWps/WpsConnect.cpp: In function 'void wpsInitConfig(bool)':
                                    src/Apps/WiFiWps/WpsConnect.cpp:30:12: error: 'struct esp_wps_config_t' has no member named 'crypto_funcs'
                                    config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
                                    ^~~~~~~~~~~~
                                    src/Apps/WiFiWps/WpsConnect.cpp:30:28: error: 'g_wifi_default_wps_crypto_funcs' was not declared in this scope
                                    config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    src/Apps/WiFiWps/WpsConnect.cpp:30:28: note: suggested alternative: 'g_wifi_default_wpa_crypto_funcs'
                                    config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    g_wifi_default_wpa_crypto_funcs
                                    src/Apps/WiFiWps/WpsConnect.cpp: In function 'void Wps_run(bool)':
                                    src/Apps/WiFiWps/WpsConnect.cpp:90:27: error: no matching function for call to 'onEvent(void (&)(arduino_event_id_t, system_event_info_t))'
                                    WiFi.onEvent(WiFiEvent);
                                    ^
                                    In file included from /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
                                    from /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
                                    from lib/M5Stack/M5StackMod.h:30,
                                    from src/Apps/WiFiWps/WpsConnect.h:2,
                                    from src/Apps/WiFiWps/WpsConnect.cpp:8:
                                    /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:159:21: note: candidate: 'wifi_event_id_t WiFiGenericClass::onEvent(WiFiEventCb, arduino_event_id_t)' <near match>
                                    wifi_event_id_t onEvent(WiFiEventCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
                                    ^~~~~~~
                                    /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:159:21: note: conversion of argument 1 would be ill-formed:
                                    src/Apps/WiFiWps/WpsConnect.cpp:90:18: error: invalid conversion from 'void ()(arduino_event_id_t, system_event_info_t)' to 'WiFiEventCb' {aka 'void ()(arduino_event_id_t)'} [-fpermissive]
                                    WiFi.onEvent(WiFiEvent);
                                    ^~~~~~~~~
                                    In file included from /Users/readacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
                                    from /Users/jredacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
                                    from lib/M5Stack/M5StackMod.h:30,
                                    from src/Apps/WiFiWps/WpsConnect.h:2,
                                    from src/Apps/WiFiWps/WpsConnect.cpp:8:
                                    /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:161:21: note: candidate: 'wifi_event_id_t WiFiGenericClass::onEvent(WiFiEventSysCb, arduino_event_id_t)' <near match>
                                    wifi_event_id_t onEvent(WiFiEventSysCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
                                    ^~~~~~~
                                    /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:161:21: note: conversion of argument 1 would be ill-formed:
                                    src/Apps/WiFiWps/WpsConnect.cpp:90:18: error: invalid conversion from 'void ()(arduino_event_id_t, system_event_info_t)' to 'WiFiEventSysCb' {aka 'void ()(arduino_event_t*)'} [-fpermissive]
                                    WiFi.onEvent(WiFiEvent);
                                    ^~~~~~~~~
                                    *** [.pio/build/esp-wrover-kit/src/Apps/WiFiWps/WpsConnect.cpp.o] Error 1
                                    ========================== [FAILED] Took 6.34 seconds ==========================

                                    • The terminal process "platformio 'run'" terminated with exit code: 1.
                                    • Terminal will be reused by tasks, press any key to close it.
                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post