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 vs. L01 differences

    Scheduled Pinned Locked Moved LoPy
    l01 differenceslopy
    9 Posts 4 Posters 1.3k 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.
    • T Offline
      Thosch42
      last edited by

      Hi all!
      I switched my hardware from Lopy + Expansionboard v2.1A to L01 + Baseboard + Expansionboard v2.1A. I expected no problems. But there are loads of it.
      First of all, I'm not able to modify the output states of the pins.

      For e.g.

      from machine import Pin
      
      pin_en = Pin('P23', mode=Pin.OUT)
      pin_en(False)
      

      simply does nothing.

      What could be wrong?

      Cheers,
      Thomas

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

        @thosch42 said in Lopy vs. L01 differences:

        P23

        do you have SD card?
        P23 is SDCLK

        think about people first, then computers

        T 1 Reply Last reply Reply Quote 1
        • T Offline
          Thosch42 @livius
          last edited by

          @livius
          No. No SD card. I just replaced a Lopy + Deepsleep Shield with a L01 + Baseboard. Same script (except the deepsleep part), same peripheral hardware.

          Cheers,
          Thomas

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thosch42
            last edited by

            Ok, I found the main problem. After cleaning up the soldered pads of the L01, it works so far.

            But the pin.hold while in deepsleep seems not to work. Is there another difference between the normal deepsleep and the deepsleep via Deepsleep Shield?

            Cheers,
            Thomas

            J sebS 2 Replies Last reply Reply Quote 0
            • J Offline
              jcaron @Thosch42
              last edited by

              @thosch42 Not sure of the details, but this may vary between pins, as I believe some of the pins are controlled by parts of the ESP32 that remain active during deep sleep while others aren't.

              1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb @Thosch42
                last edited by

                @thosch42

                Only pins that are in the RTC power domain can hold a value during deep sleep. These are: P2, P3, P4, P6, P8, P9, P10, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, and P23

                J 1 Reply Last reply Reply Quote 1
                • J Offline
                  jcaron @seb
                  last edited by

                  @seb This should probably be added to https://docs.pycom.io/chapter/firmwareapi/pycom/machine/Pin.html ?

                  sebS 1 Reply Last reply Reply Quote 0
                  • T Offline
                    Thosch42
                    last edited by

                    Yepp, P23 and P22 are the relevant pins in my design. But at the moment, this is my least problem. The L01 seems to be dead. The 1.8V voltage is not there...

                    Hopefully I get the L01 desoldered, without killing the baseboard...

                    Cheers,
                    Thomas

                    1 Reply Last reply Reply Quote 0
                    • sebS Offline
                      seb @jcaron
                      last edited by

                      @jcaron Just added it

                      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