28029 Parallax Inc, 28029 Datasheet - Page 75

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28029

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
Solutions
Q1. 3 centimeters to 3.3 meters.
Q2. Sound with frequencies above 20 kHz.
Q3. A high pulse, whose duration corresponds to the time it took for the chirp sound
Q4. a) Distance over 3 meters, b) Shallow angles, c) Objects that are too small.
Q5. 2µs increments.
Q6. 344.8 m/s.
Q7.
Q8. The jumper should be set to the Vdd position, otherwise the LCD could be
Q9. All
Q10. A very important role, with the speed increasing 0.6 m/s for every degree C
E1. The object is 2.59 m away.
E2. 100 °F = 37.7 °C
E3. 30.48 cm = 1.0 ft.
E4. % error = +/- 6.84%; measured distance = 0.466 m.
P1. This example solution places an active-high LED on P13.
to travel to the object and back.
CmConstant
or 0.03448.
damaged.
modified to use the LCD’s control codes.
increase in air temperature.
' Smart Sensors and Applications - Ch2_Project1.bs2
' Indicate out-of-range with flashing LED.
' {$STAMP BS2}
' {$PBASIC 2.5}
LED
LCD
Ping
CmConstant
InConstant
MaxDistance
cmDistance
time
PAUSE 200
SEROUT LCD, 84, [22, 12]
PAUSE 5
DO
LOW LED
PULSOUT 15, 5
DEBUG
commands have to be modified, and control characters have to be
is the
PIN
PIN
PIN
CON
CON
CON
VAR
VAR
**
equivalent of the speed of sound in air divided by 10000,
13
14
15
2260
890
361
Word
Word
Chapter 2: Tilt with the Memsic Accelerometer · Page 63
' Red LED active high
' Parallax Serial LCD
' Parallax Ping))) sensor
' Calc roundtrip time of sound
' Maximum can measure (empirical)
' Distance in centimeters
' Round trip echo time
' Initialize LCD
' LED off before each measurement
' Start Ping)))
Adjust MaxDistance to suit.

Related parts for 28029