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

    Power consumption on Pytrack with SiPy

    Scheduled Pinned Locked Moved Expansion Board
    gpspytrackaccelerometerpower saving
    17 Posts 9 Posters 5.4k Views 11 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.
    • E Offline
      Emmanuel Goudot
      last edited by

      For GPS, looking at L76GNSS.py, it seems it is possible through I2C (GPS_I2CADDR) to send command to GPS.
      p.17 of Quectel doc states that:
      "Sending $PMKT161,0*28 will enter into standby mode, sending any data via UART1 will make the module exit from standby mode"
      Standby mode: 500µA
      So I guess it is possible to do it (myself).

      For accelerometer, some LIS registers will need to be setup.
      But what about INT1 or INT2 connections to ESP32 on Pytrack to raise an interrupt & wake up µP (from sleep or deep sleep) ???

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        bucknall @Emmanuel Goudot
        last edited by

        @Emmanuel-Goudot Yes, the interrupts are currently connected to the onboard PIC of the Pytrack, which makes it a bit more difficult to manage regarding simply connecting the accelerometer to the ESP32 interrupts. We're working on this and will let you know when it's ready!

        Developer Evangelist - Pycom

        joeriJ 1 Reply Last reply Reply Quote 0
        • E Offline
          Emmanuel Goudot
          last edited by

          I have now tested on Pytrack.
          After sending "$PMTK161,028\r\n" to L76, it seems that I2C scan loose 16 ID (remains [8, 30]).
          Is it normal behaviour ?

          Then after asking for deep_sleep (py.setup_sleep(SLEEP_TIME) and py.go_to_sleep()), is L76 still powered (so it really stay in standby) ?

          Third question: are electric schematics of pytrack avail to understand a bit more what is happening ?
          And is SW of PIC16LF1459 also avail ?
          Thanks, Emmanuel.

          T 1 Reply Last reply Reply Quote 1
          • T Offline
            tveito @Emmanuel Goudot
            last edited by tveito

            @Emmanuel-Goudot

            Hello, have a look at this post (tested power in deep sleep)

            https://forum.pycom.io/topic/1460/power-consumption-deep-sleep-pysense-pytrack

            1 Reply Last reply Reply Quote 0
            • joeriJ Offline
              joeri
              last edited by

              Is there an update on this topic? I was hoping to use the interrupts in a project next week.

              1 Reply Last reply Reply Quote 2
              • joeriJ Offline
                joeri @bucknall
                last edited by

                @bucknall Can you give any updates on the availability of the interrupts?

                B 1 Reply Last reply Reply Quote 1
                • B Offline
                  bucknall @joeri
                  last edited by

                  @joeri The library for the Deep Sleep Shield 'wake from interrupt' is available now. Daniel is working to implementing it in the Pytrack and Pysense and will be coming shortly.

                  Thanks,

                  Alex

                  Developer Evangelist - Pycom

                  J joeriJ 2 Replies Last reply Reply Quote 2
                  • J Offline
                    jcaron @bucknall
                    last edited by

                    @bucknall @daniel any update on this? When will be able to wake on interrupt with the Pysense, at least for external pins (EXT_IO4/5)?

                    Thanks!

                    1 Reply Last reply Reply Quote 1
                    • T Offline
                      this.wiederkehr
                      last edited by this.wiederkehr

                      Also eagerly (and a bit angry) waiting for this on pytrack but not to wake from deepsleep but just to have the interrupt routed to the esp32 as is shown on the pinout here:

                      This feature is advertised on the pinout but seems not available right now...
                      https://docs.pycom.io/chapter/datasheets/downloads/pytrack-pinout.pdf

                      Also see this thread:
                      https://forum.pycom.io/topic/1682/pytrack-lis2hh12-interrupts-make-i2c-bus-freeze

                      1 Reply Last reply Reply Quote 0
                      • joeriJ Offline
                        joeri @bucknall
                        last edited by joeri

                        @bucknall @daniel I'm having quite some power consumption issues with a prototype due to the accelerometer interrupt not being available. Now I need to regularly wake the board on a timer to check for movement which is not efficient.
                        Is there any update on a timeline for this feature to be released?

                        E 1 Reply Last reply Reply Quote 0
                        • E Offline
                          ekwus @joeri
                          last edited by

                          @bucknall @daniel Can we get an update on progress here? I'm waiting on interrupt operation from the accelerometer as per the information I was sold the PySense board on!!

                          At least release the various schematics and information we would need to do this ourselves?

                          PyCom is quickly becoming great promises instead of great products. A lot of the reasons to pick your products over others are the fringe features you don't actually have but suggest you do.

                          Very poor and I'm sure I'm not the only one currently delaying projects and effectively loosing money after backing you as a supplier.

                          1 Reply Last reply Reply Quote 1
                          • A Offline
                            asaph
                            last edited by

                            @bucknall @daniel my prototype is begging for sleep. any progress on accelerometer interrupt?

                            1 Reply Last reply Reply Quote 1
                            • A Offline
                              asaph
                              last edited by

                              cross-referencing for relevant update (yay!)

                              https://forum.pycom.io/topic/1861/accelerometer-wake-up-features-added-to-pytrack-and-pysense

                              joeriJ 1 Reply Last reply Reply Quote 0
                              • joeriJ Offline
                                joeri @asaph
                                last edited by

                                @asaph I've tried it out and it works fantastically 🎉 Thanks @Daniel!

                                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