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

Global Moderators

Forum wide moderators

  • RE: TAB5 python Crash

    Hello @scroggyg

    I modified my test program to use internal I2C, did a i2c scan w/o ExtIO2 connected and with it - there seems to be no i2c address conflict.

    For me ExtIO2 works either connected to port A or to internal. What I noticed though is that I need to wait (after powering up M5Tab5) for the UIFlow2 screen fully being loaded before running the program.

    If I do not wait long enough I occasionally see a crash too.

    Thanks
    Felix

    posted in PRODUCTS
  • RE: TAB5 python Crash

    Hello @scroggyg

    here are the result of my tests with various firmware versions:
    v2.3.5 : running program -> crash
    v2.3.6 : running program -> crash
    v2.3.6 hotfix : running program -> ok
    v2.3.6 hotfix2 : running program -> ok

    Note:

    • I had no issue burning an running any of the above firmware versions.
    • I run all my tests with no battery attached.

    You can find the program I used in the UIFlow Project Zone: M5Tab5_ExtIO2_Test_UIFlow2.3.6

    Thanks
    Felix

    posted in PRODUCTS
  • RE: UIFlow2.0 Tab5

    Hello @Handcannon

    M5Tab5 UIFlow v2.3.6-hotfix solves the no power on port A issue.

    Thanks
    Felix

    posted in UIFlow
  • RE: Trying to get this LoRa Module working on Core2

    Hello @HappyUser

    I found an SX1276 LoRa in my box of electronics and wired it up to an M5Core2 using the same GPIOs as the LoRa module is using.

    Then I tested with the stock LoRaReceiver example (adapted to M5Core2) and with some added output to the display successfully. E.g. both LoRa and display worked fine together. You can find my example here.

    What do you mean by restart? Powering up M5Core2 or pressing the reset button or after uploading new firmware?

    How are you powering the M5Core2? Maybe there is a power supply issue?

    Thanks
    Felix

    posted in Modules
  • RE: Trying to get this LoRa Module working on Core2

    Hello @HappyUser

    you do not need to explicitly call M5.Power.begin() as it is already called from within M5.begin().

    Well, as soon as you call M5.Display.startWrite() it will assert the display CS line and occupy the SPI bus for the display until you call M5.Display.endWrite(). In other words, between those two calls the SPI bus can only be used for display updates.

    Question: why are you calling M5.Display.startWrite() explicitly at all? You should be able to write onto the display by calling M5.Display.println() or similar without first calling M5.Display.startWrite(). Doesn't that work for you?

    Thanks
    Felix

    posted in Modules
  • RE: Trying to get this LoRa Module working on Core2

    Hello @HappyUser

    I think you are missing the M5.begin() in setup(). Without that call, the 5 V isn't turned on, e.g. the LoRa module is not powered. (At least on my M5Core2 5 V is not present without the M5.begin() call.)

    And I think the RST_PIN should be GPIO 26 (as it hasn't changed from M5Core to M5Core2).

    Note: I do not have this LoRa module so I cannot test myself.

    Thanks
    Felix

    posted in Modules
  • RE: Touchscreen not responding when using GoPlus2 with two servo motors

    Hello @eleonorafontana16

    just to clarify - your current setup (controlling 2 servos using GPIO25 and GPIO26) doesn't include the GoPlus2 module anymore, correct?

    Thanks
    Felix

    posted in Core 2
  • RE: Core2 and M5Unified display no longer works

    Hello @HappyUser

    I mean this arduino library.

    Maybe this article helps.

    Note: I am using Visual Code (and not Arduino IDE).

    Thanks
    Felix

    posted in Core 2
  • RE: Core2 and M5Unified display no longer works

    Hello @HappyUser

    hmm, the button sample code works fine as it is for me. Tested with M5Core2 and M5Core2 v1.1.

    For reference: I was using Arduino library v3.2.1, M5Unfied v0.2.8 and M5GFX v0.2.13.

    @henryCharm : you are correct, the line M5.Display.setEpdMode(epd_mode_t::epd_fastest); is only used / required for ePaper however it is simply ignored on non ePaper displays. So yes, it would be cleaner to remove the line, but I don't think it does any harm. I think the reason it is there is so that the example works on different M5Cores.

    Thanks
    Felix

    posted in Core 2
  • RE: Error building latest m5dial code on vscode

    Hello @gscorrea

    using the latest library versions, e.g. M5GFX 0.2.13 and M5Unified 0.2.8 I can build M5Dial firmware with no error.

    Thanks
    Felix

    posted in General