Navigation

    M5Stack Community

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

    gschora

    @gschora

    0
    Reputation
    4
    Posts
    231
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    gschora Follow

    Posts made by gschora

    • RE: CAN Unit on M5Tough

      @felmue

      Thank you for your time. I will investigate the CAN issue further and if I can get it to work on the M5Tough, I will have to use the Fire for now although I will have to make a watertight enclosure because this goes onto a tractor.

      A big Thank You for the uiflow example. I looked at the documentation but couldn't find it....

      If I get this to work, uiflow would make it so much easier to update the code in the field

      Thanks again!
      Hannes

      posted in Units
      G
      gschora
    • RE: CAN Unit on M5Tough

      Hi @felmue

      The CAN example for the M5Tough doesnt't compile because it refers to buttonA and buttonB. So I guess this was just copied from the M5Fire example... Even if I comment out these parts, so that it can only receive CAN messages and it compiles, it doesn't work.
      My guess is, that something is different in the hardware of the M5Tough compared to the fire and that the libraries are not completely updatet yet...

      thanks
      Hannes

      posted in Units
      G
      gschora
    • CAN Unit on M5Tough

      Hi!

      I cannot get the CAN unit working on my M5Tough. The same setup with a M5Fire works fine.

      First the setup with the Fire:
      I connected the unit to port B with the resistor between L and H. This is connected to a mini PLC, where I knew CAN was definitely working (also with the resistor installed).
      I can now send messages between the Fire and the PLC.

      When I switch out the Fire for the Tough it doesn't work anymore. I cannot receive or send messages.

      I'm using the same code on both M5 products except I switched out "M5Stack.h" for "M5Tough.h". (I also tried with "M5Stack.h" on the Tough)
      Nothing works.

      Also tried using the latest version from github (2021/11/01) - no success

      I bought 10 M5Tough to use as HID for small PLCs and now I cannot use them.

      I'm out of ideas. Can anyone help?

      Also: Is there a working example for CAN on UIFlow somewhere out there? This would make updating the code and other things much easier.

      Hannes

      posted in Units
      G
      gschora
    • RE: How to use CAN UNIT

      @ryokurta256 Did you solve this? I'm having the same trouble with the M5Tough. It works on the Fire but not on the Tough...

      posted in Units
      G
      gschora