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

Subcategories

  • 5 Topics
    23 Posts
    H
    thank you so much for sharing! this looks cool. I am pretty new to micropython for M5Stack. May I ask which IDE you primarily use to do Micropython programming?
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • M5Stack boards package for Arduino causes compile errors

    2
    0 Votes
    2 Posts
    4k Views
    R
    Hi @paulskpt, What additional board URL did you put in? I had similar problems until I changed the URL to this: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json Ricky
  • Can't get step motor to run

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • OTA firmware upgrades over LTE?

    9
    0 Votes
    9 Posts
    13k Views
    felmueF
    Hello @aezero I am glad to hear you found a solution. And thank you for sharing. BTW: for me a rate limit of 10 reduces the download time (from about 70 s to 55 s). Thanks Felix
  • lovyan launcher doesn't compile on M5Stack basic

    4
    0 Votes
    4 Posts
    6k Views
    C
    yes!!
  • esp32_adc2gpio not declared in pins_arduino.h for M5StickCPlus

    2
    0 Votes
    2 Posts
    3k Views
    M
    I replaced the macro analogInputToDigitalPin(p) in the file packages\m5stack\hardware\esp32\2.0.5\variants\m5stick_c_plus\pins_arduino.h and it seemed to work: //#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1) #define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) I tested it with the following sketch, which printed the correct sequence of mappings (36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26): #include <M5StickCPlus.h> void setup() { M5.begin(); M5.Lcd.fillScreen(RED); for (uint8_t i = 0; i < 20; i++) { Serial.println(analogInputToDigitalPin(i)); } } void loop() { } With this change, I was able to get the Blynk Quickstart example working with my M5StickCPlus, which is what led me down this rabbit hole in the first place!
  • Error compiling for ArduinoIoTCloud with M5StickCPlus

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

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Cannot load "Hello World" program on M5Core2

    2
    0 Votes
    2 Posts
    3k Views
    sirspotS
    I spent about and hour trying things and the best solution I could find was to manually copy the desired csv file to the build folder and then rebuild. I also had to turn off compiler warnings because it would treat them as errors. Here are the details. The csv files are located in AppData/Local/Arduino15/packages/m5stack/hardware/esp32/2.0.5+1.0/tools/partitions. I used minimal.csv, copies it to the build folder, and renamed it to partitions.csv. That fixed it! I hope this helps! Adam
  • <SOLVED> M5Stack basic vs gray and SD card

    6
    0 Votes
    6 Posts
    9k Views
    B
    Glad to hear it worked for you too!
  • SD mount fail on M5Stack basic

    2
    0 Votes
    2 Posts
    5k Views
    C
    the first sketch works, with M5Stack basic, if I modify the M5Stack.cpp library from: // TF Card if (SDEnable == true) { SD.begin(TFCARD_CS_PIN, SPI, 40000000); } to // TF Card if (SDEnable == true) { SD.begin(TFCARD_CS_PIN, SPI, 10000000); }
  • Accessing second UART on M5Stamp-PICO

    3
    0 Votes
    3 Posts
    5k Views
    D
    Hi Felix, Sorry for the delay... my STAMP_PICO project was momentarily shelved but I just resurrected it and found your response. I will definitely try your suggestion since I would like to keep the native port to flash but I need another UART. Thank you!
  • M5STATION USB communication with computer while RS485 is in use - how to?

    6
    0 Votes
    6 Posts
    8k Views
    felmueF
    Hello @Caterpillaraoz you could try something like this every time you want to log something: Serial.begin(115200); Serial.println("Hello World"); Serial.end(true); ModbusRTUClient.begin(115200, SERIAL_8N1); Please note that all debug output you send this way will also be sent to the Modus RTU server. This could potentially lead to unwanted results, should the parser in the Modbus RTU server choke on it. In addition you'll see everything the Modbus RTU server is sending back in the log as well. As an alternative you could use a second serial connection for debug output through one of the Groove ports using a separate USB Serial converter. E.g. like this: Serial1.begin(115200, SERIAL_8N1, 16, 17); Serial1.println("Hello world"); Thanks Felix
  • 0 Votes
    8 Posts
    11k Views
    C
    @felmue Just an udpate: everything is working as intended. Thanks!
  • Can't Find M5Stack Basic demo program

    6
    0 Votes
    6 Posts
    6k Views
    M
    @felmue Awesome!! I had seen that tutorial before. The part I was missing is adding that additional board manager URL. That gave me my examples in the right place, compiled and uploaded. Thanks a lot for your help. I had spent a couple days trying to solve it different ways. Thanks!
  • 1 Votes
    15 Posts
    24k Views
    ajb2k3A
    The esp32 bord defs in Arduino are controlled by espressif and it looks like they broke a few things.
  • GC9A01+M5Stamp C3 +Arduino help please

    3
    0 Votes
    3 Posts
    3k Views
    ajb2k3A
    Doh this is why I hate Arduino, I had to change the #define TFT_BL 6 to #define GFX_BL 6 And now it works, that's mate!
  • GPIO output gpio_num error

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • 0 Votes
    15 Posts
    28k Views
    O
    @rodberry said in Mozzi sound synthesis library for Arduino - how to make it work on the Core2: @oscillator congratulations Staffan, I'm a year late to the party but just wanted to say this is a lot of fun and I really appreciate the thorough documentation and the very readable code (speaking as a C-phobic beginner programmer). I'm planning to make this into a module for my AE format modular synth. For now, I'll start by just feeding it into a converter but will eventually get the other components organised to make it work nicely in the system with my other modules. At least you have given me a nice wagon to fall off! :) Cool, I am glad you find it useful! The AE modular seems great. I can also recommend the Daisy Seed, for which I've done a few projects: https://www.oscillator.se/opensource/#daisy Good luck with your projects -- and your music! :)
  • OEM OOTB Code

    4
    0 Votes
    4 Posts
    5k Views
    ajb2k3A
    @m5_tinker It should be, the M5Burner version is just precompiled ready to burn where as the Arduino version has to be compiled and burned.