Difference between revisions of "Motion (use with mDesigner)"

From Microduino Wiki
Jump to: navigation, search
(Blocks)
(Blocks)
 
(One intermediate revision by the same user not shown)
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|250px|center]]
+
<div style="width: auto; display: inline-block;">
 
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 111: Line 111:
 
::*'''Angular Rate''' - the rate in which the angle is changing on 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).
 
:*'''Axis''' - axis to measure -- yaw, pitch, or roll (see right).
 
+
</div>
 +
<div style="width: auto; display: inline-block;">
 +
[[File:Motion Yaw Pitch Roll-01.png|thumb|200px]]
 +
</div>
 
==Motion - Read Acceleration on Axis==
 
==Motion - Read Acceleration on Axis==
[[File:Motion Acceleration Axis-01.png|thumb|250px|center]]
+
<div style="width: auto; display: inline-block;">
 
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]]
::*'''Axis''' - axis to measure (see right).
+
:*'''Axis''' - axis to measure (see right).
 
::*'''front-back''' - green
 
::*'''front-back''' - green
 
::*'''left-right''' - blue
 
::*'''left-right''' - blue
 
::*'''up-down''' - red
 
::*'''up-down''' - red
 +
</div>
 +
<div style="width: auto; display: inline-block;">
 +
[[File:Motion Acceleration Axis-01.png|thumb|200px]]
 +
</div>

Latest revision as of 23:47, 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.

Compatible Pins

The following pins on the Hub or mCenter+'s Hub support this module:

Hub I2C Pins.png
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).

MDesigner Motion Read Angle AngularRate.png
  • 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 Yaw Pitch Roll-01.png

Motion - Read Acceleration on Axis

This block reads the acceleration on the selected axis (front-back, left-right, up-down).

MDesigner Motion Read Acceleration.png
  • Axis - axis to measure (see right).
  • front-back - green
  • left-right - blue
  • up-down - red
Motion Acceleration Axis-01.png