130-28176 Parallax Inc, 130-28176 Datasheet - Page 230

KIT PARTS PROCESS CONTROL

130-28176

Manufacturer Part Number
130-28176
Description
KIT PARTS PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 130-28176

Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Challenge 6-3 Solution
Add this code to
Challenge 6-4 Solution
Additions/Changes are in bold.
5.
' -----[ Initialization ]----------------------------------------------
LOW Heater
LOW Fan
PAUSE 1000
' GOSUB ReadSP_Temps
V_Offset = 70
V_Span = 50
PWM_Drive = 28
' -----[ Main Routine ]------------------------------------------------
DO
'
DEBUG "!STAT Average Temp:[(AINAVE0,FORMAT,0.000)]",CR
GOSUB ReadSP_Controls
GOSUB Drive_Heater
a. At 72 °F, LM34 = 0.72 V
b. 72 = 0.156(Byte Value) + 50 (Add −50 to both sides)
22 = 0.156(ByteValue)
141 = Byte Value
PlotTemp
:
' Heater off
' Fan off
' Connection stabilization
' Offset in degrees (hundredths of volt)
' Span in degrees (hundredths of volt)
' Set stand-alone PWM drive
' Get temp span and offset from StampPlot
(Divide both sides by 0.156 and round)

Related parts for 130-28176