122-28176 Parallax Inc, 122-28176 Datasheet - Page 57
122-28176
Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
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
- Current page: 57 of 330
- Download datasheet (11Mb)
LED
DigIn
ADC_CS
ADC_Clk
ADC_Dout
' -----[ Initialize ] -----------------------------------------------------
OUTPUT LED
PAUSE 1000
' -----[ Main Routine ]----------------------------------------------------
DO
LOOP
' -----[ Subroutines ]-----------------------------------------------------
ReadData:
RETURN
PlotData:
RETURN
Figure 3-2 shows an example test in which the threshold voltage was found to be
approximately 1.45 V. The digital trace at the top goes high and low as the analog
voltage goes above or below the threshold voltage.
GOSUB ReadData
LED = DigIn
GOSUB PlotData
PAUSE 500
LOW ADC_CS
DigDataIn = DigIn
SHIFTIN ADC_Dout, ADC_Clk, MSBPOST,[ADC_DataIn\9] ' Clock in data from ADC
HIGH ADC_CS
DEBUG IBIN DigDataIn,CR ' Plot indicated binary value
DEBUG "[",
√
√
√
√
√
Close the Debug Terminal.
Load StampPlot with the macro sic_pc_data_monitoring.spm
Connect and plot.
Adjust the potentiometer. The analog voltage and plotted value should change
accordingly.
HIGH/LOW status of P8.
Note the voltage at which the input P8 changes between HIGH and LOW logic
levels. This is the threshold voltage.
DEC ADC_DataIn, ' Analog data
",*,.0196]",CR
PIN 0
PIN 8
PIN 13
PIN 14
PIN 15
LED
' Read ADC 0831
' Enable chip
' Read digital input value to coincide with ADC read
' Disable ADC
' Send data to StampPlot
' Bracket for StampPlot math operation
' Convert ADC value to voltage by StampPlot
' LED output pin
' Digital input pin monitored
' ADC Chip Select pin
' ADC Clock pin
' ADC Data output
' Set LED as output
' Allow connection to stabilize
1
, on the BASIC Stamp output pin P0, indicates the
Related parts for 122-28176
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
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:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: