🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • Core2 CAN-bus problem...

    8
    0 Votes
    8 Posts
    11k Views
    N
    I have the same problem. With Core or Core2 the CAN Unit is not working. I tried Port B and C (with Bottom/Bottom2). It even blocks CAN communication at my test setup (2 ESP32 development modules with additional SN65HVD230). If I use the same code with an Atom it works. Also the Atom CAN (basically the same as the CAN Unit) works with no problem. I also tried the sample code from m5Stack, doesn't work... The CAN Unit is not the problem. If I hook up a logic analyzer at the connection between Core and CAN Unit the data is fine.
  • Core 2 and COMMU

    core2 commu arduino ide
    24
    0 Votes
    24 Posts
    69k Views
    C
    @chriszang and another update. So I am happily working on my CAN receiver sketch and just noticed that I forgot to press the button that grounds INT-output of the mc2515 but the upload still worked. Gave it another try (w/o pressing the button) and it's still working - weird. Then I swapped this COMMU module for my 2nd COMMU Module and here the upload doesn't work. My explanation is that the grounding of the mcp2515 INT-output basically created a short circuit in the transistor that controls this pin and eventually burned it out. Not a big problem for me as a) I am not using interrupts in my sketch b) I have a 2nd COMMU unit I just wanted to warn you guys that grounding the INT output has unintended consequences.
  • Make a harcopy of the screen M5Core-2

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Is machine.deepsleep() possible with a Core 2?

    3
    0 Votes
    3 Posts
    4k Views
    greenleafG
    @felmue I think I found the issue; my deepsleep() call was inside a loop. Moving it outside the loop sorted it out.
  • M5Core Stack error

    7
    0 Votes
    7 Posts
    9k Views
    C
    @ajb2k3 I rewrite the all blocks, but still the error
  • Core2 should turn off after USB is disconnected

    4
    0 Votes
    4 Posts
    6k Views
    felmueF
    Hello @Armin_PP the function is here. Line 390. It returns true if USB is connected and false otherwise. Thanks Felix
  • 16Bit PWM possible with M5Stack Core 2

    1
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Capacitive buttons without the M5Core libraries

    2
    0 Votes
    2 Posts
    4k Views
    felmueF
    Hello @purpledread the three buttons at the bottom are emulated by buttons defined on the very edge of the touch screen (which physically goes a bit below the actual screen). Try something like this. Thanks Felix
  • Uploading .bin program via SD card to Core2

    5
    1 Votes
    5 Posts
    10k Views
    D
    Hi, I have tried to install the M5StackSDUpdater on my Core2 with no success, can you please point me to the good version that I should use for flashing and any modifications necessary for this model? Thanks Dave
  • M5 Stack Core 2 Battery Schematic

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • First Project, GPS and LoRa: Shopping Cart Check?

    6
    0 Votes
    6 Posts
    5k Views
    L
    @felmue thank you again. That helps me get organized.
  • Failed... updating my M5Stack Board in Arduino IDE to version 2.0.3

    2
    1
    0 Votes
    2 Posts
    3k Views
    D
    @lesmalave Is it working now? As a test, I just tried to click that link and it did successfully download through the browser and then unzip on my machine.
  • BLE with the arduino framework

    2
    0 Votes
    2 Posts
    4k Views
    D
    Hello. Not sure if you managed to get this working yet, but if not, there is a ble library that ships with M5Stack Core2 Arduino install. #include <BLEDevice.h> on my computer this was installed at this location: .//Library/Arduino15/packages/m5stack/hardware/esp32/2.0.3/libraries/BLE/src/BLEDevice.h Hence I did not have to install the package separately. I have implemented a project using this just recently using a variety of BLE technology so confident that it works on at least my copy of Core2. If you go to the docs link from the library link you posted (https://github.com/nkolban/ESP32_BLE_Arduino) you can see that the project has now been directly incorporated into Arduino. The lib version you may have downloaded may be out of date. You can find BLEDevice.h/BLEDevice.cpp on your machine and check against the main Arduino source. Hope this helps?
  • M5Stack: WebServer using ESPAsyncWebServer

    3
    0 Votes
    3 Posts
    6k Views
    U
    Hello @macsbug, thank you very much! The workaround described in https://forum.m5stack.com/topic/3262/m5-btna-waspressed-conflicts-with-wifi did solve all my problems (even the second one).
  • IoT Base CATm - Core2 restarts every 3-5 min or so

    iot
    3
    0 Votes
    3 Posts
    6k Views
    felmueF
    Hello @iamjameshannam do you have a SIM card in your IoT Base CatM module? I did some testing and from within UiFlow it seems that as part of the module initialization (e.g. catmiot = module.get(module.CATMIOT)) an AT+CPIN? command is sent repeatedly (about every 6 seconds) until the module response is +CPIN: READY. Without SIM card the module response is ERROR which means the program flow is blocked forever. Thanks Felix
  • M5stack core2 variable

    2
    0 Votes
    2 Posts
    3k Views
    felmueF
    Hello @Javi check out this post. Thanks Felix
  • Core2 MQTT fails to subscribe on SSL=True

    mqtt hivemq
    9
    1
    0 Votes
    9 Posts
    13k Views
    ajb2k3A
    @alexanders thanks to you question, I have now added a paragraph about this to my book which will hopefully get an update by the end of the month!
  • M5Core2 no MQTT on download

    5
    0 Votes
    5 Posts
    7k Views
    felmueF
    Hello @simmoe I don't know why it does work with your other products, sorry. I think the UiFlow examples are made for quick testing functionality, e.g. via using Run option, which uses the already existing WiFi connection. But yes, I agree, it probably would make sense to include them in the examples. Thanks Felix
  • Core2 no display functions

    6
    0 Votes
    6 Posts
    9k Views
    ajb2k3A
    I'm not sure what changed but last year something did and you can only run one instance at a time connected to a controller. If you open a second connection to another controller it does in deed cause problems, which is a pain as I used to run two controllers at a time for testing.
  • IP in m5stack

    6
    0 Votes
    6 Posts
    9k Views
    J
    Thank you @felmue I´ll try to use that.