Pages: [1]   Go Down
Author Topic: Problem with a permanent installation with PING)))  (Read 880 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've done an installation with Arduino and sensor Parallax Ping))), this have a constant communication with PC via serial port and must be working 12 hours a day without interruption. It seems that everything works fine, but when it was working for two or three hours it stops working. I try to connect to the Arduino board and I get this error:
"avrdude: ser_send (): write error: sorry no info avail".
To get back to making the system works I have to restart the PC. Does anyone know what is that?  :-?
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49080
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that it is possible that you need to provide more details. What operating system is running on the PC? What version of the Arduino IDE are you using to program the Arduino? What code is running on the Arduino? How is the Arduino being powered?

Quote
It seems that everything works fine, but when it was working for two or three hours it stops working.
I'd hardly classify this as working fine, then. smiley-wink
Logged

0
Offline Offline
Shannon Member
****
Karma: 206
Posts: 12076
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A guess:  whatever software on the PC is talking to the Arduino has a memory leak.  Perhaps its buffering the whole history of the serial comms till the PC runs out of swap?   More info is needed - can you monitor the relevant process(es) as it runs?  Can you run the Arduino on its own indefinitely?
Logged

[ I won't respond to messages, use the forum please ]

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The program is in Processing and it's running under Windows XP. Arduino circuit is about 25 meters away from the computer, but there is a USB signal amplifier to get sufficient signal strength. Tomorrow I will check that the problem isn't produced by the amplifier USB ... Thanks for your answers, I will report the news smiley-wink
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Indeed the problem was the distance between the Arduino and computer. With a 5 meter USB it works!
Thanks for your answers!
Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can have et 25m away, just use one of those usb > rj54 > usb cables, you will only get usb 1.1 speed, but that should be plenty for the arduino too. I have successfully tried it with a 25m cable, but the cable quality might have something to say here too, but I have only tried with one good quality cable.
Logged

captain-slow.dk | non contagious!

0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've also had this issue with long USB cables - it's even worse when you try to program it and soft-brick it smiley
Logged

Pages: [1]   Go Up
Jump to: