Difference between revisions of "Motion (use with mDesigner)"
From Microduino Wiki
(→Blocks) |
(→Blocks) |
||
Line 104: | Line 104: | ||
=Blocks= | =Blocks= | ||
==Motion - Read Angle / Angular Rate on Axis== | ==Motion - Read Angle / Angular Rate on Axis== | ||
− | [[File:Motion Yaw Pitch Roll-01.png|thumb| | + | [[File:Motion Yaw Pitch Roll-01.png|thumb|250px|center]] |
This block reads the angle or angular rate on the selected axis (yaw, pitch, or roll). | This block reads the angle or angular rate on the selected axis (yaw, pitch, or roll). | ||
::[[File:MDesigner_Motion_Read_Angle_AngularRate.png]] | ::[[File:MDesigner_Motion_Read_Angle_AngularRate.png]] | ||
Line 113: | Line 113: | ||
==Motion - Read Acceleration on Axis== | ==Motion - Read Acceleration on Axis== | ||
− | [[File:Motion Acceleration Axis-01.png|thumb| | + | [[File:Motion Acceleration Axis-01.png|thumb|250px|center]] |
This block reads the acceleration on the selected axis (front-back, left-right, up-down). | This block reads the acceleration on the selected axis (front-back, left-right, up-down). | ||
::[[File:MDesigner_Motion_Read_Acceleration.png]] | ::[[File:MDesigner_Motion_Read_Acceleration.png]] |
Revision as of 23:41, 28 June 2018
The motion sensor is a 3-axis gyroscope and 3-axis accelerometer. It is capable of detecting the angle and angular rate in the yaw, pitch, and roll axes (aircraft principal axes). Along with acceleration on the difference axes. Support for this module is found in mDesigner.
Note: This module has a similar name to a Microduino / mCookie Motion module. They are NOT the same modules. mDesigner does not support the Microduino / mCookie Motion module. |
Contents
Compatible Pins
The following pins on the Hub or mCenter+'s Hub support this module:
Pin Name | Compatibility | Notes |
---|---|---|
Pin 0 | No | |
Pin 1 | No | |
Pin 2 | No | |
Pin 3 | No | |
Pin 4 | No | |
Pin 5 | No | |
Pin 6 | No | |
Pin 7 | No | |
Pin 8 | No | |
Pin 9 | No | |
Pin 10 | No | |
Pin 11 | No | |
Pin 12 | No | |
Pin 13 | No | |
Pin A0 | No | |
Pin A1 | No | |
Pin A2 | No | |
Pin A3 | No | |
Pin A6 | No | |
Pin A7 | No | |
Pin I2C | Yes | Any I2C / IIC pin. |
Blocks
Motion - Read Angle / Angular Rate on Axis
This block reads the angle or angular rate on the selected axis (yaw, pitch, or roll).
-
- Angle / Angular Rate - measure the angle or angular rate.
- Angle - the angle of the selected axis.
- Angular Rate - the rate in which the angle is changing on the selected axis.
- Axis - axis to measure -- yaw, pitch, or roll (see right).
Motion - Read Acceleration on Axis
This block reads the acceleration on the selected axis (front-back, left-right, up-down).