REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. Bentoni
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Bentoni

    @Bentoni

    0
    Reputation
    3
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Bentoni Unfollow Follow

    Latest posts made by Bentoni

    • RE: Can driver

      Now i'm able receive data correctly, thanks. Next question is, am I uderstant FilterIdMask wrong. Now I receive data exsample ID288 05 57 13 00 00 5B 00 00, but it reversed in rexygen, like 00 00 5B 00 00 13 57 05. If I want use bit 1 (or 6 in reversed?) , in exsample HEX 57, can't use FilterIdMask to block other bytes?There is picture how ID/bytes is going in my project, this ID288 byte2 is Coolant temp, but if use FilterID 0x288 and FilterIdMask 0x1 it wont work? Is there some good idea how this should do?

      Thanks!

      ID chart.png

      posted in Communication (RS232
      B
      Bentoni
    • RE: Can driver

      @reitinge log2.png

      Hi, look like this. Could it be licensing problem?

      posted in Communication (RS232
      B
      Bentoni
    • RE: Can driver

      @reitinge I send picture tomorrow. I buy also rexcore professional licence and notice that not include can-licence? Is it possible buy can licence separately?

      Thanks
      Toni

      posted in Communication (RS232
      B
      Bentoni
    • RE: Can driver

      Hi, I'm not so good at english, so I use links to explain. Sorry for that.

      So I try communicate with car engine control unit. Using this shield ->
      https://www.waveshare.com/wiki/RS485_CAN_HAT

      I made settings to /boot/config.txt what shield user manual wanted, and install can-utils what include that cansniffer. -> https://github.com/linux-can/can-utils
      Using this I'm able to receive data properly.

      If I open /etc/rexcore/rexcore.env.d/80-candrvt.sh there is no line REX_CAN_DEV=can0
      Only ->
      #!/bin/sh
      #for setting CAN-Network-interface bitrate uncomment next line ant set devicename and bitrate
      #ip link set can0 type can bitrate 1000000 restart -ms 1000
      #ip link set can0 up
      exit 0

      I try uncomment 1, 3 and 4 line, set bitrate 500000, but no help. Before this, after reboot need use those same ip link commands to get cansniffer work, but now there is no need use those, so think maybe it's right settings?

      I use a demo license, I guess it doesn't matter?

      I use example project 0406-01 station 2, only change Can0_recv block filterId -> 0x288. Also try second time use FilterIdMask 0x1 instead 0xFFF
      Using cansniffer it looks like ->
      288 05 57 13 00 00 5B 00 00
      388 83 02 00
      480 15 20 00 00 00 00 00 00

      Thanks,
      Toni

      posted in Communication (RS232
      B
      Bentoni
    • Can driver

      Hello, I have connected my raspberry with the can bus with a separate can hat. I manage to get the bus visible with the can sniffer. Do I have to do some changes in the driver in rexygen? Somehow I wasn't able to receive any data with the Canrecv block.

      posted in Communication (RS232
      B
      Bentoni
    • Data from obd port

      Hey, is there any way i could transfer data from the vehicle obd2 port to my rexygen project. I use monarcoHat and siemens S7 for my control, which I would like to include information about the power source. For example
      https://github.com/sakurusurya2000/pyobd
      can find different codes for reading data, but how to reliably transfer them to rexygen?
      Is via rs232 or can-bus better idea?

      posted in General
      B
      Bentoni