Arduino as Gateway via USB crash on PI
-
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,ptThe 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
-
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,ptThe 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
-
The issue seems to be related to the USB hub powered. Seems that Arduino feeded directly from pi via USB goes well ....
-
The issue seems to be related to the USB hub powered. Seems that Arduino feeded directly from pi via USB goes well ....
-
@sineverba is gnd on arduino connected with gnd on raspberry pi?
@mfalkvidd they are connected only with USB cable
-
@mfalkvidd they are connected only with USB cable
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