122-28029 Parallax Inc, 122-28029 Datasheet - Page 97
![GUIDE STUDENT SMART SENSORS](/photos/8/99/89971/mfg_122-28029_sml.jpg)
122-28029
Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 122-28029
Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 97 of 340
- Download datasheet (5Mb)
ACTIVITY #5: MEASURING 360° VERTICAL ROTATION
The MX2125 has a built-in feature that allows you to use both the x and y axis tilt
measurements to calculate the accelerometer's angle of rotation in the vertical plane, as
shown in Figure 3-15. There are lots of applications where vertical tilt is useful,
including virtual steering wheels for video games and counting bicycle wheel revolutions.
This activity demonstrates how to calculate tilt on the vertical plane with the PBASIC
ATN
Calculating Arctangent with PBASIC
The tangent of an angle theta (θ) in a right triangle is the ratio of the opposite side of a
right triangle (y) divided by the adjacent side (x). If you know the values of x and y, you
can use the inverse tangent or arctangent to figure out the angle θ. The most common
notations for arctangent are tan
√
√
√
√
√
operator.
Open SimpleTilt.bs2 from Activity #1 and save it as CentigravityTilt.bs2
Follow the steps for scaling from Activity #3 and determine the
scale constants.
Add lines of code to the program that scale the x and y values down to g/100.
Modify the display so that it shows in the Debug Terminal.
Test according to Figure 3-14 and troubleshoot if necessary.
−1
and arctan.
Chapter 3: Tilt with the Memsic Accelerometer · Page 85
Figure 3-15
Tilt on the Vertical Plane
**
operation
Related parts for 122-28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![122-27400](/photos/8/99/89964/mfg_122-27400_tmb.jpg)
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![122-28176](/photos/8/99/89965/mfg_122-28176_tmb.jpg)
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![122-32000](/photos/8/99/89977/mfg_122-32000_tmb.jpg)
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
![HW-FLYLEADS](/photos/8/95/89575/hw-flyleads_tmb.jpg)
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
![HW-USB-FLYLEADS-G](/photos/8/95/89577/hw-usb-flyleads-g_tmb.jpg)
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
![HW-USB-II-G](/photos/8/95/89581/hw-usb-ii-g_tmb.jpg)
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
![HW-CRII-PM-ACC-G](/photos/8/98/89837/hw-crii-pm-acc-g_tmb.jpg)
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: