27220 Parallax Inc, 27220 Datasheet - Page 50

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
EXPERIMENT #5: LED GRAPH (DOT OR BAR)
In Experiment #4 we used a line of LEDs for artistic purposes; this time we’ll turn to
something a bit more technically oriented. The purpose of this experiment is to
create a configurable (dot or bar) LED graph. This type of graph is very common on
audio equipment, specifically for VU (volume) meters. The value for the graph in the
experiment will be taken from the position of a potentiometer.
Look It Up: PBASIC Elements to Know
Building the Circuit
Add the following RC circuit to the LEDs used in Experiment #4.
Note: The 0.1 µF capacitor is marked: 104.
1. Using black wire (cut as required), connect the Vss (ground) rail to socket
2. Plug a 0.1 µF capacitor (marked 104) into sockets C15 and C16.
3. Using white wire, connect socket A16 to BASIC Stamp P15.
Word (variable type)
Byte (variable type)
GOSUB-RETURN
RCTIME
IF-THEN-ELSE-ENDIF
*/ (star-slash operator)
DCD
A15.

Related parts for 27220