Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. greenleaf
    3. Topics
    • Continue chat with greenleaf
    • Start new chat with greenleaf
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by greenleaf

    • M5Stamp Pico API key too short
      UIFlow • • greenleaf

      9
      0
      Votes
      9
      Posts
      1202
      Views

      For future viewers of this thread, the API key is the same as the MAC address. You can usually find this on your router config where it shows device info. The MAC is also shown in the serial output when you connect a burner device (or FTDI cable as mentioned above. My problem was the device was stuck and needed reflashing. Once I did that it worked perfectly using the 12-digit MAC as the API key. You may safely ignore the 8 digit "API Key" that is shown in M5burner or the command line, this was a red herring.
    • Labels show up as blank white rectangles when running program
      Bug Report • • greenleaf

      2
      0
      Votes
      2
      Posts
      951
      Views

      As you can see I'm not doing anything especially exotic or weird here:
    • Stamp Pico won't connect to UIFlow
      Modules • • greenleaf

      6
      0
      Votes
      6
      Posts
      2207
      Views

      I think I probably have a defective unit. I have tried with only a single tab open, latest version of Google Chrome, tried it incognito mode also just to be sure some extension wasn't getting in the way. Despite all efforts it never connects to UIFlow. I know it's on the network because my router is showing it connected and sending/receiving some packets. I will probably stick with devices that have USB-C on them, this is way too much hassle and I don't want to have to rig up a programmer just to toy around with a prototyping device. Oh well, at least I'm only out $5.
    • ATOM Matrix - IMU values all over the place
      Atom • • greenleaf

      3
      0
      Votes
      3
      Posts
      1706
      Views

      Wow, your balancing star is impressive! I'm just playing around in UIFlow to see what's possible with this device.
    • Set Atom Matrix block duplication bug - color reverts to white
      UIFlow • • greenleaf

      2
      0
      Votes
      2
      Posts
      1157
      Views

      R

      Hello, It helps to select a different color first. Then you can still make copies. An annoying detour indeed.
    • First button press not detected on ATOM Matrix
      Atom • • greenleaf

      1
      0
      Votes
      1
      Posts
      907
      Views

      No one has replied

    • Azure IoT Speaker play_local path variable does not work
      Bug Report • • greenleaf

      1
      0
      Votes
      1
      Posts
      822
      Views

      No one has replied

    • Azure IoT Speaker play_cloud command broken
      Bug Report • • greenleaf

      1
      0
      Votes
      1
      Posts
      748
      Views

      No one has replied

    • Azure IoT Handle Example for Speaker play_cloud command?
      General • • greenleaf

      4
      0
      Votes
      4
      Posts
      1317
      Views

      In case anyone else has the same issue...the handler works if you hard-code the path to the Wav file but cloud path doesn't work with the same trick, it still gives the Data format is not valid error.
    • Is machine.deepsleep() possible with a Core 2?
      Core 2 • • greenleaf

      3
      0
      Votes
      3
      Posts
      1145
      Views

      @felmue I think I found the issue; my deepsleep() call was inside a loop. Moving it outside the loop sorted it out.
    • UIFlow wifi connect forces screen background to be white
      UIFlow • • greenleaf

      5
      0
      Votes
      5
      Posts
      1696
      Views

      After some more troubleshooting I discovered that a 10ms wait after changing the screen color allows the first few lines to print when working in UIFlow. It appears that 'Set Screen backgroundColor' requires this delay before you can render text with Lcd.print. This doesn't solve the mystery of the white screen when running in app mode though. Maybe someone else knows what's going on here.
    • [UIFlow] Ability to add custom fonts
      Features Wish List • • greenleaf

      3
      0
      Votes
      3
      Posts
      1389
      Views

      I think I agree with you! I ran out of memory the other day just trying to import a simple Python library...
    • M5Stick CPlus Battery Replacement
      General • • greenleaf

      12
      0
      Votes
      12
      Posts
      5457
      Views

      H

      It was meant for keeping the RTC accurate, but it even did a bad job at that.
    • RGB Led Unit "Show" and "show lock" - what do these do?
      UIFlow • • greenleaf

      1
      0
      Votes
      1
      Posts
      1125
      Views

      No one has replied

    • Atom Echo Voice Recognition Backend?
      Atom • • greenleaf

      2
      0
      Votes
      2
      Posts
      2800
      Views

      Hi @greenleaf , Yes, it's Baidu AI cloud service.
    • Building Core2 FactoryDemo in PlatformIO
      Core2 for AWS • • greenleaf

      10
      4
      Votes
      10
      Posts
      14463
      Views

      R

      There are pin differences for some of the features, but yes you can disable the atecc608 part of the code.
    • Control NeoPixels on M5Stack Core2 AWS edukit
      UIFlow • • greenleaf

      10
      0
      Votes
      10
      Posts
      11386
      Views

      M

      Here is a way to control Led Strip from M5stack aws Core2 the big one :0) wich are on GPIO25 there are 10 RGB LED THIS IS RED ALERT SCRIPT :0) inspired from https://github.com/FastLED/FastLED/tree/master/examples/Blink #include <FastLED.h> // How many leds in your strip? //10 individually programmable RGB LEDs via SK6812 to create customized and animated light effects, #define NUM_LEDS 10 // For led chips like WS2812, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN // Clock pin only needed for SPI based chipsets when not using hardware SPI #define DATA_PIN 25 #define CLOCK_PIN 13 // Define the array of leds CRGB leds[NUM_LEDS]; void setup() { // Uncomment/edit one of the following lines for your leds arrangement. // ## Clockless types ## FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // GRB ordering is assumed FastLED.setBrightness(190); // FastLED.addLeds<SM16703, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1829, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1812, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1904, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS2903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<WS2852, DATA_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<GS1903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SK6812, DATA_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<SK6822, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<APA106, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<PL9823, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SK6822, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2813, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<APA104, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GE8822, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD1886, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD1886_8BIT, DATA_PIN, RGB>(leds, NUM_LEDS); // ## Clocked (SPI) types ## // FastLED.addLeds<LPD6803, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2803, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<P9813, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical // FastLED.addLeds<DOTSTAR, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical // FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical // FastLED.addLeds<SK9822, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // BGR ordering is typical } void loop() { // Turn the LED on, then pause leds[0] = CRGB::Red; leds[1] = CRGB::Red; leds[2] = CRGB::Red; leds[3] = CRGB::Red; leds[4] = CRGB::Red; leds[5] = CRGB::Red; leds[6] = CRGB::Red; leds[7] = CRGB::Red; leds[8] = CRGB::Red; leds[9] = CRGB::Red; FastLED.show(); delay(500); // Now turn the LED off, then pause leds[0] = CRGB::Black; leds[1] = CRGB::Black; leds[2] = CRGB::Black; leds[3] = CRGB::Black; leds[4] = CRGB::Black; leds[5] = CRGB::Black; leds[6] = CRGB::Black; leds[7] = CRGB::Black; leds[8] = CRGB::Black; leds[9] = CRGB::Black; FastLED.show(); delay(500); }
    • MQTT config for AWS IoT Core - SOLVED
      Lessons and Guides • • greenleaf

      5
      0
      Votes
      5
      Posts
      6609
      Views

      Trying out the new AWS blocks but only getting MQTTException -> Server close socket link
    • Specify nested key in get key > in map
      UIFlow • • greenleaf

      1
      0
      Votes
      1
      Posts
      2028
      Views

      No one has replied