28029 Parallax Inc, 28029 Datasheet - Page 225

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
Example
Let's say that the adjacent distance to an object is 10 m, and at that distance the
accelerometer was held 1.5 m from the ground to get the line of sight of the top of an
object. The angle reported by the accelerometer unit was 61°. From this, we can
estimate the height of the object to be 19.54 m, as shown below.
ACTIVITY #2: RECORD AND PLAYBACK
With accelerometer projects, it will often be necessary to record and play back lots of
accelerometer measurements. In some cases, recording the value is the desired function,
like datalogging how a car handles a turn. In other cases, such as detecting the human
walking motion, it will be necessary to understand what the measurements are like before
a program can be written that tracks steps. In either case, recording and playing back
acceleration measurements is a necessary ingredient. This activity introduces a program
with subroutines that demonstrate how to record, play back, and erase values stored in the
unused portion of the BASIC Stamp EEPROM program memory.
EEPROM Storage with DATA, WRITE and READ
While not required for recording and playing back measurements,
used to set aside chunks of unused program memory. The
Adjacent
Accelerome
Accelerome
opposite
object
height
=
=
=
=
distance
10
18
adjacent
(
10
ter
ter
.
m
04
m
=
=
=
)(
18.04
19.54
tan
measured
height
opposite
1
.
804
=
θ
tan
10
m
m
=
)
m
θ
+
1.5
+
1.5
accelerome
θ
=
m
m
61
°
Chapter 6: Accelerometer Projects · Page 213
ter
height
DATA
DATA
directive's optional
directives can be

Related parts for 28029