🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    QRCode2 is hot

    Bases
    2
    3
    48
    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.
    • G
      glabasnat
      last edited by glabasnat

      Hi, I’m using the AtomS3 Lite with the QRCode2 Base.
      The QRCode2 draws a high current of around 170 mA at 5 V and starts to heat up after a few minutes, even in pulse mode.

      Is this normal?
      Is there any way to reduce its power consumption?

      Tomas

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yuyun2000 @glabasnat
        last edited by

        @glabasnat
        The Atomic QRCode2 Base (SKU: A133-B) typically draws a working current of around 174.18 mA at 5V when connected to an Atom-Lite. Your observation of 170 mA is within the expected range, so this behavior is normal.
        However, if the device is heating up significantly, you can try the following to reduce power consumption:

        Use Pulse Mode: Ensure you are using the TRIGGER_MODE_PULSE mode to minimize continuous power draw.
        Adjust Lighting: Reduce the brightness of the fill light (set_fill_light_brightness) or turn it off when not needed (FILL_LIGHT_OFF).
        Limit Continuous Operation: Avoid prolonged continuous scanning by using shorter decode delays (set_decode_delay).

        If the issue persists, check for firmware updates or ensure proper ventilation around the device.

        https://chat.m5stack.com/

        G 1 Reply Last reply Reply Quote 0
        • G
          glabasnat @yuyun2000
          last edited by

          @yuyun2000
          Hi, I used the chat, but it didn’t help.

          I’m using a similar code with Pulse mode:

          AtomS3 Lite + QRCode2 Base = 230mA
          AtomS3 Lite + QRCode1.1 Base = 75mA

          That’s too big of a difference when using a battery.

          import os, sys, io
          import M5
          from M5 import *
          import time
          from base import AtomicQRCode2Base
          
          base_qrcode2 = None
          
          def setup():
            global base_qrcode2, data
          
            M5.begin()
            base_qrcode2 = AtomicQRCode2Base(2, 5, 6, 7)
            base_qrcode2.set_trigger_mode(base_qrcode2.TRIGGER_MODE_PULSE)
            base_qrcode2.set_trig(0)
            time.sleep_ms(30)
            base_qrcode2.set_trig(1)
            print('take measurements')
          
          
          def loop():
            global base_qrcode2, data
            time.sleep_ms(30)
          
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post