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

    LoPy Pin P19 has 2.65V when HIGH

    Scheduled Pinned Locked Moved Discussion
    lopypin
    17 Posts 4 Posters 3.9k Views 4 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.
    • robert-hhR Offline
      robert-hh @constantinos
      last edited by

      @constantinos at 2.65 V at the port pin and 1k resistor you have about 2 mA base current. That is sufficient to drive the BC847. Are you sure that the circuit is ok?

      C 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @constantinos
        last edited by livius

        @constantinos
        How do yo measure voltage (current should be enough for BC847) - on clear pin or connected to something?

        think about people first, then computers

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          constantinos @robert-hh
          last edited by

          @robert-hh Yes it is ok. If I drive this transistor using another LoPy pin it works. I assume (just assume) that pin P19 does not have enough current....

          1 Reply Last reply Reply Quote 0
          • C Offline
            constantinos @livius
            last edited by

            @livius Just using the Expansion board and connect a multimeter on P19 and Ground. Nothing else. It is also happening to Wify,0_1491253169214_P19.jpg if that helps.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmarcelino
              last edited by

              I haven't checked on mine, but going by the datasheet the minimum voltage for HIGH is 0.8 * Vio (3.3V) so that would still be within the parameters.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jmarcelino @constantinos
                last edited by jmarcelino

                @constantinos
                I had a chance to test this and can confirm what you're see is influence from FTDI_RTS, which - according to the Expansion Board diagram - is connected to P19.

                If RTS is enabled (by default) in the FTDI driver of the attached computer you see 2.65V when the pin is HIGH, however if you turn off RTS the pin reads a stronger 3.25V. I'm not sure why this happens but you can avoid this by simply removing the jumper labelled RTS from the Expansion Board.

                Another way is to set RTS low from the attached computer via the FTDI driver. Both will give you the voltages you expect.

                Update: Just remembered that RTS is active low so I can imagine what's happening when RTS is enabled (low,0V) and P19 is high is not a good thing... and neither any other combination for that matter. I think the safest is to remove the jumper unless you really need flow control.

                robert-hhR 1 Reply Last reply Reply Quote 2
                • robert-hhR Offline
                  robert-hh @jmarcelino
                  last edited by

                  @jmarcelino said in LoPy Pin P19 has 2.65V when HIGH:

                  Expansion Board diagram

                  Is that or schematics available somewhere. The hardware documentation of the pycom products is a little bit sparse.

                  J L 2 Replies Last reply Reply Quote 0
                  • J Offline
                    jmarcelino @robert-hh
                    last edited by

                    @robert-hh
                    No schematics but you can see the connections in the pinout diagram https://docs.pycom.io/pycom_esp32/_downloads/exp_v03_pinout_v13.pdf

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      livius @robert-hh
                      last edited by livius

                      @robert-hh
                      We see some progress in this matter but still not enough
                      https://docs.pycom.io/pycom_esp32/_downloads/OEM-baseboard-schematic.pdf

                      Will be good to see it for all parts

                      think about people first, then computers

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jmarcelino @livius
                        last edited by

                        @livius
                        Yes having the main kit board schematics is great, answered my doubts about the 5V regulator and RF switch.

                        I hope we can get one for the expansion board as well, though it's easier to guess what's in there.

                        Actually what I'd really wish is for an improved expansion board. I started a Expansion Board suggestions thread, please have a read and feel free to add to it if there's anything else bugging you.

                        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