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

    M5StickC Plus 2 ADC voltage measurements

    Scheduled Pinned Locked Moved M5 Stick/StickC
    2 Posts 2 Posters 1.5k Views
    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 Offline
      schlasnik
      last edited by

      Hi there, I would like to use the M5StickC Plus 2 to measure several capacitive sensors in a loop by reading their voltage depending on their charge/discharge curve.
      There are 12 sensors in total so each one needs their own analog pin on the ESP32. The fact that the ESP32-PICO-V3-02 offers 2 ADCs would make it possible to parallelize measurements. Hence 6 of the sensors could be measured on ADC1 and 6 others on ADC2. Would this somehow be possible with the M5StickC Plus 2 ? There are 2 problems that I see with this:

      • not enough pins left because of peripherals inside the M5StickC package occupying them

      • no way to access the left-over pins other than the GROVE port which can only give me e.g. 6 additional analog Inputs using the PbHUB

      Any help?

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue @schlasnik
        last edited by

        Hello @schlasnik

        you can connect multiple PbHubs in parallel. For that you'll need to make sure they all have different I2C addresses. The original PbHub has three solder bridges (A0, A1, A2) for that. See here. PbHub v1.1 allows to change its I2C address via command (0xFF). See here.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post