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

    Can't seem to fint the I2C pins on the expansion board (using SiPy)

    Scheduled Pinned Locked Moved Expansion Board
    i2csipyexpansionboard
    5 Posts 3 Posters 2.4k Views 3 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.
    • L Offline
      Lokefar
      last edited by

      The problem is more or less stated in the title. Can anyone tell my what the I2C pins are called? Preferable both on the expansion board and on the SiPy? Really wanna understand it.

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

        @Lokefar
        you can start I2C on "any" pins
        default are pins P9 (SDA) and P10 (SCL)
        you can choose different by putting it in below code instead SDA SCL text

        i2c.init(mode, *, baudrate=100000, pins=(SDA, SCL))
        

        more info here:
        https://docs.pycom.io/pycom_esp32/library/machine.I2C.html

        look at pinout:
        Sipy
        https://docs.pycom.io/pycom_esp32/_downloads/Sipy_v01_1_pinout_rc.pdf
        expansion
        https://docs.pycom.io/pycom_esp32/_downloads/exp_v03_pinout_v13.pdf

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • S Offline
          Shaun
          last edited by

          Looks like the SDA, SCL and MOSI, MISO, CLK and RX0, TX0 and RX1, TX1 labels have all been removed in the latest drawings.

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

            @Shaun
            You have right

            @Lokefar look at pinout of Lopy it should be near same
            https://docs.pycom.io/pycom_esp32/_downloads/lopy_pinout.pdf

            think about people first, then computers

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

              Thanks to Livius. That worked!

              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