๐Ÿค–Have you ever tried Chat.M5Stack.com before asking??๐Ÿ˜Ž

Subcategories

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

    22 Topics
    35 Posts
    C
    Hi everyone, I am new here. hopefully i can get this dial working with my home assistant. I have a M5 stack dial that is a S3A. While installing this M5 do i need to do anything different than the S3? thanks in advance cue340
  • 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

    469 Topics
    2k Posts
    felmueF
    Hello @Shipbrook M5Unified uses Wire1 for internal I2C and Wire for external I2C. The example for SHT40 incorrectly uses Wire which causes issues as soon as other internal I2C communication is required, e.g. reading battery status. The quick way to fix this is replacing Wire with Wire1 in below line: //if(!sht4.begin(&Wire, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U)) if(!sht4.begin(&Wire1, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U)) The better way is to get the actual port used by M5Unified for internal I2C and the use that information: i2c_port_t PortIn = M5.In_I2C.getPort(); TwoWire * WireIn = (PortIn == 1) ? &Wire1 : &Wire; if(!sht4.begin(WireIn, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U)) Thanks Felix
  • 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.

    366 Topics
    2k Posts
    I attempted to burn the firmware for each version of UIFlow 2.0 Stick Plus on my stickC Plus, but after each firmware was burned, the device failed to boot up and did not respond to any key press.
  • M5Burner on Linux throws some Python errors

    2
    1 Votes
    2 Posts
    5k Views
    T
    @platycore I came here to find a solution myself, same error running on my Linux setup. After Googling it, all the responses where "pip uninstall -y enum34", but that was not the case. I found something interesting here: https://stackoverflow.com/questions/47878060/why-is-the-re-module-trying-to-import-enum-intflag I looked at the app location M5Burner_Linux/packages/tools/enum and that was it... the app has the wrong version of enum. Remove the one with the underscores: "_ init _.py" Copy the version of enum.py located in your /usr/lib/python3.8 path That worked for me.
  • M5Stack Grey charging 16580 LiPo

    2
    0 Votes
    2 Posts
    4k Views
    felmueF
    Hi Rob if you look into Power.cpp you'll see that the current already is set to about 400 mA: https://github.com/m5stack/M5Stack/blob/master/src/utility/Power.cpp void POWER::begin() { uint8_t data; //Initial I2C Wire.begin(21, 22); // 450ma setVinMaxCurrent(CURRENT_400MA); are you calling M5.Power.begin() in your setup code? Or maybe the current has been reduced due the the battery being close to full? Cheers Felix
  • Anybody got ulab (micro-numpy) working?

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Disable Powersaving

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • IP5306 charging a 16580 LiPo battery at 1A at least (preferebale 1.6A.)

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • High Siearra driver issues.

    2
    0 Votes
    2 Posts
    4k Views
    SkinkS
    Seems to be a MAC problem under Windows 10 with the latest M5 Burner the M5Stack Fire is able to do this without any problems. This morning I uploaded 1.6.3!
  • Can't get M5Stack to work properly

    22
    0 Votes
    22 Posts
    67k Views
    J
    Thank you again. It works (again)!
  • Pull Requests?

    3
    0 Votes
    3 Posts
    6k Views
    johnwargoJ
    Nothing yet. Samples don't work.
  • m5stack Fire accident

    3
    0 Votes
    3 Posts
    4k Views
    R
    Thanks a lot, I was almost there! I tried the UIflow firmware. The configuration button gave me an error. The burn asked me to connect to wifi. I asumed that it was the wifi of the m5, but thought that it would not work because the core was without OS. After your suggestion I unboxed the Core again (it was ready to send it back ;-) And now up and running again. Many thx ;-) Hopefully after the update the env II sensor wil work now. Because there the troubles started. Out of the box it did not work. Now i will retry.
  • upload image to M5stack problem

    8
    1
    0 Votes
    8 Posts
    17k Views
    M
    @ajb2k3 Hi, i've tried doing that, but it just keeps saying "uploading" but it never ends
  • Newbie question - cycle functions via one button

    4
    1
    0 Votes
    4 Posts
    8k Views
    L
    I've figured it out, needed to use lists - this solved it for me https://www.youtube.com/watch?v=4jDVYZSYTo4
  • All IDE refuse to work with M5Stack now

    11
    0 Votes
    11 Posts
    20k Views
    T
    @m5stack Hi, yes, with some updating and couple restarts VS Code now working with 1.6.1 UIFlow firmware Thank you
  • USB driver for Raspberry Pi

    raspberry pi usb driver
    3
    0 Votes
    3 Posts
    12k Views
    ajb2k3A
    @funkyfab said in USB driver for Raspberry Pi: I'll answer myself ;-) I copied the /lib/udev/rules.d/69-libmtp.rules to /etc/udev/rules.d, added the line ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", GOTO="libmtp_rules_end" That prevents the M5 devices to be recognized as MTP devices. Then they're recognized as Serial ports, and Arduino IDE can access them. So we don't need the driver, just a change in udev configuration. Oh cool, thats for working out how to do this. I can continue my plans of adding an RPI to my project bench to programme the M5Stacks and Sticks. Thanks you.
  • Grove / I2C with M5Cam

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Easyloader virus found?

    1
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • M5Stack after loading the program is still restarting.

    looping restart
    5
    0 Votes
    5 Posts
    10k Views
    S
    Problem has been solved The weak USB cable was to blame, after replacing the cable with the original Samsung, the problem did not return. Problem messages are: "BrownOut detector was triggered" and "The Guru Meditation" something like Blue screen of Death (BSOD)
  • Can't launch electron-m5burner-v2-eletron on macOS Catalina (10.15.5)

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • M5StickC - can't find serial port on Mac Mojave

    4
    1 Votes
    4 Posts
    8k Views
    m5stackM
    @csam ok..could you try again use this firmware upgrade tool: https://community.m5stack.com/topic/1591/m5stickc-and-atom-on-macos-catalina-can-t-upload-programs-solution
  • Resource manager won't load either BMP or JPG

    3
    0 Votes
    3 Posts
    6k Views
    ajb2k3A
    @devilstower said in Resource manager won't load either BMP or JPG: I've been trying over and over to load images to my M5StickC using the resource manager of UIFlow. I've reduced the size of the image I'm loading to just 2K. And I've tried saving it as 4-bit, 8-bit, 24-bit, and 32-bit. I've tried reducing .jpg quality to an abysmal 35%. I've pretty much toggled every possible setting for saving either BMP or JPG. But each time I try to load an image, the same thing happens. Resource manager displays the name of the image, a message appears that says "uploading" and then ... nothing. The message goes away, no error is every displayed, but the image doesn't appear in either resource manager or UIFlow. Images have to be very specific and the details can be found on page 35 of my WIP book found here - https://github.com/Ajb2k3/UIFlowHandbook/blob/master/quickblockref.pdf If you have followed the guide and still get issue then you may have discovered a new bug.