28129 Parallax Inc, 28129 Datasheet - Page 107
28129
Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28129.pdf
(176 pages)
Specifications of 28129
Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 107 of 176
- Download datasheet (3Mb)
Note that both the amplitude and period of the waveform increased. This is because the
BASIC Stamp is programmed to
level. The pause statement is part of the
The Pulse Train
The next waveform we'll examine is called the pulse train, though a better name for it
might be a rectangle wave. For a pulse train, the amplitude is the voltage between the
high and low voltage levels, and the DC offset is the voltage between 0 volts and the low
part of the signal. The period and frequency are the same for a pulse train as they are for a
triangle wave. So the period is still the amount of time the waveform takes to repeat
itself, and the frequency is still the number of times the waveform repeats itself in a
second. The frequency is also still the inverse of the period.
The
frequency of the original triangle wave. The variable
are skipping the
value of
value. Let's start with a high value of 3 volts and a low value of 0 volts. Modify the
DO…LOOP
Run the program and view the pulse train. Then try to change the various adjustments to
the code and view what happens to the pulse train. Is it really square? You can adjust the
DO…LOOP
DO
LOOP
DO
LOOP
n
code block as shown below, and save the modified program as P5_1R1.bs2
, which controls the D/A converter output, can be set to a high value and a low
FOR n = 1 TO 15
NEXT
FOR n = 14 TO 0
NEXT
FOR v2 = 0 TO 15
NEXT
FOR v2 = 15 TO 0
NEXT
GOSUB Main
GOSUB Main
n=15
GOSUB Main
n=0
GOSUB Main
code block can be modified to make a pulse train that has the same
Calc_Volts
subroutine. It can be used to for counting up and down. The
pause
DAC
for a fixed amount of time at each output voltage
routine.
v3
is not used right now because we
'
'
'
'
'
'
Related parts for 28129
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: