28176 Parallax Inc, 28176 Datasheet - Page 235

KIT PARTS PROCESS CONTROL W/TEXT

28176

Manufacturer Part Number
28176
Description
KIT PARTS PROCESS CONTROL W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28176

Accessory Type
Process Control
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Example Program: IncubatorOnOff.bs2
' -----[ Title ]-----------------------------------------------------------
' Process Control - IncubatorOnOff.bs2
' Comment: Process Control On-Off Control of incubator
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Declarations ]----------------------------------------------------
ADC_ByteValue
V_Offset
V_Span
TempF
SetPoint
ADC_CS
ADC_Clk
ADC_Dout
ADC_VRef
Enter, save and run BASIC Stamp program IncubatorOnOff.bs2
Close the Debug Terminal.
PIN 13
PIN 14
PIN 15
PIN 10
VAR
VAR
VAR
VAR
VAR
Byte
Word
Word
Word
Word
' Analog to Digital Converter data
' Temperature/voltage for ADC offset
' Temperature/voltage for ADC Span
' Calculated temperature in hundredths
' Heater control setpoint
' ADC Chip Select pin
' ADC Clock pin
' ADC Data output
' Filtered PWM for ADC Vref
Figure 7-3
Partial Flowchart of
On-Off Control

Related parts for 28176