S.U.P.E.R. Archivo HP 200LX
← Volver al catálogo

LXTemp - a palmtop thermometer

Versión ?? · Stephan Luettjohann

Descargar 85.4 KB
Captura de pantalla de LXTemp - a palmtop thermometer
Captura original del archivo S.U.P.E.R.

Descripción

LXTemp allows you to use a simple circuit attached to the serial port of the palmtop to measure the temperature. Detailed information about this excellent idea on Stephan Luettjohann's homepage .

Ficha técnica

Fichero
lxtemp.zip
Tamaño
85.4 KB
Formato
.zip
Año
2001
Alta en S.U.P.E.R.
2002-01-22
Ficheros dentro
12
Autor
Stephan Luettjohann
Ruta
anonftp/pub/lxtemp.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 11.6 KB

Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.

  • GNUPLOT.BAT → A:\SOFT programa de DOS 33 B
  • CALIBR.EXE → A:\SOFT programa de DOS 24.5 KB
  • LXTEMP.CFG → A:\_DAT configuración 510 B
  • LXTEMP.EXE → A:\SOFT programa de DOS 53.8 KB
  • LXTEMP.ICN → A:\SOFT icono, junto a su aplicación 200 B
  • LXTEMPAB.EXE → A:\SOFT programa de DOS 49.1 KB
  • LXTEMPAB.ICN → A:\SOFT icono, junto a su aplicación 200 B

No hace falta llevar al palmtop BATT.LXT, README.DOC, TEMP.LXT, THERMO.GNU, THERMO.LXT: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 11.6 KB en un disco de 1 MB.

Pasos
  1. Copia GNUPLOT.BAT, CALIBR.EXE, LXTEMP.EXE, LXTEMPAB.EXE a A:\SOFT. Son programas de DOS: se ejecutan desde el icono DOS, o añadiendo A:\SOFT al PATH de C:\AUTOEXEC.BAT para poder llamarlos por su nombre.
  2. Copia LXTEMP.CFG a A:\_DAT, que es donde el 200LX busca la configuración. Ábrelo con Memo y ajústalo antes de usarlo.
  3. Si editas un fichero de configuración en el palmtop, asegúrate de dejar un salto de línea al final: hay programas que se comen la última línea sin avisar.
  4. Los .ICN son iconos: van en la misma carpeta que su aplicación.

Deducido del contenido del paquete y de las convenciones del 200LX. Se instala en A: a propósito: C: es un disco RAM y cada byte ahí resta memoria al sistema.

Instrucciones del autor
hardware setup of the thermometer as well as of the speed of
your palmtop and the speed of the program. If you want to know
more about these values, have a look at the theory of the
thermometer on my homepage.
To calibrate your thermometer, you should start lxtemp.exe and
choose calibration mode in the config dialog. Then take a
reference thermometer, e.g. a Hg-Thermometer, and measure by
pressing NOW two different temperatures which are far enough
away from each other. By pressing now at a certain temperature
in calibration mode, lxtemp will not show you a temperature,
but will show you a certain time. Write down the temperature of
your reference thermometer and the time shown by lxtemp. Then
do it with another temperature, which is not close to your
first temperature. After having done so, you have two
temperature values and two time values. Quit lxtemp and start
calibr.exe. Then you are quested to type in your two
temperatures and the two times. Doing so, calibr.exe will give
you values for m and b, which you can edit in lxtemp.cfg.
Note that calibration is not so easy. When you change your
thermometer to another temperature, make sure that you waited
long enough, so that the thermometer got to the same
temperature the surrounding air has. Press several times on
NOW, to see if the displayed time changes or stays stabile.
Probably you should press NOW at a certain temperature
several times and calculate the middle of all displayed time
values.



GNUPLOT.BAT

Using lxtemp you are able to measure a series of temperatures.
These temperature values can be written into a specified file
and if you want, they can be graphically displayed after the
measurement by gnuplot. Gnuplot.bat contains the command-line
of gnuplot. If you have gnuplot, you can edit gnuplot.bat to
…

Extracto literal de README.DOC, tal cual venía en el paquete.

Enviar a mi palmtop

El palmtop tiene que quedar esperando antes de pulsar el botón, o la transferencia fallará. Es él quien avisa de que está listo, no al revés.

En el palmtop

  1. Conecta el cable serie entre el palmtop y el ordenador.
  2. Abre Data Comm y ve a Menu → Connect → Settings. Ajusta: 9600 baudios, 8 bits de datos, paridad None, 1 bit de parada.
  3. Vuelve al menú y entra en Menu → File → Receive, con el protocolo Zmodem. El palmtop se queda esperando: déjalo así.

En el ordenador

  1. Usa Chrome (o Edge / Opera). Firefox y Safari no pueden abrir el puerto serie, y ningún navegador móvil tampoco.
  2. Averigua cuál es tu puerto: si no lo tienes claro, despliega la ayuda de aquí abajo.
  3. Pulsa el botón y selecciónalo en la ventana que abre Chrome.
¿Cómo sé cuál es mi puerto?

Linux — tu adaptador USB-serie será /dev/ttyUSB0 o /dev/ttyACM0. Los /dev/ttyS0ttyS31 son puertos heredados de la placa base: el núcleo los lista aunque no exista ninguno, así que casi nunca son el tuyo. Para salir de dudas:

ls -l /dev/serial/by-id/

Sale el fabricante y el modelo, y a qué ttyUSB* apunta. Si no aparece nada, desenchufa y vuelve a enchufar el cable y mira dmesg | tail: verás una línea del estilo «ch341-uart converter now attached to ttyUSB0».

Permisos: en Debian y derivados tu usuario debe estar en el grupo dialout o el puerto no se abrirá. Compruébalo con groups, y si falta:

sudo usermod -aG dialout $USER

Hay que cerrar la sesión y volver a entrar para que surta efecto.

Windows — Administrador de dispositivos → Puertos (COM y LPT). Tu adaptador aparece como COM3, COM4… Si aparece con un triángulo amarillo, te falta el driver del chip (FTDI, Prolific o CH340 según el cable).

macOSls /dev/cu.*; tu adaptador será algo como /dev/cu.usbserial-A50285BI. Usa siempre el cu., no el tty..

El 200LX no lleva un conector serie estándar: necesitas el cable de conectividad de HP (el F1015A o un equivalente) y, salvo que tu ordenador tenga puerto serie de verdad, un adaptador USB-serie detrás.