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

From Microduino Wiki
Jump to: navigation, search
(Blocks)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
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). Support for this module is found in mDesigner.
+
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.
 
{| class="wikitable" style="background-color:#FEF9E7;"
 
{| class="wikitable" style="background-color:#FEF9E7;"
|'''Note:''' This module has a similar name to a '''Microduino / mCookie Motion''' module. They are NOT the same modules.<br>mDesigner does not support the '''Microduino / mCookie Motion''' module.
+
|'''Note:'''<br>This module has a similar name to a '''Microduino / mCookie Motion''' module. They are NOT the same modules.<br>mDesigner does not support the '''Microduino / mCookie Motion''' module.
 
|}
 
|}
 +
=Compatible Pins=
 +
The following pins on the '''Hub''' or '''mCenter+'s Hub''' support this module:
 +
<div style="width: 80%;">
 +
<div style="float: left;">[[File:Hub_I2C_Pins.png|thumb|600px]]</div>
 +
<div style="float: left;">
 +
{| class="wikitable" style="text-align: left;"
 +
|-
 +
! scope="col"| Pin Name
 +
! scope="col"| Compatibility
 +
! scope="col"| Notes
 +
|-
 +
| '''Pin 0'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 1'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 2'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 3'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 4'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 5'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 6'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 7'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 8'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 9'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 10'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 11'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 12'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 13'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A0'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A1'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A2'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A3'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A6'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A7'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin I2C'''
 +
| style='background: #EAFAF1' | Yes
 +
| Any I2C / IIC pin.
 +
|}
 +
 +
</div>
 +
<br style="clear: left;" />
 +
</div>
 +
=Blocks=
 +
==Motion - Read Angle / Angular Rate on Axis==
 +
<div style="width: auto; display: inline-block;">
 +
This block reads the angle or angular rate on the selected axis (yaw, pitch, or roll).
 +
::[[File: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).
 +
</div>
 +
<div style="width: auto; display: inline-block;">
 +
[[File:Motion Yaw Pitch Roll-01.png|thumb|200px]]
 +
</div>
 +
==Motion - Read Acceleration on Axis==
 +
<div style="width: auto; display: inline-block;">
 +
This block reads the acceleration on the selected axis (front-back, left-right, up-down).
 +
::[[File:MDesigner_Motion_Read_Acceleration.png]]
 +
:*'''Axis''' - axis to measure (see right).
 +
::*'''front-back''' - green
 +
::*'''left-right''' - blue
 +
::*'''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