Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Arduino as Gateway via USB crash on PI

Arduino as Gateway via USB crash on PI

Scheduled Pinned Locked Moved Development
6 Posts 3 Posters 1.8k Views 3 Watching
  • 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.
  • S Offline
    S Offline
    sineverba
    Hardware Contributor
    wrote on last edited by
    #1

    I'm investigating what's the problem here.

    Pi1 with domoticz and Arduino UNO (original), both feeded via a HUB USB with power (so Arduino did not get power from PI directly).

    Sometimes, in some hour, I did not get anymore update from both or single node (I have a powered relay + ds18b20 and a battery dht22).

    Investigating and opening the serial I don't get nothing, but after a reboot of Arduino (with the button on the Arduino itself), I have the serial flooded from:

    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
    0;255;3;0;9;!TSF:MSG:LEN,0!=18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt
    

    The serial is flodeed continuosly.

    For some weeks, I did have the PI directly feeded via Samsung charger + Arduino with direct power from USB. I did want to change with a autopower HUB usb to no stress the PI. All is behind an UPS, to filter home current (not the max stability in my house, I need to say).

    Do you have some idea?

    Thank you

    YveauxY 1 Reply Last reply
    0
    • S sineverba

      I'm investigating what's the problem here.

      Pi1 with domoticz and Arduino UNO (original), both feeded via a HUB USB with power (so Arduino did not get power from PI directly).

      Sometimes, in some hour, I did not get anymore update from both or single node (I have a powered relay + ds18b20 and a battery dht22).

      Investigating and opening the serial I don't get nothing, but after a reboot of Arduino (with the button on the Arduino itself), I have the serial flooded from:

      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt=0,l=11,sg=0:Get Version
      0;255;3;0;9;!TSF:MSG:LEN,0!=18
      0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=3,t=2,pt
      

      The serial is flodeed continuosly.

      For some weeks, I did have the PI directly feeded via Samsung charger + Arduino with direct power from USB. I did want to change with a autopower HUB usb to no stress the PI. All is behind an UPS, to filter home current (not the max stability in my house, I need to say).

      Do you have some idea?

      Thank you

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @sineverba !TSF:MSG:LEN,0!=18 typically indicates an error in the SPI transfer with the radio. How did you wire things up? Jumper wires can be the cause of flaky connections.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sineverba
        Hardware Contributor
        wrote on last edited by
        #3

        The issue seems to be related to the USB hub powered. Seems that Arduino feeded directly from pi via USB goes well ....

        mfalkviddM 1 Reply Last reply
        0
        • S sineverba

          The issue seems to be related to the USB hub powered. Seems that Arduino feeded directly from pi via USB goes well ....

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @sineverba is gnd on arduino connected with gnd on raspberry pi?

          S 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @sineverba is gnd on arduino connected with gnd on raspberry pi?

            S Offline
            S Offline
            sineverba
            Hardware Contributor
            wrote on last edited by
            #5

            @mfalkvidd they are connected only with USB cable

            mfalkviddM 1 Reply Last reply
            0
            • S sineverba

              @mfalkvidd they are connected only with USB cable

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @sineverba if you can, check with a multimeter that the usb hub grounds the different usb ports together. If it doesn't, that could be the cause.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              14

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular