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 Development release v1.19.0.b4

    Scheduled Pinned Locked Moved Beta Announcements & Development News
    firmwaredevelopment
    33 Posts 15 Posters 9.5k Views 15 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.
    • S Offline
      Sympatron @iwahdan
      last edited by

      @iwahdan I think it would be nice to have this as frozen modules by default in the future.

      1 Reply Last reply Reply Quote 0
      • C Offline
        cmisztur @soulsurfer
        last edited by

        @soulsurfer here, I documented the process https://medium.com/@chrismisztur/pycom-uasyncio-installation-94931fc71283

        1 Reply Last reply Reply Quote 5
        • T Offline
          tuftec
          last edited by

          It is good to see that RTC memory support has been added.
          Is there a mechanism that can keep the RTC operational when the device is in deep sleep?
          I need a way to maintain system time but require to deepsleep regularly to save power (battery operated).
          My original solution for this was to implement a s/w RTC and to save its state every time I go into deepsleep. I would then use my knowledge of the time in deepsleep (set by the deepsleep timer) and measuring execution time of the start up code (using the chrono functions) to then update my s/w RTC upon waking.
          Very messy but it sort of works. Not very accurate though.
          If there was a way to keep the RTC running (power still applied) then I could hopefully have a much better solution. Using other ESP32 based devices running standard Micropyrhon, it would appear that the RTC function actually continues to operate during deepsleep.
          Have I missed something???? Is there a suggested way to use the RTC when using deepsleep?

          Peter.

          J I 2 Replies Last reply Reply Quote 0
          • J Offline
            jcaron @tuftec
            last edited by

            @tuftec you may want to let us know which hardware combination (module + board) and what deep sleep mode you are using.

            If you are using one of the “older” boards (e.g LoPy, not LoPy 4) with a Pysense, Pytrack or the deep sleep shield, and the PIC-controlled deep sleep, then the ESP32 is indeed completely powered down during deep sleep.

            If you are using one of the more recent boards (e.g LoPy) and machine.deepsleep, I believe the RTC keeps running during deep sleep.

            1 Reply Last reply Reply Quote 1
            • S Offline
              soulsurfer @iwahdan
              last edited by

              OK - Thanks @iwahdan.

              1 Reply Last reply Reply Quote 0
              • I Offline
                iwahdan @tuftec
                last edited by

                Hi @tuftec, well as @jcaron mentioned if you are using a Pycom device with Deepsleep shield you cannot keep track of time using RTC as the device is completely powered Off, however if you are using the newer boards that don't require the Deepsleep shield you can keep track of time using the RTC module in Micropython, you would set the time once using RTC.init() and the RTC would keep counting from that time even in deepsleep , you can check time after wakeup using RTC.now()

                Wahdan

                1 Reply Last reply Reply Quote 1
                • S Offline
                  soulsurfer
                  last edited by

                  Triple thanks @cmisztur!

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    tuftec
                    last edited by

                    Sorry about the scant information.
                    I am building custom hardware around the LoPy4 and FiPy devices.
                    So, based on the post by @iwahdan , does this imply that the RTC should keep going in DeepSleep for both the LoPy4 and FiPy modules? This is contrary to information I was given some time ago.
                    If the RTC keeps going that would be a big advantage for my application.

                    Peter.

                    I 1 Reply Last reply Reply Quote 0
                    • I Offline
                      iwahdan @tuftec
                      last edited by

                      @tuftec , Also you have to take into consideration the fact that if board resets or power is lost the Time is rested to unix epoch , you can use RTC.ntp_sync() to Sync time using an NTP server in case of hard resets.

                      Wahdan

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

                        Any measure of time (in ms) to wake up from light sleep mode ?

                        I'd like to know if a wake on pin (external signal) from light sleep mode would be fast enough for some signal frequencies : 10 Hz ? 50 Hz ? 100 Hz ? 1000 Hz ?

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

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

                          Measured using only software : about 16 ms to wake up from light sleep. Both using wake on pin (interrupt) or timed light sleep.

                          Need to confirm with external measurement : i(t) powering LoPy4 by using oscilloscope + shunt resistor.

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

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            martijnthe
                            last edited by

                            @iwahdan or @Xykon what's the timeline for a non-beta release of v1.19.0?

                            Mostly interested in LittleFS (for robustness and wear-levelling) and the newer micropython.

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

                              @martijnthe said in New Firmware Development release v1.19.0.b4:

                              what's the timeline for a non-beta release of v1.19.0?

                              We are hoping to publish the first release candidate next week.

                              Christian Ehlers

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                reidfo
                                last edited by

                                On both mac and linux I'm getting unexpected sha1 checksum when I try to install the latest development release on FiPy.

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

                                  @reidfo said in New Firmware Development release v1.19.0.b4:

                                  On both mac and linux I'm getting unexpected sha1 checksum when I try to install the latest development release on FiPy.

                                  Are you using the beta firmware updater?

                                  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