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

    Is M5Cloud down?

    FAQS
    6
    20
    44.1k
    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.
    • M
      M5MPy @JJ
      last edited by

      @jimit
      Thanks for the update.
      Also changed down to .38 upfront posting, but no change, the same as you mentioned.
      So used FTP and REPL on .39 since.
      Also hope they get M5Cloud working again soon, as I changed to MicroPython just recently and really enjoy it. ;-)

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

        @m5mpy

        No problem for the update. I'm sure they will do all they can to get it working ASAP.....

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

          Back online and running again. Thx

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

            @m5mpy Great to hear... thanks for updating status....

            dasloloD JJJ 2 Replies Last reply Reply Quote 0
            • dasloloD
              daslolo @JJ
              last edited by

              @jimit 在 Is M5Cloud down? 中说:

              @m5mpy Great to hear... thanks for updating status....

              you use cloud? how does it compare with arduino ide or ... platformIO
              Calun should pop in any time now ;)

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

                @daslolo @M5MPy

                Hi Daslolo,

                Unfortunately I haven't had time to use the M5Cloud to any great extent.... now I have the software flashed to an M5 again I will check it out...

                Perhaps M5MPy can respond ? M5Cloud vs. arduino ide vs. platformIO.

                Over the air (wireless) updating of the software is cool (M5Cloud).....

                M 1 Reply Last reply Reply Quote 0
                • M
                  M5MPy @JJ
                  last edited by

                  @jimit
                  @daslolo

                  MicroPython VS Arduino is no comparison of equals

                  MPY is running FreeRTOS as uOS and so you have total different opportunities.
                  Best of these for my IoT Application will be Over the Air updating with low amount of traffic.
                  As only packages of text (code) will be sent; the traffic is low and update faster than Arduino USB connection (even without compiling).

                  So I look forward for an adventure switching from Arduino to MicroPython with M5STACK,

                  If you ever considered running multiple thread or tasks - for sure give it a try.
                  If you just want to learn something new, the same. ;-)

                  Cheers

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

                    ESP32 Arduino IDF also run's RTOS.
                    Check the main.cpp on arduino-idf:

                    void loopTask(void *pvParameters)
                    {
                    setup();
                    for(;;) {
                    micros(); //update overflow
                    loop();
                    }
                    }

                    extern "C" void app_main()
                    {
                    initArduino();
                    xTaskCreatePinnedToCore(loopTask, "loopTask", 8192, NULL, 1, NULL, ARDUINO_RUNNING_CORE);
                    }

                    You can create tasks on any core you chose by calling RTOS xTaskCreatePinnedToCore function anywhere in your arduino sketch.

                    You can also change the tasks priorityes, define stack size, use queues, semaphores, mutexes, and all other RTOS features. For OTA you have options to chose from:

                    • Local OTA (upload the firmware without usb cable while M5 is on local network)
                    • Remote OTA: Set the M5 to auto update once a condition is met (like a new firmware version available) like i did on my MultiApp Advanced: http://forum.m5stack.com/topic/194/m5stack-multiapp-advanced-firmware . This way you can update the M5Stack even if is on the other side of the planet.

                    All this without the overhead of an interpreter...

                    M 1 Reply Last reply Reply Quote 2
                    • M
                      M5MPy @Calin
                      last edited by

                      @calin
                      ok.

                      Good point, I came from ATMega and ARM Arduino with "Standard" Arduino knowledge and was totally surprised that M5STACK MicroPython is running FreeRTOS.

                      I will also review your links.

                      Just new to MicroPhyton, I just collected some code pieces in the web to get a "Clock" background task coded with RTC and NTP Sync by just some code lines.
                      BTW. No flickering on the display etc.

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

                        posted my first MicroPython Code here :

                        http://forum.m5stack.com/topic/197/micropython-clock-task-with-rtc-and-ntp-sync

                        @daslolo
                        So, feel free to compare by yourself with Arduino.
                        The "Clock" code does it all for me on displaying time (and date if needed), and if synced to NTP with green or red time digits. Just as a task in the background.

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

                          Concise code for sure. I need all the speed I can get so it'll be Arduino for now.
                          I'm surprised you wouldn't see any flicker on the display since you print every frame, also surprised that there is no clearScreen preceding the print. I'm thinking the python print has a background.

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