πŸ€–Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • You can discuss ESPHome related issues here, share your yaml and projects.

    21 Topics
    34 Posts
    D
    Hey! I’m currently having an issue with my stick s3 which arrived literally a couple days ago. When plugged into power, it makes a sound similar to that of a clock ticking while the green LED flashes/blinks. Sometimes it’s a high pitched squeak. When plugged into my computer, it isn’t showing up on the m5burner or any other web based tools. It was working perfectly fine previously however. When unplugged the device does nothing. I’ve tried entering the flash firmware mode by pressing and holding the power button while plugging in but no luck. Also tried pressing the button twice in hopes that the blinking stops, but nope Was using Bruce firmware Thank you!
  • Squareline Studio and LVGL Discussion

    6 Topics
    19 Posts
    S
    @δΏΊγŒγ‚¬γƒ³γƒ€γƒ γ  said in LVGL performance problem: I applied LVGL on stickc-plus2,with TFT_eSPI's st7789v2 driver.But the refreshing rate is very low (while doing "load screen anim").I know stickc had good performance on drawing screen (by watching the video of M5stick T-Lite Thermal tutorial). And the LVGL also has a good performance through Dial-ESP32-S3 and Din-Meter demonstration video. So what is the reason of such low performance. Cound it be the TFT_eSPI library? I’ve seen similar issues on the StickC-Plus2. It could be due to TFT_eSPI settings, try increasing the SPI frequency or enabling DMA. Also, check your LVGL buffer config; full buffering helps with performance.
  • Discuss all things UIFlow here. Bugs, Improvements, Guides etc...

    1k Topics
    4k Posts
    C
    Im trying to run uiflow, but getting api error. im trying to login but credentials are failing. reset pw takes me to M5. what do i do?
  • M5Stack is programmable with the Arduino IDE. Here you can troubleshoot your issues and share Arduino code and libraries

    468 Topics
    2k Posts
    B
    This is the closest I got on a code which provides some sort of acceleration/deaceleration on jumping btw positions. I wonder if is there an official way to achieve this smoothly. Thanks #include "unit_rolleri2c.hpp" #include <M5Unified.h> /* Going to random position every 1 second - trying to move with ease in/out, but very artificial/jittery - not smooth. */ UnitRollerI2C RollerI2C; const int32_t UNITS_PER_DEGREE = 100; const int32_t POSITION_TOLERANCE = 150; // ~1.5Β° arrival threshold const uint32_t MOVE_DURATION_MS = 3000; // total time per move (ms) β€” tune 1000–5000 const uint32_t STEP_MS = 40; // trajectory update interval (ms) const uint32_t PAUSE_MS = 1000; // pause at target before next move int32_t basePosition = 0; // ── Ease-in / ease-out using a sine curve ────────────────────────────────── // t=0.0 β†’ 0.0 | t=0.5 β†’ 0.5 | t=1.0 β†’ 1.0 // Accelerates from rest, decelerates to rest β€” smooth S-curve. float easeInOut(float t) { return (1.0f - cosf(t * PI)) / 2.0f; } // Drives from startUnits β†’ targetUnits over MOVE_DURATION_MS with ease in/out. // Returns true when the motor confirms arrival within tolerance. bool easedMoveTo(int32_t startUnits, int32_t targetUnits) { uint32_t moveStart = millis(); while (true) { uint32_t elapsed = millis() - moveStart; float t = min((float)elapsed / (float)MOVE_DURATION_MS, 1.0f); // Compute eased intermediate setpoint float eased = easeInOut(t); int32_t intermediate = startUnits + (int32_t)((targetUnits - startUnits) * eased); RollerI2C.setPos(intermediate); // Once we've sent the final setpoint, check arrival if (t >= 1.0f) { int32_t actual = RollerI2C.getPosReadback(); if (abs(targetUnits - actual) <= POSITION_TOLERANCE) { return true; // βœ… arrived } // Give a small extra window for the PID to settle if (elapsed > MOVE_DURATION_MS + 1000) { return false; // ⏱️ timed out even after easing finished } } delay(STEP_MS); } } int32_t degreesToUnits(float deg) { return (int32_t)(deg * UNITS_PER_DEGREE); } float unitsToDegrees(int32_t u) { return u / (float)UNITS_PER_DEGREE; } void setup() { M5.begin(); Serial.begin(115200); delay(500); randomSeed(analogRead(0)); bool found = RollerI2C.begin(&Wire, 0x64, 2, 1, 400000); if (!found) { Serial.println("❌ Roller485 NOT found on I2C! Check wiring."); while (true) delay(1000); } Serial.println("βœ… Roller485 found!"); Serial.print("Vin (x0.01V): "); Serial.println(RollerI2C.getVin()); Serial.print("ErrorCode: "); Serial.println(RollerI2C.getErrorCode()); RollerI2C.setOutput(0); RollerI2C.setMode(ROLLER_MODE_POSITION); RollerI2C.setPosMaxCurrent(80000); RollerI2C.setOutput(1); delay(100); basePosition = RollerI2C.getPosReadback(); Serial.print("Base position (raw): "); Serial.println(basePosition); Serial.println("Ready. Starting eased random position loop...\n"); delay(500); } int32_t currentTarget = 0; // tracks last target so we ease FROM it void loop() { // Random angle offset from base: -180Β° to +180Β° float targetDegrees = random(-180, 181); int32_t targetUnits = basePosition + degreesToUnits(targetDegrees); int32_t fromUnits = RollerI2C.getPosReadback(); // start from actual current pos Serial.print("➑️ "); Serial.print(unitsToDegrees(fromUnits - basePosition), 1); Serial.print("Β° β†’ "); Serial.print(targetDegrees, 1); Serial.println("Β° (easing...)"); bool arrived = easedMoveTo(fromUnits, targetUnits); float actualDeg = unitsToDegrees(RollerI2C.getPosReadback() - basePosition); if (arrived) { Serial.print("βœ… Arrived at "); } else { Serial.print("⏱️ Stopped at "); } Serial.print(actualDeg, 1); Serial.println("Β°"); Serial.print(" ErrorCode: "); Serial.println(RollerI2C.getErrorCode()); Serial.println(); delay(PAUSE_MS); // pause 1 second at target }
  • Discuss all things Micropython here. Get help, Recommend Libraries, Report Bugs and Improvements

    218 Topics
    898 Posts
    J
    @pabou try using uiflow to generate the code, then peek copy from there.
  • For discussion and assistance with M5EZ.

    13 Topics
    62 Posts
    J
    using the mentioned changes hello_world example did compile and got uploaded to my core2. However , nothing is shown on screen, screen remains black.
  • Discuss all things related to ESP - IDF, Espressifs IoT Development Framework

    29 Topics
    101 Posts
    felmueF
    Hello @daniyyel ah, ok. So the correct documentation is here. Have a look at the code examples in Quick Start Guide to see how the M5IOE1 needs to be programmed to turn on power etc. The function is called SIM7028_EN() and first turns on power then resets the modem. Thanks Felix
  • UiFlow 2.0 related issues discussion.

    365 Topics
    2k Posts
    O
    My STAM PLS stopped working after updating from version 2.4.4 to version 2.4.5. I used M5Burner to revert the firmware back to 2.4.4. But the STAM LPC program didn't work. OSError 261
  • M5Burner - how to add firmware?

    3
    1
    0 Votes
    3 Posts
    6k Views
    M
    Thank you @ajb2k3 for the tip. That worked! I contacted the M5Stack technical support and not long after my firmware was included in the M5Burner. [image: 1625171551983-ticrthing-resized.jpg]
  • GPS Module. M5Stack Gray

    2
    0 Votes
    2 Posts
    3k Views
    m5stackM
    ah. that seems like a program grammar issues. you need confirm the str don't included any "Special characters". before you use function to conversion it
  • Matrix M5.dis

    10
    0 Votes
    10 Posts
    18k Views
    R
    You can try neopixel library (probally from adafruit)
  • Bluetooth camera controller

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • RTC not working in M5StickCPlus

    2
    0 Votes
    2 Posts
    5k Views
    felmueF
    Hello @lunard I assume you've tried this example as well? This example should start of at the time (18:56:10) and date (3/22/2019) set in setup() and then advance automatically. If the clock is stuck at that time and date, then I'd say probably something's wrong with the RTC in your M5StickCPlus. Thanks Felix
  • how to connect a m5 grey core to stick wireless

    5
    0 Votes
    5 Posts
    9k Views
    A
    Send the message as a string. If you want to send a list, cast it to a string, then use eval() in the receiver.
  • M5Burner 2.2.8 for macOS - Configuration bug

    3
    0 Votes
    3 Posts
    5k Views
    evansjE
    I notice they changed the download link for the macOS version back to 2.2.4.
  • Core 0 panic'ed (Interrupt wdt timeout on CPU0)

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Can't upload with esptool.py to M5Atom on macOS Big Sur

    4
    0 Votes
    4 Posts
    6k Views
    B
    Thanks for the suggestion, @felmue, but I figured out the problem! The default baud rate of 460800 is too fast for this device. If I specify --baud 115200 (in platformio.ini, that would be upload_speed = 115200) it works. Maybe this will be useful to someone else in the future.
  • [M5Stack] BLE Beacon RSSI 0

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • SIM800C send sms - Uiflow or Micropython

    2
    0 Votes
    2 Posts
    3k Views
    J
    Solution: isMessage = (str('Test SIM800') + chr(26))
  • 0 Votes
    3 Posts
    8k Views
    D
    @felmue Thanks Felix, I tested different urls with several jpg images and it is really working. I was probably testing either images with wrong format or simply didn't wait long enough until the image is drawn. And not sure why, I was under impression that images need to be smaller than 50KB ... my bad. Thanks again, you saved me a lot of headache :)
  • M5 Burner only bluetooth on Mac

    2
    0 Votes
    2 Posts
    4k Views
    F
    Have you tried installing the CP210x drivers from SiliconLabs?
  • M5Stack / GPS / UIFlow

    2
    0 Votes
    2 Posts
    4k Views
    felmueF
    Hello @Uli When you say 'GPS sensor' what is the exact hardware you have? Do you have a GPS Module or a GPS Unit from M5Stack or a device from another vendor? What do you mean exactly by 'limitations and possible workarounds'? Where did you read about it? I do not own a GPS Module or GPS Unit so I cannot test it myself, but when I select M5Stack Fire as device in UIFlow 1.7.2 I do see support for both. Thanks Felix
  • How could I make text to speech using the speaker?

    6
    0 Votes
    6 Posts
    17k Views
    M
    @chriswr said in How could I make text to speech using the speaker?: ESP8266SAM *sam = new ESP8266SAM; sam->Say(out, "Can you hear me now?"); delay(500); sam->Say(out, "I can't hear you!"); delete sam; @ChrisWR will this work with ATOM Echo Smart Speaker Development Kit? https://m5stack.com/collections/m5-atom
  • recording .bin file via M5Burner

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • ** [IMPORTANT] OSX BigSur update FAQ solutions **

    2
    0 Votes
    2 Posts
    9k Views
    khunrobotK
    Version 6.0 of the SiLabs VCP Driver is working perfectly in MacOS Big Sur for me now. Be sure to reboot after installing - the system driver seems to need to be properly registered via reboot. https://www.silabs.com/community/interface/forum.topic.html/vcp_driver_for_macosbigsur110x-SWJK
  • Save current image from M5Stack

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • EspNow with Arduino IDE ???? How ??? Tutorial ??? Documentation ??

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Drawing random PNG images from SD problem

    4
    0 Votes
    4 Posts
    9k Views
    felmueF
    Hello @AndyT you are welcome. Glad to hear it works now. Cheers Felix