🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • Hear all about new products, initiatives and events here.

    14 Topics
    20 Posts
    kurikoK
    UiFlow2.0 quick start for CoreMP135 has been released. https://docs.m5stack.com/en/guide/linux/coremp135/uiflow2
  • 2 Topics
    2 Posts
    ajb2k3A
    Members will have noticed that some of us have pictures instead of letters next to our names. This isn't anything to do with status but is a function of the forum available to most (if not all) forum member. To set a picture for your avater you need to click on your letter in the top right hand side of the screen and a menu will appear. Click "Edit Profile" and you will be taken to the profile screen. At the top is a picture with your initial in it, click on it and you can upload an image to use.
  • Here is where you'll find News about promotions, M5stack related blog posts and Videos from M5stack users

    233 Topics
    308 Posts
    S
    To fix issues with M5Burner on Mac, ensure you’ve installed the correct USB-to-serial drivers (like CP210x or CH340). Run M5Burner using Rosetta if needed. Allow app permissions via System Settings > Privacy & Security. Always download the latest M5Burner version compatible with your mac.
  • M5stick V and Maix Py

    3
    0 Votes
    3 Posts
    8k Views
    J
    Hi, thanks for your answer. Regards Jarain78
  • New member checking to see that the M5Stack is suited to my projects.

    8
    0 Votes
    8 Posts
    15k Views
    ajb2k3A
    @gilow I hate waiting on deliveries but I'm glad to hear that you found a hero in australia post who found your stuff.
  • M5Stack Env module example won't compile

    4
    0 Votes
    4 Posts
    9k Views
    ajb2k3A
    @mawg Glad I can help.
  • Are the GitHub pages available in English?

    3
    0 Votes
    3 Posts
    8k Views
    ajb2k3A
    @mawg you can use google translate to convert from Chinese to English but chrome does it automatically
  • Sorry for the lack of responses and posts

    2
    0 Votes
    2 Posts
    4k Views
    m5stackM
    @ajb2k3 Thank you so much!
  • HC-SR04 Better Echo

    2
    0 Votes
    2 Posts
    4k Views
    D
    First, your code is badly indented (remember to press ^T in the Arduino IDE to format it properly) and thus unreadable. After proper formatting, here is what loop() looks like: void loop() { new_time = millis(); /* check if to run this time */ if (new_time >= next_time) { /* Calculate distance */ echotime = GetEchoTime(); /* only scale valid readings 0 is timeout or 1 is no echo realistically minimum accurate or physical range is 3cm */ if (echotime > MAX_ERROR) { // Valid number convert to cm distance = echotime; distance += SCALE_CM_ROUND; // add in half bit rounding distance /= SCALE_CM; } /* catch errors first */ if (echotime <= MAX_ERROR || distance > MAX_RANGE) { if (echotime > 0 && echotime <= MAX_ERROR) Serial.println("MAX"); } else if (distance < MIN_RANGE) Serial.println("MIN"); else Serial.println(int(distance)); // In range output distance next_time = new_time + INTERVAL; // save next time to run } } Now the simplest answer as to why "MAX" is never displayed is because the conditions are not reached. However, I'm not sure that the logic in your ifs is correct. You have an if/else if/else main test, and inside the if another if, and that doesn't make much sense. Work on that logic first.
  • Using the DAC to make a tone with M5Stack

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • M5STICK heating and destroyed battery

    5
    0 Votes
    5 Posts
    7k Views
    ajb2k3A
    @lastblade2 Alas, the Stick has been depreciated now and the Stick C and V and the current versions but the Stick V is not supported in UIFlow due to it unique features and lack of wifi.
  • M5stack PM2.5 Particle Sensor

    4
    0 Votes
    4 Posts
    10k Views
    L
    It's a pretty cool device though, I made an x-ray [image: CDY5pip.jpg]
  • firmware protection

    3
    0 Votes
    3 Posts
    8k Views
    V
    @heybin Need a list of specific actions
  • 2S 18650 Battery Charging

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • MQTT over SSL

    2
    1
    0 Votes
    2 Posts
    6k Views
    H
    sorry, uiflow mqtt not support SSL/TLS now..
  • Code extraction from M5

    3
    0 Votes
    3 Posts
    7k Views
    ajb2k3A
    @davmartes said in Code extraction from M5: I forgot to save my sketch before closing Arduino IDE. I uploaded the code to my m5, though. Is there a way to extract the code loaded in the M5? Unfortunatly I don't know of anyway to do on any microcontroller.
  • M5StickC internal battery disconnection

    2
    0 Votes
    2 Posts
    7k Views
    L
    Sorry, the structure inside the device is totally fixed. It is not easy to disassemble it and keep the hardware good. Instead of charging the hardware side, do you prefer to program the power management IC and change the power supply priority? Details refer to the AXP192.
  • Background noise

    4
    0 Votes
    4 Posts
    9k Views
    lukasmaximusL
    For arduino you should be able to use this, dacWrite (25,0); there will still be a tiny sound, but barely audible
  • Youtube livestream

    3
    0 Votes
    3 Posts
    7k Views
    ajb2k3A
    Yes, Get a few more people involved and learn how to livestream properly along with having things set up and working before hand. I was having a bad day yesterday and things just didn't work out leaving me very frustrated. Need to work out video conferencing to get more people onto the stream.
  • Live stream 27 May 2019

    3
    0 Votes
    3 Posts
    5k Views
    ajb2k3A
    @ckuehnel M5Stack products and projects. And maybe get some news and introductions. And maybe some questions and answers
  • Sorry for the forum down time.

    3
    0 Votes
    3 Posts
    4k Views
    ajb2k3A
    @heybin I thought as much I was in looking at visitors stats when it crashed, going to need to reset all passwords
  • PbHUB

    6
    0 Votes
    6 Posts
    12k Views
    ajb2k3A
    @rob-biernat I have some stuff so will try a test this weekend but something else I did think of is the power required to run lots of devices.
  • Help! How to repair bootloader?

    3
    0 Votes
    3 Posts
    7k Views
    K
    I got it figured out. I'm really not quite sure what happened, I tried that several times using the Windows M5Burner tool and it didn't work, but the Linux one did the trick on the first try.