🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • 2 Votes
    2 Posts
    3k Views
    U
    @HappyUser TimePageSprite.drawString(20, 20, "Hello", (const lgfx::FixedBMPfont*) &fonts::FreeMonoBold12pt7b);
  • M5 Timer Camera not holding charge?

    PRODUCTS
    3
    0 Votes
    3 Posts
    2k Views
    I
    @felmue When i unplug the camera and try to stream the video it dies after about a minute, surely it should last longer than that, how can i charge the battery? I'm not sure if im just not doing something right.
  • M5 Tough extention board moficiation

    PRODUCTS
    5
    0 Votes
    5 Posts
    3k Views
    L
    @ajb2k3 Thank you, I found the schematics (https://github.com/m5stack/M5-Schematic), but do you know where I can find Gerber files ?
  • Need help to build a parking sensor

    PRODUCTS
    2
    0 Votes
    2 Posts
    1k Views
    ajb2k3A
    @JeyOne Please take a look at the examples in UIFLow's project zone. As to home assistant, I'm sure someone knows about HA.
  • M5 card Computer with more than firmware

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    @qatar20-22 you need to install a multi boot loader to the card computer and install compatible firmwares otherwise you install the UIFlow2 firmware and learn how to code
  • Cardputer Screen

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    S
    @mattjcuk You can rotate the screen in the init section: [image: 1717485824578-e7aa0713-633b-4fca-921a-64301e80fe31-image.png] The "Boot option" may also be useful for you, so add this as well.
  • M5Stack Plus 2 does not connect to usb

    PRODUCTS
    3
    0 Votes
    3 Posts
    2k Views
    ajb2k3A
    @wanvieira1 Have you installed the USB drivers?
  • GNSS module DIP settings - cannot understand

    PRODUCTS
    5
    1
    0 Votes
    5 Posts
    3k Views
    teastainT
    @robski good! maybe THIS will help? [image: 1717003386598-screenshot-2024-05-29-at-1.09.15-pm.jpg]
  • 0 Votes
    5 Posts
    3k Views
    Q
    I think I still am doing something wrong. In the example below it seems that the M5 isn't reacting to the commands. Do I have to scan a QR code from the manual first to get it into the proper state? Example 1: import serial import time wakeup_cmd = bytes([0x00]) host_mode_cmd = bytes([0x07, 0xC6, 0x04, 0x08, 0x00, 0x8A, 0x08, 0xFE, 0x95]) start_scan_cmd = bytes([0x04, 0xE4, 0x04, 0x00, 0xFF, 0x14]) stop_scan_cmd = bytes([0x04, 0xE5, 0x04, 0x00, 0xFF, 0x13]) print('Open serial port') ser = serial.Serial('COM4', 9600, timeout=1) # Adjust the port name and baud rate as needed try: print('Wake up!') ser.write(wakeup_cmd) time.sleep(0.05) print('Host mode') ser.write(host_mode_cmd) time.sleep(0.5) print('Start scan') ser.write(start_scan_cmd) time.sleep(3) print('Stop scan') ser.write(stop_scan_cmd) time.sleep(1) print('Bytes waiting at serial port: ' + str(ser.in_waiting)) response = ser.read(ser.in_waiting) print("Received:", response.decode()) except Exception as e: print("Error communicating with serial device: ", e) finally: print("Close serial port") ser.close() The output: Open serial port Wake up! Host mode Start scan Stop scan Bytes waiting at serial port: 0 Received: Close serial port Doing something simpler doesn't work either: Example 2: software_version_cmd = bytes([0x04, 0xA3, 0x04, 0x00, 0xFF, 0x55]) print('Open serial port') ser = serial.Serial('COM4', 9600, timeout=1) # Adjust the port name and baud rate as needed try: print('Wake up!') ser.write(wakeup_cmd) time.sleep(0.05) print('Check software version') ser.write(software_version_cmd) time.sleep(1) print('Bytes waiting at serial port: ' + str(ser.in_waiting)) response = ser.read(ser.in_waiting) print("Received:", response.decode()) except Exception as e: print("Error communicating with serial device: ", e) finally: print("Close serial port") ser.close() The output: Open serial port Wake up! Check software version Bytes waiting at serial port: 0 Received: Close serial port
  • Core2: AXP2101 giving false values

    PRODUCTS
    5
    0 Votes
    5 Posts
    5k Views
    C
    @robouden To get the Core2 V1.1 units to power on from an external supply, I found a fix was needed in the axp::begin() function to check for VBUS power before deciding whether to enable the VBUS converter. Both my fix and the current official version can be found here https://github.com/m5stack/M5Core2/commit/c26f1b63635c90d9bd82d87db6ab4d9048b3a1b5
  • M5core zigbee

    PRODUCTS
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • M5 card computer - doesn't care

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    H
    What did you do with the device during the day of use? it may help to charge it for a few hours. If still not turning on there might be a faulty firmware, try to to enter download mode by press and hold the G0 button on StampS3 before turning it on, then release it after powering it on. If this works, erase and re-burn firmware.
  • M5 Stamp S3 (or M5Dial): Input from console

    PRODUCTS
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • My M5DINMeter is not working.

    PRODUCTS
    7
    1
    0 Votes
    7 Posts
    4k Views
    S
    @felmue Thank you for your answer. I erased and burned the firmware 2.0.4 hotfix version several times and it worked. I don't know why it suddenly started working. I just repeatedly erased and burned it.
  • M5Dial connect to account

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Use M5Burner to erase and reburn uiflow2.
  • what's the Pin for M5dial BtnA

    PRODUCTS
    7
    0 Votes
    7 Posts
    5k Views
    C
    @codeblue This diagram on page two. Here a cutout with my annotation: [image: 1713164860351-5bc0376f-2c72-442e-832b-9149e4348239-image.png]
  • M5 BugC2 default software functions

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    teastainT
    @俺がガンダムだ You are probably just seeing the Product Demo and test firmware. Almost all M5Stack products are 'ready to be programmed' but do very little outside the box. Use UIFlow or Arduino IDE to add functions of your own choice and your own design. https://docs.m5stack.com/en/app/BUGC2 https://github.com/m5stack/M5Hat-BugC
  • M5Stack ESP32-S3 with PSRAM ?

    PRODUCTS
    2
    0 Votes
    2 Posts
    3k Views
    L
    @luckylinux you may look for generic esp32-s3-devkitc-1
  • 0 Votes
    2 Posts
    2k Views
    ajb2k3A
    Have you tried erasing the firmware and returning the firmware with M5Burner?
  • M5Stack RS485 Base and Unit

    PRODUCTS
    2
    0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @luckylinux correct, the Atomic RS485 Base is not isolated. See schematic here. Compared to Isolated RS485 Unit which uses the CA-IS3082W IC - schematic here. Thanks Felix