28176 Parallax Inc, 28176 Datasheet - Page 224
28176
Manufacturer Part Number
28176
Description
KIT PARTS PROCESS CONTROL W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28176.pdf
(330 pages)
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
- Current page: 224 of 330
- Download datasheet (11Mb)
x
ADC_CS
ADC_Clk
ADC_Dout
ADC_VRef
ADC_Vminus
Heater
Fan
' -----[ Initialization ]--------------------------------------------------
LOW Heater
LOW Fan
PAUSE 1000
GOSUB ReadSP_Temps
' -----[ Main Routine ]----------------------------------------------------
DO
LOOP
' -----[ Subroutines ]-----------------------------------------------------
ReadSP_Temps:
ReadSP_Controls:
Drive_Heater:
GOSUB ReadSP_Controls
GOSUB Drive_Heater
GOSUB SetADC
GOSUB ReadADC
GOSUB CalcTemp
GOSUB PlotTemp
PAUSE 500
DEBUG CR,"!READ (txtTMin)",CR
DEBUGIN DEC V_Offset
PAUSE 50
DEBUG "!READ [(txtTMax),-,(txtTMin)]",CR ' Request and store temp span
DEBUGIN DEC V_Span
PAUSE 50
RETURN
DEBUG CR,"!READ (sldPWM)",CR
DEBUGIN DEC PWM_Drive
PAUSE 50
DEBUG "!READ (swFan)",CR
DEBUGIN DEC Fan
PAUSE 50
RETURN
FOR x = 0 TO 20
PWM Heater, PWM_Drive * 255/100, 100
VAR
PIN
PIN
PIN
PIN
PIN
PIN
PIN
Byte
13
14
15
10
11
5
0
' General counting variable
' ADC Chip Select pin
' ADC Clock pin
' ADC Data output
' Pin for PWM to set ADC voltage span
' Pin for PWM to set ADC Offset
' Pin for heater control
' Pin for Fan control
' Heater off
' Fan off
' Connection stabilization
' Get temp span and offset from StampPlot
' Request and store state of heater control
' Request and store state of fan control
' Request and store minimum temp (offset)
' Drive heater for 20 repetitions
' %Duty converted to 0-255 for PWM
Related parts for 28176
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: