28122 Parallax Inc, 28122 Datasheet - Page 287
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 287 of 340
- Download datasheet (6Mb)
Further Investigation
“Industrial Control”, Student Guide, Version 2.0, Parallax Inc., 2002
counter
oldTapSetting
newTapSetting
lightReading
oldTapSetting = 0
newTapSetting = 0
LOW UdPin
FOR counter = 0 TO 128
NEXT
' -----[ Main Routine ]------------------------------------------------
DO
LOOP
' -----[ Subroutines ]-------------------------------------------------
Set_Ud_Pin:
Pulse_Clk_pin:
Read_Photoresistor:
Industrial Control uses the transistor as an on/off switch for a resistor heating
element. It also uses a phototransistor to detect the passage of stripes on a
spinning wheel.
PULSOUT 6,5
PAUSE 1
GOSUB Read_Photoresistor
newTapSetting = lightReading
GOSUB Set_Ud_Pin
GOSUB Pulse_Clk_pin
IF newTapSetting > oldTapSetting THEN
ELSEIF newTapSetting < oldTapSetting THEN
ENDIF
RETURN
FOR counter = oldTapSetting TO newTapSetting ' from old to new
NEXT
oldTapSetting = newTapSetting
RETURN
HIGH PhotoPin
PAUSE 100
RCTIME PhotoPin, 1, lightReading
RETURN
LOW UdPin
PULSOUT ClkPin, 1
PAUSE DelayPulses
VAR
VAR
VAR
VAR
Byte
Byte
Byte
Word
' Counter for FOR...NEXT.
' Previous tap setting.
' New tap setting.
' reading from photoresistor
' Initialize new and old
' tap settings to zero.
' Set U/D pin for Down.
' Set tap to lowest position.
' Set U/D pin for up/down.
' Deliver pulses.
' Keep track of new and old
' tapSetting values.
' Examine old and new
' tap values to decide
' value of UdPin. Notify
' user if values are
' equal.
' Deliver pulses
' values.
Related parts for 28122
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: