Loading ...
Sorry, an error occurred while loading the content.

WS-3600 Communication Timing

Expand Messages
  • jon_owen13
    Although I can get fetch3600 to communicate with my WS-3650 via a USB Serial converter it does not do it as quickly as a native serial port. Therefore, I am
    Message 1 of 9 , Jan 10, 2010
    • 0 Attachment
      Although I can get fetch3600 to communicate with my WS-3650 via a USB<->Serial converter it does not do it as quickly as a native serial port.

      Therefore, I am interested in developing a microcontroller interface to talk to the weather station and output standard RS-232 via a level converter to a PC.

      Aside from reverse engineering the reverse-engineering of open3600, is the specification of the timing signals between PC and weatherstation available?

      I've got the command spec (http://open3600.fast-mail.nl/tiki-read_article.php?articleId=6), I'm just wondering if there are any timing specs out there.
    • steve childress
      I spent several evenings trying to get an Atmel mega32 to talk to my WS3600, using a scope and tools and my embedded skills. I gave up after tiring of the
      Message 2 of 9 , Jan 10, 2010
      • 0 Attachment
        I spent several evenings trying to get an Atmel mega32 to talk to my WS3600,
        using a 'scope and tools and my embedded skills. I gave up after tiring of
        the guessing game.


        [Non-text portions of this message have been removed]
      • jean-marie
        ... You are already lucky to have it working even slowly. ... I could not find anything available when I tried to understand the protocol communication last
        Message 3 of 9 , Jan 12, 2010
        • 0 Attachment
          --- In Lacrosse_weather_stations@yahoogroups.com, "jon_owen13" <jon_owen13@...> wrote:
          >
          > Although I can get fetch3600 to communicate with my WS-3650 via a USB<->Serial converter it does not do it as quickly as a native serial port.
          >

          You are already lucky to have it working even slowly.

          > Therefore, I am interested in developing a microcontroller interface to talk to the weather station and output standard RS-232 via a level converter to a PC.
          >
          > Aside from reverse engineering the reverse-engineering of open3600, is the specification of the timing signals between PC and weatherstation available?
          >

          I could not find anything available when I tried to understand the protocol communication last year. It is quite well documented in the C code itself.

          > I've got the command spec (http://open3600.fast-mail.nl/tiki-read_article.php?articleId=6), I'm just wondering if there are any timing specs out there.
          >

          Nothing that I know of. If you are interested I could send you the log file from the scope program ( http://www.gumbley.me.uk/scope.html ) that I used to understand how HeavyWeather modifies the recording interval. It looks like this:

          13.550098| | | | | | | |
          13.576039|55 U| | | | | | |
          13.576140| | |RTS| | | | |CTS
          13.576166| | |RTS|DSR|DTR| | |CTS
          13.576210| | | |DSR|DTR| | |CTS
          13.576224| | | |DSR|DTR| | |
          13.576287| | | |DSR| | | |
          13.576301| | | | | | | |
          13.576335| | | | |DTR| | |
          13.576349| | | |DSR|DTR| | |
          13.576382| | |RTS|DSR|DTR| | |
          13.576397| | |RTS|DSR|DTR| | |CTS
          13.576431| | |RTS|DSR| | | |CTS
          13.576445| | |RTS| | | | |CTS
          13.576479| | |RTS|DSR|DTR| | |CTS
          13.576523| | | |DSR|DTR| | |CTS
          13.576537| | | |DSR|DTR| | |
          13.576571| | | |DSR| | | |
          13.576585| | | | | | | |
          13.576618| | | |DSR|DTR| | |
          13.576661| | |RTS|DSR|DTR| | |
          13.576676| | |RTS|DSR|DTR| | |CTS
          13.576710| | |RTS|DSR| | | |CTS
          13.576724| | |RTS| | | | |CTS
          13.576758| | |RTS| |DTR| | |CTS
          13.576772| | |RTS|DSR|DTR| | |CTS
          13.576845| | |RTS|DSR| | | |CTS
          13.576859| | |RTS| | | | |CTS
          13.576883| | |RTS| |DTR| | |CTS
          13.576897| | |RTS|DSR|DTR| | |CTS

          On the left you have the time at which one or more line signals changed. I decoded some sequences like the one above (only the first bits are shown here, the complete sequence goes up to time 13.591234 and takes 320 lines starting with the 30 ones above).

          HTH
        • stevec
          If it is helpful... My WS3600 connects to serial port on a PC in the garage that s always on. Runs Sage TV, home automation (Homeseer), web server, and so on.
          Message 4 of 9 , Jan 12, 2010
          • 0 Attachment
            If it is helpful... My WS3600 connects to serial port on a PC in the garage that's always on. Runs Sage TV, home automation (Homeseer), web server, and so on. Every 15 minutes, the current weather is retrieved using fetch3600 and appended to a microsoft access database. Also uploaded to WeatherUnderground's server. My own code calls FETCH3600 to get the raw data, and my code parses it, copes with the invalid data that happens, and my code interfaces with the database and with WeatherUnderground. Been reliable.

            I did spend effort to try to get a microprocessor to toggle I/O bits to emulate what happens on the PC interface. I didn't succeed and ran out of patience. No matter to me, since the PC is always on. That PC doesn't run HeavyWeather - it's just brain dead software.

            So my code scheme has run for 3 years or so.

            --- In Lacrosse_weather_stations@yahoogroups.com, "jean-marie" <jm@...> wrote:
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            >
            > --- In Lacrosse_weather_stations@yahoogroups.com, "jon_owen13" <jon_owen13@> wrote:
            > >
            > > Although I can get fetch3600 to communicate with my WS-3650 via a USB<->Serial converter it does not do it as quickly as a native serial port.
            > >
            >
            > You are already lucky to have it working even slowly.
            >
            > > Therefore, I am interested in developing a microcontroller interface to talk to the weather station and output standard RS-232 via a level converter to a PC.
            > >
            > > Aside from reverse engineering the reverse-engineering of open3600, is the specification of the timing signals between PC and weatherstation available?
            > >
            >
            > I could not find anything available when I tried to understand the protocol communication last year. It is quite well documented in the C code itself.
            >
            > > I've got the command spec (http://open3600.fast-mail.nl/tiki-read_article.php?articleId=6), I'm just wondering if there are any timing specs out there.
            > >
            >
            > Nothing that I know of. If you are interested I could send you the log file from the scope program ( http://www.gumbley.me.uk/scope.html ) that I used to understand how HeavyWeather modifies the recording interval. It looks like this:
            >
            > 13.550098| | | | | | | |
            > 13.576039|55 U| | | | | | |
            > 13.576140| | |RTS| | | | |CTS
            > 13.576166| | |RTS|DSR|DTR| | |CTS
            > 13.576210| | | |DSR|DTR| | |CTS
            > 13.576224| | | |DSR|DTR| | |
            > 13.576287| | | |DSR| | | |
            > 13.576301| | | | | | | |
            > 13.576335| | | | |DTR| | |
            > 13.576349| | | |DSR|DTR| | |
            > 13.576382| | |RTS|DSR|DTR| | |
            > 13.576397| | |RTS|DSR|DTR| | |CTS
            > 13.576431| | |RTS|DSR| | | |CTS
            > 13.576445| | |RTS| | | | |CTS
            > 13.576479| | |RTS|DSR|DTR| | |CTS
            > 13.576523| | | |DSR|DTR| | |CTS
            > 13.576537| | | |DSR|DTR| | |
            > 13.576571| | | |DSR| | | |
            > 13.576585| | | | | | | |
            > 13.576618| | | |DSR|DTR| | |
            > 13.576661| | |RTS|DSR|DTR| | |
            > 13.576676| | |RTS|DSR|DTR| | |CTS
            > 13.576710| | |RTS|DSR| | | |CTS
            > 13.576724| | |RTS| | | | |CTS
            > 13.576758| | |RTS| |DTR| | |CTS
            > 13.576772| | |RTS|DSR|DTR| | |CTS
            > 13.576845| | |RTS|DSR| | | |CTS
            > 13.576859| | |RTS| | | | |CTS
            > 13.576883| | |RTS| |DTR| | |CTS
            > 13.576897| | |RTS|DSR|DTR| | |CTS
            >
            > On the left you have the time at which one or more line signals changed. I decoded some sequences like the one above (only the first bits are shown here, the complete sequence goes up to time 13.591234 and takes 320 lines starting with the 30 ones above).
            >
            > HTH
            >
          • jon_owen13
            ... If you ve still got the file, then yes, please. Dou happen to have the log output of fetch3600, log3600, etc? Is the output columnated to put each pin to a
            Message 5 of 9 , Jan 13, 2010
            • 0 Attachment
              > Nothing that I know of. If you are interested I could send you the
              >log file from the scope program ( http://www.gumbley.me.uk/scope.html
              >) that I used to understand how HeavyWeather modifies the recording
              >interval.

              If you've still got the file, then yes, please. Dou happen to have the log output of fetch3600, log3600, etc?

              Is the output columnated to put each pin to a column?
            • Jeff Bogumil
              While you re at it-- if you would, please also post the com timing data file in the files section/archive of this Yahoo group, for possible use/reference by
              Message 6 of 9 , Jan 13, 2010
              • 0 Attachment
                While you're at it-- if you would, please also post the com timing data file
                in the files section/archive of this Yahoo group, for possible use/reference
                by others.

                Thanks

                On Wed, Jan 13, 2010 at 12:03 PM, jon_owen13 <jon_owen13@...> wrote:

                >
                >
                > > Nothing that I know of. If you are interested I could send you the
                > >log file from the scope program ( http://www.gumbley.me.uk/scope.html
                > >) that I used to understand how HeavyWeather modifies the recording
                > >interval.
                >
                > If you've still got the file, then yes, please. Dou happen to have the log
                > output of fetch3600, log3600, etc?
                >
                > Is the output columnated to put each pin to a column?
                >


                [Non-text portions of this message have been removed]
              • jean-marie
                ... Done! File name is hw3600int.txt Jon_owen you can take it from there.
                Message 7 of 9 , Jan 13, 2010
                • 0 Attachment
                  --- In Lacrosse_weather_stations@yahoogroups.com, Jeff Bogumil <rjbogumil@...> wrote:
                  >
                  > While you're at it-- if you would, please also post the com timing data file
                  > in the files section/archive of this Yahoo group, for possible use/reference
                  > by others.

                  Done!
                  File name is hw3600int.txt

                  Jon_owen you can take it from there.
                • jon_owen13
                  ... The file comes up as not found .
                  Message 8 of 9 , Jan 15, 2010
                  • 0 Attachment
                    > Done!
                    > File name is hw3600int.txt

                    The file comes up as 'not found'.
                  • Jeff Bogumil
                    I found it easily enough; but I believe one needs to login to the Yahoo group to find/access the group s file archive
                    Message 9 of 9 , Jan 15, 2010
                    • 0 Attachment
                      I found it easily enough; but I believe one needs to login to the Yahoo
                      group to find/access the group's file archive <
                      http://tech.groups.yahoo.com/group/Lacrosse_weather_stations/files/>.

                      On Fri, Jan 15, 2010 at 11:43 AM, jon_owen13 <jon_owen13@...> wrote:

                      >
                      >
                      > > Done!
                      > > File name is hw3600int.txt
                      >
                      > The file comes up as 'not found'.
                      >
                      >
                      >


                      [Non-text portions of this message have been removed]
                    Your message has been successfully submitted and would be delivered to recipients shortly.