28029 Parallax Inc, 28029 Datasheet - Page 242

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
Page 230 · Smart Sensors and Applications
ACTIVITY #5: RC CAR ACCELERATION STUDY
This activity demonstrates how to use the program DatalogAcceleration.bs2 from the
previous activity to analyze the acceleration forces on a radio-controlled (RC) car during
a variety of maneuvers.
acceleration forces can be used to track and plot the car's velocity and position. Although
the actual equipment and calculations are somewhat more involved, deriving position
from successive acceleration measurements is a component of the inertial guidance
systems employed in rockets and spaceships. These systems use a combination of the 3-
Remove the
and
In the
...with this
Modify the display heading in the
this:
Replace these four commands:
...with these two:
Save your changes and test the modified program.
DEBUG CR, "Index
Display_Data
WRITE eeIndex, x
WRITE eeIndex + 1, y
value = x ATN y
WRITE eeIndex, value
READ eeIndex, x
x = x - 100
READ eeIndex + 1, y
y = y - 100
READ eeIndex, value
value = value */ 361
Record_Data
CR, "-----
CR
ATN
STEP 2
operation and
subroutines.
subroutine, replace these two
This activity also demonstrates how these datalogged
argument from the
angle ",
------",
WRITE
Display_Data
command:
FOR
...
NEXT
WRITE
subroutine so that it looks like
loops in the
commands:
Record_Data

Related parts for 28029