Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    3.3V output power off?

    Scheduled Pinned Locked Moved Projects
    6 Posts 5 Posters 78 Views 5 Watching
    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.
    • J Offline
      John Paul
      last edited by

      Hello there,

      I use a WiPy but all pycom devices should be concerned.
      Is there a programming way to cut off power on 3.3V output? I mean, to switch off a connected device or probe when not using it?
      In my case, i have a probe which needs about 30mA when powered on. I would like to switch it off when not used by the main board to save a lot of battery power.

      Thank you! :)
      Jean

      robert-hhR K 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @John Paul
        last edited by

        @John-Paul As far as I know, there is no way to switch the 3.3V output. If you need that, you have to add an external switch, like a P-type Mosfet Transistor. If the power demands are low, you as well supply the external device by a GPIO output. Even if the ESP32 can supply 40mA at it's outputs, the voltage may be well below 3.3V then.

        N 1 Reply Last reply Reply Quote 1
        • K Offline
          kjm @John Paul
          last edited by

          @John-Paul I've used the hold function to keep a couple of pins high during deepsleep John. I wired them is parallel & toggled them to inputs to switch the load off (to avoid the few microseconds of ugliness that might otherwise occur from switching them sequentially to outputs low). They easily handled 25mA without too much voltage droop.

          1 Reply Last reply Reply Quote 0
          • N Offline
            neil jepsen @robert-hh
            last edited by

            @robert-hh That is also my experience. There is a circuit quoted in the pycom docs at OEM MODULES/G01/DATASHEET pdf/page22. b2129764-468f-4b6a-a03f-9b7bc9647180-image.png which does the job.
            Note that there is an error in this dwg, and Q2 should be a P channel pwr fet such as the BSP170.
            When the gate of Q1 - which could be tied to a GPIO output - goes high, the 'active power' output will be at 3.3v.
            I use this circuit (with a P ch FET) to switch off the 3.3v to non essential devices when my G01 goes to sleep.

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cowessess Nuka Banned
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • C Offline
                Cowessess Nuka Banned
                last edited by

                This post is deleted!
                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
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom