28123 Parallax Inc, 28123 Datasheet - Page 223

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
SUMMARY
This chapter introduced a second way to use the
light levels with a photoresistor. Like the potentiometer, the photoresistor is a variable
resistor. Unlike the potentiometer, the photoresistor’s resistance changes with light levels
instead of with position.
measurements, and methods for recording and interpreting graphical data were
introduced. The
and from the BASIC Stamp module’s EEPROM. The EEPROM was then used in an RC-
time data logging application. In this chapter’s last activity, a light meter application was
developed. This application used subroutines to perform the three different jobs required
for the light meter to function.
Questions
Exercises
1. What kind of different things can sensors detect?
2. What is the name of the chemical compound that makes a photoresistor sensitive
3. How is a photoresistor similar to a potentiometer? How is it different?
4. What does EEPROM stand for?
5. How many bytes can the BASIC Stamp module’s EEPROM store? How many
6. What command do you use to store a value in EEPROM? What command do
7. What is a label?
8. What is a subroutine?
9. What command is used to call a subroutine? What command is used to end a
1. Draw the schematic of a photoresistor RC-time circuit connected to P5.
2. Modify TestPhotoresistor.bs2 to so that it works on a circuit connected to P5
3. Explain how you would modify LightMeter.bs2 so that the circular pattern
to light?
bits can it store?
you use to retrieve a value from EEPROM? Which one requires a variable?
subroutine?
instead of P2.
displayed by the 7-segment LED display goes in the opposite direction.
WRITE
and
READ
Stamp Plot Lite was used to graph successive light
commands were used to store and retrieve values to
RCTIME
command by using it to measure

Related parts for 28123