122-28176 Parallax Inc, 122-28176 Datasheet - Page 235

GUIDE STUDENT PROCESS CONTROL

122-28176

Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-28176

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Propeller Education (PE) Kit
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 122-28176