28022 Parallax Inc, 28022 Datasheet - Page 5

KIT DS2760 THERMOCOUPLE

28022

Manufacturer Part Number
28022
Description
KIT DS2760 THERMOCOUPLE
Manufacturer
Parallax Inc
Datasheet

Specifications of 28022

Lead Free Status
Contains lead
Accessory Type
Thermocouple Kit
For Use With/related Products
BASIC Stamp® Modules
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Menu:
Show_SN:
Show_Type:
' -----[ Program Code ]----------------------------------------------------
Main:
Parallax, Inc. • DS2760 Thermocouple Kit (#28022) • 01/2004
DEBUG CLS,
DEBUGIN DEC1 type
IF (type < 1) OR (type > 3) THEN Menu
DEBUG CRSRXY, 0, 3, CLRDN
STORE type
DEBUG CRSRXY, 0, 4, "Device SN... "
FOR idx = 0 TO 7
NEXT
DEBUG CRSRXY, 0, 6, "TC Type..... "
LOOKUP (type - 1), ["KJT"], char
DEBUG char
DO
GET idx, char
DEBUG HEX2 char
GOSUB Read_TC_Volts
GOSUB Read_CJ_Temp
READ (tmpCJ * 2), Word cjComp
' combine cjComp and tCuV
'
IF sign THEN
' TC below cold junction
IF (tCuV < cjComp) THEN
ELSE
ENDIF
"===============================", CR,
" DS2760 Thermocouple Interface ", CR,
"===============================", CR,
CR,
"Select TC Type (1 - 3)", CR,
CR,
"(1) K - Chromel/Alumel", CR,
"(2) J - Iron/Constantan", CR,
"(3) T - Copper/Constantan", CR,
CR,
">>> "
cjComp = cjComp - tCuV
cjComp = 0
' get selection
' validate selection
' remove selections
' point READ to table
' read Seebeck voltage
' read cold junction temp
' get compensation voltage
' limit to 0C
5

Related parts for 28022