130-28029 Parallax Inc, 130-28029 Datasheet - Page 238

KIT PARTS SMART SENSORS

130-28029

Manufacturer Part Number
130-28029
Description
KIT PARTS SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 130-28029

Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Page 226 · Smart Sensors and Applications
datalogging before it starts by simply pressing and releasing your board's Reset button.
Then, to restart the countdown, just press and release the Reset button again.
Example Program: DatalogAcceleration.bs2
This program takes and stores 500 accelerometer x and y-axis measurements in about 15
seconds. This equates to a sampling rate of about 33 measurements per second. This is
good for a variety of measurements. To measure longer and slower processes, the
Record_Data
When you are ready to start tilting the accelerometer for fifteen seconds, press and
release the Reset button. The datalogger will beep for a ten second countdown, then end
with two higher-pitched beeps signaling the start of the datalogging. It will make a single
high-pitched beep when it's finished.
Open and run DatalogAcceleration.bs2.
Click the Debug Terminal's Transmit windowpane.
Type R to start recording, and tilt your accelerometer this way and that for
fifteen seconds.
When prompted, press Enter to return to the program's menu.
Type D to display the measurements.
correspond to how you tilted the accelerometer.
Disconnect your board from the serial cable. If it starts beeping as you do so,
press and release the reset button to make it stop.
Press and release the reset button.
accelerometer in a pattern that you can remember, for 15 seconds.
Plug your accelerometer back into your computer. If it starts beeping, press and
release the reset button to stop the countdown.
Click the BASIC Stamp Editor's Run button to download the program to the
BASIC Stamp and refresh the Debug Terminal's Menu display.
Type D to display the datalogged measurements.
Compare them to the directions you tilted the board and make sure they
correspond.
Free Download! This program is available as a free .bs2 file download from the Smart
Sensors and Applications Product Page at www.parallax.com.
subroutine can be slowed down with a
Wait the ten seconds, then tilt your
Review them and verify that they
PAUSE
command.

Related parts for 130-28029