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

    New firmware release 1.6.13.b1

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    13 Posts 7 Posters 4.5k Views 7 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.
    • D Offline
      daniel
      last edited by

      Hello,

      A new firmware version has been released. This release is mostly about fixing a problem with the SiPy operating in RCZ2 and RCZ4 were only the first 2 packets of a round of 18 will be transmitted properly. This has been documented in: https://docs.pycom.io/pycom_esp32/library/network.Sigfox.html

      Here's the change log:

      • esp32/sigfox: Store the last tx timestamp in the RTC memory.
      • esp32/sigfox: Add sigfox.rssi() method.
      • esp32/sigfox: On RCZ2 and RCZ4 always go back to the default channel after the second Tx.
      • esp32: Correct incorrect ordering of ADC1 channel pins.
      • esp32: Add more reset causes and make the RTC persistent during deep sleep.

      Cheers,
      Daniel

      L robert-hhR 2 Replies Last reply Reply Quote 0
      • L Offline
        livius @daniel
        last edited by livius

        @daniel
        When I2C as hardware implementation?
        I many times got random errors - especially when more devices are connected:

        OSError: I2C bus error
        

        and this is not capacity problem..

        think about people first, then computers

        robert-hhR 1 Reply Last reply Reply Quote 0
        • D Offline
          danielm
          last edited by

          @daniel
          Could you please mention planned features for next releases?
          When can we expect support of Bluetooth Classic profiles (e.g. SPP)?

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

            @danielm
            Bluetooth Classic depends on the chip supplier, Espressif, which hasn't supported it officially yet - first they need to support it in ESP-IDF and only then can Pycom think of adding it in.

            As far as I know there is no strict schedule on new features from Espressif but they very recently supported Bluetooth A2DP audio sink so SPP may come for ESP-IDF version 3 - but that's many months away, v2 was released less than a month ago.

            Also I think that will eat up a lot of RAM, so maybe unwise to even enable it on current hardware until the modules with greatly expanded external RAM are available.

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

              @livius Did you add external pull-up resistors? The internal weak pull-up may be not strong enough to drive several units. Typically 4k7 Ohm is recommended.

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

                @robert-hh
                Yes, i have. But when i wrote

                many times

                it was ony generality - it happen for me e.g. 3 times per day.
                I have on i2c:

                • BH1750
                • BMP180
                • HMC5883L
                • 2x16 blue LCD

                think about people first, then computers

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

                  @livius Then it may be the opposite. Do you use the bare chips or modules with the chips embedded. In the latter case they may have already pull-up resistors on-board. In that case, the pull-up value may get too low.
                  As an anecdote: I ordered recently a pair of ADS1115 modules from china, which did not work. Looking closely at the module I saw, that instead of the pull-up resistors the vendor had assembled capacitors on the board (100 nF), which definitely did not help. I complained at the vendor, and they apologized a lot, and promised to send new modules, but better packed this time!

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

                    @daniel
                    In this thread:
                    https://forum.pycom.io/topic/1083/does-deepsleep-work-at-all/
                    you mentioned that you plan to introduce following modification:
                    Do not start-up WiFi by default on boot. This will speed up boot times dramatically and reduce power consumption.

                    Can we expect this modification to be implemented anytime soon?

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

                      @robert-hh
                      In the meantime i have moved i2c display from breadboard (really short connections side by side) and solder it on my custom board. All other devices was soldered previously.
                      But i have also found accidental indentation gc.collect which run really rare.

                      Now whole code work since 26 hours - i must test more to see what caused problems.
                      And i must restart board to see if it still be working that way.

                      P.S. 100 nF nice gift from china for i2c ;-)

                      think about people first, then computers

                      1 Reply Last reply Reply Quote 0
                      • PiAirP Offline
                        PiAir
                        last edited by

                        Re: New firmware release 1.6.13.b1
                        Just for the record since I see a lot of complaining online about using the Windows upgrade tool: on my LoPy it worked without a problem. Upgrading was 2 minutes work, all scripts were still there.

                        1 Reply Last reply Reply Quote 0
                        • robert-hhR Offline
                          robert-hh @daniel
                          last edited by

                          @daniel Hello Daniel, may I kindly ask you to update the firmware repository? There is a substantial lag now.

                          1 Reply Last reply Reply Quote 1
                          • M Offline
                            markj
                            last edited by markj

                            Not sure if this is the right place to ask, but..

                            When I try to get the mac address of my Wipy it gives me this:
                            b'$\n\xc4\x00\xad\xc4' Why does it look look this and how could I get output like a normal mac string?

                            Apparently it is raw bytes in Python 3.
                            The code, running on the firmware version mentioned here.

                            import network
                            wlan = network.WLAN()
                            print(wlan.mac())
                            
                            robert-hhR 1 Reply Last reply Reply Quote 0
                            • robert-hhR Offline
                              robert-hh @markj
                              last edited by

                              @markj use ubinascii.hexlify(string) to covert it to hex-ASCII.

                              1 Reply Last reply Reply Quote 1

                              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