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

    Still need help for 3 basic stuff : matter of pin : digital/analog output/input ?

    UIFlow
    3
    6
    9.5k
    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.
    • S
      Serge
      last edited by Serge

      I really like M5Stack ; i use UIFlow. With demos about some sensors i managed to make a few things.
      Some bugs with previous version have disapeared with 1.6 and 1.7, and that s really nice.

      But i still need help :
      can someone tell me how to :

      • make a 3 colored traffic light with 3 LEDs as we find each time for arduino ? What pins can i use for a DIGITAL OUTPUT and how can i set them HIGH or LOW?
      • what pin can i use for de ANALOG OUTPUT and make for example a voltage ramp or a sinus signal ?
      • make a connexion with a pH-meter or a conductivity-meter or any science measurement apparatus with a 0-5V output ? what pins can i use for a ANALOG INPUT ?

      if someone can help me for those basic stuff ? Thanks a lot.

      1 Reply Last reply Reply Quote 0
      • R
        robalstona
        last edited by

        Link to Uiflow handbook. You must find file quickblockref.pdf

        https://github.com/Ajb2k3/UIFlowHandbook

        On this site you have information which pins you can use as input/output adc input/dac output
        https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

        1 Reply Last reply Reply Quote 1
        • S
          Serge
          last edited by Serge

          Hi, thanks, there s a lot a reading there.
          I ve just understand the association on the picture below. Maybe it is too obvious or i am a ?**!@&0_1622285897944_m5_rear_no_s2.png

          1 Reply Last reply Reply Quote 0
          • R
            robalstona
            last edited by

            You must also find what other deviced are builtin (like gyroscope, microphone, buttons leds) and what gpio pins they used.

            1 Reply Last reply Reply Quote 0
            • S
              Serge
              last edited by Serge

              Yes. Maybe that kind of sheet already exists somewhere ? M5-Core-Schematic(20171206).pdf
              GPIO 37 38 39 are for buttons A, B C. for example ?

              I guess aviable GPIOs are only those with male or female connexions as shown on picture above so they re the only one we can really use.

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

                @robalstona thanks for sharing my book.
                @Serge hi, sorry been busy.
                I/O pins are 3v3 tolerant not 5V tolerant and no need additional components to protect them.
                The book was mainly based around UIFlow and M5Stack specific hardware but will have a look.

                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