• blackfire
    arrow-up
    21
    arrow-down
    0
    ·
    8 months ago
    link
    fedilink

    20 hour battery life of use is actually far better than I thought it would be. Wonder what the pi equiv build would bu

    • j4k3English
      arrow-up
      30
      arrow-down
      0
      ·
      8 months ago
      link
      fedilink

      The Pi in any form is a much larger system with a whole lot more clock cycles, larger architecture, and more peripherals like a full memory management unit, graphics hardware, etc.

      On the flip side IIRC most ESP32’s are 210MHz and just dual core. It is microcontroller versus microprocessor, so probably 10× less power or more.

      • cmnyboEnglish
        arrow-up
        13
        arrow-down
        1
        ·
        8 months ago
        link
        fedilink

        A Raspberry Pi Pico would be sufficient for this. It uses the RP2040, which is comparable to the ESP32, minus the WiFi.

        • JustEnoughDucks
          arrow-up
          7
          arrow-down
          0
          ·
          8 months ago
          link
          fedilink

          Actually not really. The pi pico has no functional, good low power states currently developed. That is essential for a mobile device. A pi pico would simply drain the battery in sleep mode very quickly.

          Tons of MCUs could do the job. Some STMs would also be good for it. The pi pico is more focused at non-mobile applications though at the moment like a very cheap general MCU for things that are USB powered or mains powered.

          • cmnyboEnglish
            arrow-up
            7
            arrow-down
            1
            ·
            8 months ago
            link
            fedilink

            For something like this, you would use the RP2040 chip rather than the whole Pi Pico module. The RP2040 uses 180µA in its lowest power sleep mode and the flash and regulator will use a few more microamps. The battery would still last for over a year in standby. Of course it could just be turned off when not in use. Without an operating system, the boot time should only be a fraction of a second.

            The ESP32 uses 800µA in sleep mode if you want to retain the memory contents or 10µA with only the RTC memory retained.

            A low power STM32 would use orders of magnitude less power in sleep mode than either the RP2040 or ESP32 though.

            • JustEnoughDucks
              arrow-up
              7
              arrow-down
              0
              ·
              8 months ago
              edit-2
              8 months ago
              link
              fedilink

              Yes, I know. I have designed with the RP2040 and 180μA is extremely high power usage for deep sleep mode.

              The ESP32 has far more sleep modes than that that each use different power, you are just talking about its light sleep: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html

              You are comparing the deep sleep of the pi pico to the light sleep of the ESP32 where the coprocessor is still running. The rp2040 light sleep mode consumes 7mA. It is literally orders of magnitude different. https://learn.adafruit.com/deep-sleep-with-circuitpython/rp2040-sleep (they only did light sleep.mode because deep sleep wasn’t even available)

              As far as the professional chips, they cost on average far more for less and less sleep gains. (A lot of the L series of stm is like 15€ per chip)

              You would definitely use deep sleep for this as you would only wake it up to start using it with a button press. Whether they would use light sleep or deep sleep, there is an order of magnitude difference in sleep power consumption.

    • /home/pineapplelover
      arrow-up
      4
      arrow-down
      1
      ·
      8 months ago
      link
      fedilink

      That’s actually so low imo. It just plays music and doesn’t connect to internet right? Should last for like a week at least.

      • echo64
        arrow-up
        8
        arrow-down
        0
        ·
        8 months ago
        link
        fedilink

        20 hours of playback. Not 20 hours of idle.

      • muhyb
        arrow-up
        3
        arrow-down
        0
        ·
        8 months ago
        link
        fedilink

        It needs a serious optimization. iPod Nano 7 lasts 30 hours with a 240 mAh battery. So with 2200 mAh, it should last like 10 days at least.

          • muhyb
            arrow-up
            2
            arrow-down
            0
            ·
            8 months ago
            link
            fedilink

            It has a 150 mAh battery, so even with Shuffle’s optimization level, 2200 mAh should still last more than a week for Tangara. I gave Nano 7 as an example because it’s what I have. Of course I’m not expecting Apple level optimization but they can do much better. Otherwise 2200 mAh is an overkill for such a device.