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

    How to start dev om M5 Core2?

    General
    2
    6
    2.9k
    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.
    • H
      Haddock
      last edited by

      I got this module in my hand and knows nothing about it. I understand it can be powerful. How should I start?
      Which software should I use? This scratch-thing online? Can I use Visual Studio/Code with Arduino module?
      Can I use this onlinetool and then doing things in Python?

      I have developed apps in Arduino using C.
      I have used Python i some development situations. Python is ok for me to use.
      I normally working with Atmega processors and using Atmel Studio and pure C.

      What do I want to do with this M5?
      Connect to M5 via Wifi (what to to with that connection is another question)
      Get a LED blink
      Read a analogue/digital signal
      Later on, controlling a servo.

      Would be great with some suggestions.

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        Normally you use uiflow however, I have a collection of docs here https://github.com/Ajb2k3/UIFlowHandbook

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • H
          Haddock
          last edited by Haddock

          Great. I will check it out.
          I saw in UIFlow you could use Python in some cases. That gives a degree of freedom I beleive. However, learning this "scratch" (I think it is called) is not wrong. Why not using graphical language? I'm well aware of Labview. That's all graphical language.

          edit: Reading some pdf:s. Great. This is what I need!

          1 Reply Last reply Reply Quote 1
          • ajb2k3A
            ajb2k3
            last edited by

            Uiflow is built on top of Micropython and so when you feel confident, you can leave UIFlow and work directly with the Micropython core.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            H 1 Reply Last reply Reply Quote 1
            • H
              Haddock @ajb2k3
              last edited by

              @ajb2k3 Yeah. I saw the switch up in the middle. Block or Python. I understand that it is, i some way, possible to use clean code. It is great to see what code each graphic symbol creates. I will test it a few days more. I assume there is some way to use the tools on board the M5 but from compiled python code that I upload in the usual way. There is some form of operating system in the M5, I have seen.

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @Haddock
                last edited by

                @haddock said in How to start dev om M5 Core2?:

                @ajb2k3 Yeah. I saw the switch up in the middle. Block or Python. I understand that it is, i some way, possible to use clean code. It is great to see what code each graphic symbol creates. I will test it a few days more. I assume there is some way to use the tools on board the M5 but from compiled python code that I upload in the usual way. There is some form of operating system in the M5, I have seen.

                No operating system. M5Stack devices have a modded version of Micropython which has the needed drivers built in where as mainstream micropython doesn't contain the drivers and needs them manually added.

                Using mainstream Micropython makes for a cleaner, leaner, faster running system.

                The catch is that you can't properly use Micropython in UIFlow as it doesn't save the code instead, you use an IDE like Thonny, MU, or VScode.

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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