28123 Parallax Inc, 28123 Datasheet - Page 224

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
Project
Solutions
1. In an earlier chapter, you used a pushbutton to make an LED blink. Instead of
Q1. Pressure, position, rotation, temperature, smoke, vibration, tilt, light, and almost
Q2. Cadmium sulfide (CdS).
Q3. Both devices have varying resistance values. The photoresistor's resistance
Q4. Electrically Erasable Programmable Read-Only Memory.
Q5. 2048 bytes. 2048 x 8 = 16,384 bits.
Q6. To store a value –
Q7. A label is a name that can be used as a placeholder in a PBASIC program.
Q8. A subroutine is a small segment of code that does a certain job.
Q9. Calling:
E1. Schematic based on Figure 7-2 on page 191, P2 changed to P5.
E2. The required changes are very similar to those explained on page 191.
using a pushbutton, use a photoresistor to make the LED blink when you cast a
shadow over it. Hint: You can use an
than/less than operators to decide if your
certain value. The operator
for less than.
anything else you may think of: humidity, g-force, flexion, flow rate, the list
goes on…
varies according to the light level falling upon it, unlike the potentiometer, which
only changes when the knob is turned.
To retrieve a value –
The
DO
HIGH 5
PAUSE 100
RCTIME 5, 1, time
READ
P5
GOSUB
command requires a variable.
220
; ending:
WRITE
Vss
READ
RETURN
>
is used for greater than, and the operator
0.01 µF
time
IF…THEN
measurement is above or below a
statement and the greater
<
is used

Related parts for 28123