Icon of block
NXT-G Block for GlideWheel-AS Angle Sensor
This block interfaces with GlideWheel-AS Angle Sensor from mindsensors.com

DO NOT use this block with GlideWheel-M.
For GlideWheel-M, use block from this location.


Display Settings

Angle Sensor Block
  1. This shows the chosen I2C address for GlideWheel-AS, and the chosen Port to which this device should be connected (Connect your sensor to this port. If you are connecting your sensor to a different port, change this number in the configuration panel to appropriate port number.)
  2. Comparison chosen for this instance of the block.
  3. Data input and/or output plugs.

Configuring the GlideWheel-AS Angle Sensor Block

Angle Sensor Panel
  1. The NXT’s port to connect this sensor to.
  2. The I2C address of the sensor.  The factory default address is 0x30. Choose appropriate value if you have specifically changed the address.
  3. If you need to compare angle, select the type of comparison you need. The comparison result is provided in it's plug.
  4. Specify the comparison value here.
  5. If you are comparing 'Near' a current value, specify a tolerance within which the value would be matched.
    In the example above, the result will be True for angle between 340 and 380 degrees.

GlideWheel-AS Angle Sensor Block's Data Hub Plugs

AngleSensor Hub
Open the Data Hub to see the plugs.
  1. This plug returns the angle.
  2. This plug returns RPM (revolutions per minute) value of the rotating shaft or wheel.
  3. This plug returns True/False based on Current comparison values specified on the Block Panel.
  4. Raw value from the Angle Sensor (For advanced uses or higher precision operations, this value has a resolution of 0.5 degrees).