Re: RS-232 Digital thermometer - interface and driver

From: Keith (keith_rhodes_at_yahoo.com)
Date: 05/13/04


Date: 13 May 2004 01:32:28 -0700

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnca4p63.hhr.fdc@sesame.cc.columbia.edu>...
> On 2004-05-12, Floyd L. Davidson <floyd@barrow.com> wrote:
> : keith_rhodes@yahoo.com (Keith) wrote:
> :
> :>Maybe this weekend, if I'm lucky, I'll try things like echo K >>
> :>/dev/thermometer to see if I get back the model number.
> :
> : ...actually, rather than just echo, I'd suggest either using
> : kermit, minicom, or seyon. Those are "modem" programs, and with
> : each you will be able to see data coming back. If you put the
> : modem program into a debug mode where it prints *all* received
> : data as hex, you can then actually decipher what the response is
> : too. But the big advantage of a modem program for initial
> : testing is that you can change the serial port configuration
> : easily.
> :
> : Once you get that working, all you need to do is write a simple
> : C program to send commands and display results... ;-)
> :
> If you use C-Kermit:
>
> http://www.columbia.edu/kermit/ckermit.html
>
> you won't have to write a C program, nor will you have to learn all
> about the peculiarities of serial ports and drivers in this or that
> version of Linux or Unix or any other OS. C-Kermit is not only a
> modem program (and a Telnet client, FTP client, etc etc) but also a
> programming language designed for communications applications just
> like this one. Here, for example, is a Kermit program for executing
> Telocator Alphanumeric Protocol for alphabenumeric paging:
>
> ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage
>
> This is a rather complex example, but it illustrates many of the
> features of the language, and its abstraction of the underlying
> i/o details. For a programming tutorial and a library of examples,
> see:
>
> http://www.columbia.edu/kermit/ckscripts.html
>
> - Frank

Thanks for the links, Frank. Bookmarked.

Keith.



Relevant Pages

  • Re: What is Hyperterminal for?
    ... communicate directly with a modem, a serial port, to link two PCs together ... actual Windows "Component" used when Windows needs a telnet client. ... To some people it IS a useful tool that carries so little overhead it may as ...
    (microsoft.public.windowsxp.general)
  • Re: RS-232 Digital thermometer - interface and driver
    ... :>Maybe this weekend, if I'm lucky, I'll try things like echo K>> ... But the big advantage of a modem program for initial ... If you use C-Kermit: ... modem program (and a Telnet client, FTP client, etc etc) but also a ...
    (comp.os.linux.misc)
  • Re: MSComm Control
    ... I then tried another Telnet client - ZOC and that one ... scales that I have seen are quite simple. ... configure the serial port, ... Data are delimited by a vbCRLF, so receiving each ...
    (microsoft.public.vb.com)
  • Re: Finding a pattern in a stream?
    ... Just doing a quick read of the page it looks as though Regex functions ... similarly to the InStr() function. ... read of the serial port I get "TH". ... > my app to disconnect the telnet client. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Forth, Turbo Pascal, and Lisp for P112
    ... to send hex files across the serial port, or do you already have a ... modem program so you can use the serial port? ... Sounds like gross misuse of DDT. ...
    (comp.os.cpm)