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.3.0.b1

    Scheduled Pinned Locked Moved Announcements & News
    32 Posts 16 Posters 14.0k Views 17 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.
    • rcolisteteR Offline
      rcolistete @iotoz
      last edited by rcolistete

      @iotoz said in New firmware release 1.3.0.b1:

      @daniel Thanks for that, I had checked there. I can still only find pycom_update_1.0.0.b3.tar.gz for linux, or any other platform.
      Any chance that you can post a direct link to the linux firmware 1.3.0.b1 ?
      Would be ideal to see a Git rep with the firmware versions to choose.

      See this post :
      "The "file" attribute shows the direct link to the firmware binary files. You can then download the file with wget "https://software.pycom.io/downloads/1.0.0.b2-LoPy_868.tar.gz" and use bin/updater.py -t 1.0.0.b2-LoPy_868.tar.gz -p /dev/ttyUSB0"

      So for 1.3.0.b1 with 915MHz, download the file :
      https://software.pycom.io/downloads/1.3.0.b1-LoPy_915.tar.gz

      My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

      1 Reply Last reply Reply Quote 0
      • C Offline
        crankshaft @daniel
        last edited by

        @daniel - Thanks for the update, but I am struggling with the 100 - 120ma power consumption of the wipy2 and need to reduce power by using the machine.sleep modes and RTC.wakeup()

        Any idea when this will be added ?

        rcolisteteR 1 Reply Last reply Reply Quote 0
        • rcolisteteR Offline
          rcolistete @crankshaft
          last edited by

          @crankshaft said in New firmware release 1.3.0.b1:

          @daniel - Thanks for the update, but I am struggling with the 100 - 120ma power consumption of the wipy2 and need to reduce power by using the machine.sleep modes and RTC.wakeup()

          Any idea when this will be added ?

          Loot at this topic.

          My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

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

            Thanks for this update! I have a question about RTC. Our application requires very low power. The RTC doc says, "The RTC counter ticks at 5 MHz.", but the LoPy (OEM) spec sheet says RTC uses 32KHz, Will a future release give us the option of specifying the 32KHz clock?

            Thanks!

            1 Reply Last reply Reply Quote 0
            • T Offline
              toribios_people @daniel
              last edited by

              @daniel Version 1.1.0 is still not available in the downloads section, when will it be available? Thanks.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zmrzli
                last edited by

                Program below switches led colors every minute or so if Bluetooth() is called.
                Without it runs as expected.
                Is that a bug?

                import pycom
                from network import Bluetooth

                bluetooth = Bluetooth()
                pycom.heartbeat(False) # disable the heartbeat LED

                while True:
                pycom.rgbled(0xff0000) # make the LED light up in RED color
                pycom.rgbled(0x00ff00) # make the LED light up in GREEN color
                pycom.rgbled(0x0000ff) # make the LED light up in BLUE color

                C M J 3 Replies Last reply Reply Quote 0
                • C Offline
                  crankshaft @zmrzli
                  last edited by

                  @zmrzli - I think you need a short sleep in your loop otherwise it will consume 100% processor time and there won't be time to do anything else ?!

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    mohpor @zmrzli
                    last edited by mohpor

                    @zmrzli you are clogging the main thread in that sample code and the CPU never gets to do anything else because of that while True, if you want to change the LED color this fast, try putting it in a thread. And please add some delay between those LED color sets.

                    import pycom
                    import time
                    import _thread
                    from network import Bluetooth
                    
                    bluetooth = Bluetooth()
                    pycom.heartbeat(False) # disable the heartbeat LED
                    
                    def led_totary(id):
                        while True:
                            pycom.rgbled(0xff0000) # make the LED light up in RED color
                            time.sleep_ms(50)
                            pycom.rgbled(0x00ff00) # make the LED light up in GREEN color
                            time.sleep_ms(50)
                            pycom.rgbled(0x0000ff) # make the LED light up in BLUE color
                            time.sleep_ms(50)
                    
                    
                    _thread.start_new_thread(led_totary, (0)) 
                    
                    1 Reply Last reply Reply Quote 1
                    • J Offline
                      jmarcelino @zmrzli
                      last edited by

                      @zmrzli
                      It's not such a bad question because the ESP32 is dual core. I remember reading the original plan was one core would handle all networking while the other would be totally free for the user to use, not sure if that's still the case. Now I'm curious to find out :)

                      That said for sure there's all sorts of locks involved even with two cores so could be the reason

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

                        Hi everyone,

                        At the moment we are only using one of the 2 cores, but we plan to enable multi-core support soon. MicroPython will run on core #1 and the network stacks (BT, WiFi, LoRa, Sigfox) will run on core #0. We have chosen to stay on 1 core for a while to wait for the ESP IDF to become stable enough around dual core support.'

                        Cheers,
                        Daniel

                        1 Reply Last reply Reply Quote 1
                        • Z Offline
                          zmrzli
                          last edited by

                          If bluetooth was not working, than that could be blamed on tight loop without opportunity to release processor (sleep), but that is not the case. Following code takes few minutes to get to green light:

                          import pycom

                          from network import Bluetooth

                          bluetooth = Bluetooth()
                          pycom.heartbeat(False) # disable the heartbeat LED

                          pycom.rgbled(0xff0000)
                          pycom.rgbled(0x00ff00)
                          pycom.rgbled(0x0000ff)

                          It seems that same resource (line?) driving BLE is used for bit banging LED in 1.3...
                          There is change about it in 1.4.0, so maybe this will be fixed.

                          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