What’s the magic trick to getting the vantage pro to talk to a linux serial port?
I understand parameters are 19200, 8n1, no handshaking?
I am trying out the Weather Display for Linux, and even tho it says “Vantage Pro Comm Port OK” in the titlebar, the readings displayed are either bogus or blank.
The users I run under are in the tty group
tty group on both /var/lock and /dev/ttyS*
both /var/lock and /dev/ttyS* have 775 permissions.
I have tried the loopback and plug with minicom on /dev/ttyS0, and I get echoed characters back.
I’ve tried sending the TEST string to the VP from minicom after hitting a few times to wake it up. No response, cursor doesn’t even move.
I tried using stty to set the port parameters
$ stty -F/dev/ttyS0
speed 19200 baud; line = 0;
intr = ; quit = ; erase = ; kill = ; eof = ; start = ;
stop = ; susp = ; rprnt = ; werase = ; lnext = ;
flush = ; min = 0; time = 10;
ignbrk -brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
I’ve tried joe jaworski’s vpweather cli
vproweather-0.1 $ ./vproweather -m --baud-rate=19200 /dev/ttyS0
vproweather Can’t wake up weather station- no response.
vproweather-0.1 $
I’ve gone all the way down to 2400 baud (including setting the baud on the VP console), same [lack of] results.
I even borrowed a friend’s win98 laptop, and installed the Davis software, and it seemed to be able to communicate just fine.
What am I missing here?
Any other thoughts?