Announcement

Collapse
No announcement yet.

Open ttyr0 port under linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Open ttyr0 port under linux

    Testing the PI under Linux. The serial interfaces that I can select for example is /dev/ttyS0. However the data is on Port ttyr0.

    Running under Ubuntu 20.04 LTS.

    How can this be solved?

    ---
    John

    #2
    How are you connecting the hardware serial device to the RPi? Are you connecting directly to the RPi pins to a TTL to RS-232 device?

    Googling read that a Rocket Port modem RS-232 connection would appear as a ttyRX connection under dev.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 20.04 / VB W7e Jetway JBC420U591
    Fanless Intel® Celeron N3160 SoC 8Gb
    HS4 Pro - V4.1.18.1 - Ubuntu 20.04/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb
    HSTouch on Intel tabletop tablets

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

    Comment


      #3
      Originally posted by Pete View Post
      How are you connecting the hardware serial device to the RPi? Are you connecting directly to the RPi pins to a TTL to RS-232 device?

      Googling read that a Rocket Port modem RS-232 connection would appear as a ttyRX connection under dev.
      To be clear.

      I i'm running Ubuntu 20.04 LTS in a VM. Hardware connected using a Moxa Serial server.

      Moxa solved the ttyr0 ttyS0 issue.

      At least it is working in Node-Red, but not in the Modbus-PI.

      ---
      John

      Comment


        #4
        I am not familiar with the ModBus-Pi and never have utilized a Moxa serial server.

        Thinking I paid some $20 for the 1 watt LoRa serial modems mentioned above (from China) which appear to be similiar to the Moxa serial server.

        Each modem has an RS-232 port on it.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 20.04 / VB W7e Jetway JBC420U591
        Fanless Intel® Celeron N3160 SoC 8Gb
        HS4 Pro - V4.1.18.1 - Ubuntu 20.04/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb
        HSTouch on Intel tabletop tablets

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

        Comment


          #5
          Originally posted by Pete View Post
          I am not familiar with the ModBus-Pi and never have utilized a Moxa serial server.

          Thinking I paid some $20 for the 1 watt LoRa serial modems mentioned above (from China) which appear to be similiar to the Moxa serial server.

          Each modem has an RS-232 port on it.
          The Moxa's one are good. Even better than the VSCOM devices. Issues that I had with the VSCOM devices I did never see after the switch to Moxa.

          ---
          John

          Comment


            #6
            Curious what are you using the Moxa serial servers for?
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 20.04 / VB W7e Jetway JBC420U591
            Fanless Intel® Celeron N3160 SoC 8Gb
            HS4 Pro - V4.1.18.1 - Ubuntu 20.04/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb
            HSTouch on Intel tabletop tablets

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

            Comment


              #7
              Originally posted by Pete View Post
              Curious what are you using the Moxa serial servers for?
              3 x PV inverter
              Heating Pump
              audio and video equipment

              ---
              John

              Comment


                #8
                beerygaz

                I can read the data on port /dev/ttyS0 using Node-RED, Modpoll. However your plug-in indicates unreachable.

                As this is a test environment migrated from Windows nothing is changed.

                Any idea how to fix?

                ---
                John

                Comment

                Working...
                X