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

    M5 Stick C Plus 5V HAT output

    M5 Stick/StickC
    2
    5
    3.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.
    • B
      bazman
      last edited by bazman

      The M5StickC-Plus is being powered through USB.

      The grove port is in use, connected to a temp/humidity sensor (Adafruit AHT20) and magnetometer/accelerometer sensor (Adafruit LSW303AGR).

      I am connecting an RS485 board (using a MAX485 IC) to the HAT pins, but the 5V output is only at 1V.

      Any ideas? Does the 5V output have to be enabled in code?

      1 Reply Last reply Reply Quote 0
      • B
        bazman
        last edited by

        I've given up on this, now powering it direct from USB instead of HAT.

        teastainT 1 Reply Last reply Reply Quote 0
        • teastainT
          teastain @bazman
          last edited by teastain

          @bazman I'm sorry no one responded before.
          The 5V beside the GND pin is 5V always, but the 5V on the other side is 0V, because it is external 5V "in".
          Just tested it now and have used it many times before!

          Cheers, Terry!

          100% M5Stack addict with several drawers full of product!

          B 1 Reply Last reply Reply Quote 0
          • B
            bazman @teastain
            last edited by

            Thanks @teastain. Is there an API to tell what the 5V In voltage is from the HAT? I use the USB voltage to work out if the power has been cut so that I can automatically shutdown the device instead of using battery power. I wonder if this can also be done through the HAT power in...

            teastainT 1 Reply Last reply Reply Quote 0
            • teastainT
              teastain @bazman
              last edited by

              @bazman Here is the StickC API link:https://docs.m5stack.com/en/api/stickc/axp192_m5stickc

              Cheers, Terry!

              100% M5Stack addict with several drawers full of product!

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