28029 Parallax Inc, 28029 Datasheet - Page 263

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
Figure 6-19: Bicycle Wheel Acceleration Study
With this in mind, we are back to performing acceleration studies, under as many
different situations as possible. Here is the program that was used to log the data for the
graph in Figure 6-19. Notice that it is logging word-sized values for both the x and y-axis
measurements. The spreadsheet is given the job of changing the raw accelerometer
PULSIN
Example Program: BikeWheelAcceleration.bs2
As a project, test the bicycle meter in different temperatures and riding conditions, turns,
up hill, down hill, slow, fast, etc. Look for a sequence of changes in measurements that
can be tracked regardless of the conditions. If there is not a hysteresis range for all
conditions, your code may need to periodically update the most recent high and low
values, and then look for hysteresis within that range.
' -----[ Title ]--------------------------------------------------------------
' Smart Sensors and Applications - BikeWheelAcceleration.bs2
' Datalogs 500 x and y-axis acceleration measurements.
'{$STAMP BS2}
'{$PBASIC 2.5}
Accelerometer
measurements into gravity measurements.
Accelerometer
y-axis
-0.5
-1.5
1.5
0.5
-1
-2
x-axis
2
1
0
0
100
200
Bike Wheel at Tw o Different Speeds
300
400
tim e, m s
500
600
Chapter 6: Accelerometer Projects · Page 251
700
800
900
1000

Related parts for 28029