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

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
ReadSP_Controls:
RETURN
SetADC:
RETURN
ReadData:
RETURN
CalcTemp:
RETURN
PlotTemp:
RETURN
The StampPlot macro sic_pc _incubator_manual.spm has the following features:
LOW ADC_CS
SHIFTIN ADC_Dout, ADC_Clk, MSBPOST,[ADC_ByteValue\9] ' Clock in ADC data
HIGH ADC_CS
TempF = (V_Span * 100)/255 * ADC_ByteValue + (V_Offset * 100)
DEBUG "[", DEC TempF,",/,100]",CR
DEBUG IBIN Heater,BIN Fan,CR
DEBUG CR,"!READ (swHeat)",CR
DEBUGIN DEC Heater
PAUSE 50
DEBUG "!READ (swFan)",CR
DEBUGIN DEC Fan
PAUSE 50
PWM ADC_Vminus, V_Offset * 255/500,100 ' PWM ADC offset voltage
PWM ADC_Vref, V_Span * 255/500,100
Close the Debug Terminal.
Open StampPlot macro sic_pc _incubator_manual.spm.
Connect and plot.
Monitor the temperature to ensure it is reading correctly at room temperature.
Control of the ADC resolved temperature range – Upper and Lower. Note: The
BASIC Stamp reads these only in the initialization section of code. If changed,
press the RESET button on the Board of Education, or disconnect and connect
on StampPlot.
Control of the heater and the fan.
Indication of current minimum and maximum temperatures.
Button to reset the minimum and maximum temperatures.
' Read ADC 0831
' Enable chip
' Disable ADC
' obtain state of heater control
' obtain state of fan control
' PWM ADC Span voltage
' Calculate temp in hundredths
' Plot temperature/100
' Plot state of fan as digital

Related parts for 122-28176