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 pinout (work in progress)

    Scheduled Pinned Locked Moved LoPy
    37 Posts 9 Posters 21.1k Views 10 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.
    • P Offline
      pighixxx
      last edited by

      Is the Expansion Board

      P 1 Reply Last reply Reply Quote 1
      • P Offline
        pighixxx
        last edited by

        This is the revised version:
        alt text

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

          nice but all pins are PWM?

          think about people first, then computers

          X 1 Reply Last reply Reply Quote 1
          • X Offline
            Xykon administrators @livius
            last edited by

            @livius said in LoPy pinout (work in progress):

            nice but all pins are PWM?

            I'd rather say all pins can be assigned to one of the 8 high or low speed PWMs.

            Christian Ehlers

            P 1 Reply Last reply Reply Quote 1
            • P Offline
              profra @pighixxx
              last edited by

              @pighixxx oops, probably some misunderstanding, I can not find it... I mean Pymakr and WiPy 2 pins

              1 Reply Last reply Reply Quote 1
              • P Offline
                pighixxx @Xykon
                last edited by

                @Xykon Yes, up to 16 channels simultaneously

                1 Reply Last reply Reply Quote 1
                • bmarkusB Offline
                  bmarkus
                  last edited by bmarkus

                  Is P24 (3.3V) input only? I think when board powered from VIN/5V it can be used to power 3.3V external devices.

                  https://forum.pycom.io/topic/62/3-3v-output-max-load-current

                  X P 2 Replies Last reply Reply Quote 1
                  • X Offline
                    Xykon administrators @bmarkus
                    last edited by

                    @bmarkus said in LoPy pinout (work in progress):

                    Is P24 (3.3V) input only? I think when board powered from VIN/5V it can be used to power 3.3V external devices.

                    P24 is not an IO pin... it's either 3.3V input if you want to power your LoPy from a stable 3.3V power source or it's 3.3V output from the regulator that transforms VIN to 3.3V.

                    Christian Ehlers

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pighixxx @bmarkus
                      last edited by

                      @bmarkus said in LoPy pinout (work in progress):

                      Is P24 (3.3V) input only? I think when board powered from VIN/5V it can be used to power 3.3V external devices.

                      https://forum.pycom.io/topic/62/3-3v-output-max-load-current

                      No, I put also a note that the LDO have a 1.2A load capability.

                      1 Reply Last reply Reply Quote 1
                      • P Offline
                        pighixxx
                        last edited by

                        RTW version

                        alt text

                        1 Reply Last reply Reply Quote 2
                        • B Offline
                          bartvandeenen @mfgeorge
                          last edited by

                          @mfgeorge said in LoPy pinout (work in progress):

                          Hello all,

                          I have found the i2c pins for bus 0 (currently the only one that does not throw an OSError during instantiation).

                          P9 - SDA Bus 0
                          P10- SCL Bus 0

                          Again this is presumably for i2c bus 0. ie i2c_object = I2C(0, I2C.MASTER)

                          Method for finding these pins:

                          These pins were found by looping a "while True: i2c.scan()" in the REPL prompt and scoping around for a clock signal. After the clock signal was found I continued the i2c.scan() and plugged in an i2c sensors SCL to the P10, and checked to either side with the sensors SDA pin and found the address for the sensor was reported back while SDA was connected on P9.

                          Hope this helps and happy hacking everyone!

                          I can confirm, these pins worked right away. I'm using a TMP102 thermometer on address 73d, and I can read the temperature with a oneliner:

                          struct.unpack(">H", i2c.readfrom(TMP,2))[0] * 0.0625/16.
                          28.25
                          

                          Thanks.

                          P.S. I plan to build an open-source wireless house thermostat with the UI on a smartphone, connecting via ble or a lorawan gateway. I choose this board because of its integration and low power consumption. The micropython is a very nice bonus, I was expecting to jump back into C and assembly :-)

                          M X 2 Replies Last reply Reply Quote 0
                          • M Offline
                            mfgeorge @bartvandeenen
                            last edited by

                            @bartvandeenen Good to hear I could help you out! Do you already have your source code on github? I am interested to see how your project will turn out, software and hardware wise.

                            B 1 Reply Last reply Reply Quote 0
                            • B Offline
                              bartvandeenen @mfgeorge
                              last edited by

                              @mfgeorge
                              No there's nothing yet. I'll post here in the forum when there's something.

                              1 Reply Last reply Reply Quote 0
                              • X Offline
                                Xykon administrators @bartvandeenen
                                last edited by

                                @bartvandeenen said in LoPy pinout (work in progress):

                                I plan to build an open-source wireless house thermostat

                                Wouldn't a thermostat chip like the DS1620 be easier in this case?

                                Christian Ehlers

                                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
                                • 2
                                • 2 / 2
                                • First post
                                  Last post

                                Pycom on Twitter

                                Pycom