28123 Parallax Inc, 28123 Datasheet - Page 269
28123
Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28123.pdf
(340 pages)
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
- Current page: 269 of 340
- Download datasheet (6Mb)
Further Investigation
“Applied Sensors”, Student Guide, Version 2.0, Parallax Inc., 2003
“Basic Analog and Digital”, Student Guide, Version 2.0, Parallax Inc., 2003
“Understanding Signals”, Student Guide, Version 1.0, Parallax Inc., 2003
P1. Use the piezospeaker circuit from Figure 8-2, p. 220; pushbutton circuits from
Add a
Figure 4-20, p. 129.
' What's a Microcontroller - Ch8Prj01_PushButtonToneGenerator.bs2
' P4 Pressed:
'
' P3 Pressed:
'
'{$STAMP BS2}
'{$PBASIC 2.5}
DEBUG "Program Running!"
DO
LOOP
More sound effects, clicks, crickets are introduced using the piezoelectric
speaker.
discussion of math fractions. The speaker is also used as feedback for a variety
of sensor measurements.
The speaker is used to make a frequency generated by a 555 timer audible. The
BASIC Stamp measures the frequency of the tone with a
You can use this book to view the output of the
digital pulses, and as sine waves.
IF (IN4 = 1) THEN
ELSEIF (IN3 = 1) THEN
ENDIF
FREQOUT 9, 200, 2000
FREQOUT 9, 100, 3000
IF noteDot = 1 THEN noteDuration = noteDuration * 3 / 2
READ Dots + index, noteDot
IF noteDot = 1 THEN
ENDIF
DEBUG
noteDuration = noteDuration * 3 / 2
DEBUG "Dotted Note!", CR
The pentatonic and equal temperament scale are the basis for
command to the
2 kHz beep for 1/5 second. 2 kHz = 2000 Hz.
1/5 s = 1000 / 5 ms = 200 ms
3 kHz beep for 1/10 second. 3 kHz = 3000 Hz.
1/10 s =
1000 / 10 ms = 100 ms
IF...THEN
. Don't forget the
' 2000 Hz for 200 ms
' 3000 Hz for 100 ms
FREQOUT
COUNT
ENDIF
command, both as
command.
.
Related parts for 28123
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: