MOWAY
Title: mOway Beginners Manual Rev: v3.1.0 – February 2013 Page 77 of 84
The following table shows the mOway variables we can read in Scratch using the “sensor value” block.
For example the previous block indicates the remaining battery level of mOway. Variable
Description
Range of values
Obstacle Side Left
Obstacle Side Left Sensor
0 – 255
Obstacle Center Left
Obstacle Center Left
0 – 255
Obstacle Center Right
Obstacle Center Right Sensor
0 – 255
Obstacle Side Right
Obstacle Side Right Sensor
0 – 255
Line Left
Line left Sensor
0 (white) – 255 (black)
Line Right
Line right Sensor
0 (white) – 255 (black)
Light
Ambient Light Sensor
0 – 100%
Distance
Km counter in mm
-
Microphone
Noise level
0 – 255
X-Axis g
Acceleration in g in the axis X
-2.0 to 2.0 g
Y-Axis g
Acceleration in g in the axis Y
-2.0 to 2.0 g
Z-Axis g
Acceleration in g in the axis Z
-2.0 to 2.0 g
Motor End
Activated sensor when the last command sent to the motor has finished.
0–1
www.moway-robot.com