Index

Motion Motion

できること

回転や向きの変化、振動などを検知し入力するセンサーです(3軸加速度、3軸角速度)。

使用方法

図の矢印の方向にすばやく動かすと値が大きくなり、反対の方向にすばやく動かすと、値が小さくなります。

補足


例えば、センサーを振った数をカウントするゲームを作ったり(加速度・Accelerometer)、ハンドルを作ったりすることができます(角速度・Gyro)。

注意点

動かしていない時の初期値は0です。
矢印のプラス方向にすばやく動かすと0より値が大きくなり、マイナスの方向にすばやく動かすと0より値が小さくなります。
ただし、平らなところに置いたときは、地球の重力の影響でAccelerometerのZ方向が-50に近い値になります。

Tips

人間は常に下方向に落ち続けているんですよ。(詳しくは大人に聞いてみよう!)
VIVIWARE Cell Motionを繋ぐと、Shake DetectorRotate DetectorというSupport Moduleも表示されるので使ってみよう!

What you can do

A sensor to detect and input rotation, change of direction, and vibration (three acceleration / three angular rate).

How to use

When you move it quickly in the direction of the arrow in the figure below, the value will increase, and when you move it quickly in the opposite direction, the value will decrease.

Remarks


You can create a game that counts the number of times you shake the sensor (Accelerometer) or create a steering wheel (Gyro).

Caution

The default value is 0 when you don’t move it.
When you move it quickly in the positive direction in the figure, the value will be greater than 0, and when you move it quickly in the negative direction, the value will be less than 0.
However, when it is placed on a flat surface, the Z-axis of Accelerometer will be close to -50 due to the effect of the earth’s gravity.

Tips

Every human is constantly falling downward (ask an adult for more details!)

Try the Support Modules named Shake Detector and Rotate Detector, they will be shown when you connect the VIVIWARE Cell Motion!

share
close

Share