• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Open port RS485

    Scheduled Pinned Locked Moved Evok API
    8 Posts 2 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tomas254
      last edited by

      Hello,
      could you please advise me how to open port RS485 (which device)?
      I'm running Raspbian with evok installed on it.
      While I was running original Mervis image the device was /dev/extcomm/0/0 and there isn't such device.

      Thank you
      Tomas

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @tomas254
        last edited by

        Hello @tomas254,

        did you install the latest development version of evok as written in the readme? https://github.com/UniPiTechnology/evok#testing-latest-git-versions

        Only that version currently support Neurons.

        Br,
        Tomas

        1 Reply Last reply
        Reply Quote 0
        • T
          tomas254
          last edited by

          Yes i did

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @tomas254
            last edited by tomas_hora

            @tomas254

            @tomas254 Can you try running the neuron tcp server manually?

            fisrt stop the service by:

            systemctl stop neurontcp
            

            and then run it by hand by

            /opt/neurontcp/neuron_tcp_server -p 502
            

            and paste the output here.

            T 1 Reply Last reply
            Reply Quote 0
            • T
              tomas254 @tomas_hora
              last edited by

              @tomas_hora said in Open port RS485:

              /opt/neurontcp/neuron_tcp_server -p 502

              alt text

              T 1 Reply Last reply
              Reply Quote 0
              • T
                tomas_hora administrators @tomas254
                last edited by

                @tomas254 And what SPI devices do you see in /dev/spi*?

                ls -l /dev/spi*
                
                T 1 Reply Last reply
                Reply Quote 0
                • T
                  tomas254 @tomas_hora
                  last edited by

                  @tomas_hora

                  crw-rw---- 1 root spi 153, 2 Feb  8 15:17 /dev/spidev0.0
                  crw-rw---- 1 root spi 153, 3 Feb  8 15:17 /dev/spidev0.1
                  crw-rw---- 1 root spi 153, 1 Feb  8 15:17 /dev/spidev0.2
                  crw-rw---- 1 root spi 153, 0 Feb  8 15:17 /dev/spidev0.3
                  
                  1 Reply Last reply
                  Reply Quote 0
                  • T
                    tomas_hora administrators
                    last edited by

                    Try reinstalling the Modbus server as described here: https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay

                    1 Reply Last reply
                    Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post