MonoBrick EV3 Firmware
Classes | Enumerations
Package MonoBrickFirmware.Sensors

Classes

class  AnalogSensor
 
class  EV3ColorSensor
 
class  EV3GyroSensor
 Class for the EV3 Gyro sensor More...
 
class  BeaconLocation
 Class for IR beacon location. More...
 
class  EV3IRSensor
 Class for the EV3 IR sensor More...
 
class  EV3TouchSensor
 Class used for touch sensor. Works with both EV3 and NXT More...
 
class  EV3UltrasonicSensor
 Class for the EV3 ultrasonic sensor More...
 
class  HiTecColorSensor
 HiTechnic color sensor More...
 
class  HiTecCompassSensor
 HiTechnic tilt compass sensor More...
 
class  HiTecGyroSensor
 HiTechnic gyro sensor More...
 
class  Position
 X Y Z position More...
 
class  HiTecTiltSensor
 HiTechnic tilt compass sensor More...
 
class  I2CSensor
 Base class for all I2C sensors. This should be used when implementing a new I2C sensor More...
 
interface  ISensor
 Interface for a sensor More...
 
class  RGBColor
 Class that holds RGB colors More...
 
class  NXTColorSensor
 
class  NXTLightSensor
 Class for the NXT light sensor More...
 
class  NXTSoundSensor
 Class for the NXT sound sensor. More...
 
class  NXTTouchSensor
 Class used for touch sensor. Works with both EV3 and NXT More...
 
class  UltraSonicSettings
 
class  NXTUltraSonicSensor
 Sonar sensor More...
 
class  SensorFactory
 
class  UARTHelper
 
class  I2CHelper
 
class  DummySensor
 
class  SensorListner
 
class  SensorManager
 Class used to share sensor functions and informations between sensor instances
 
class  UartSensor
 Class for reading and writing data to a UART sensor More...
 

Enumerations

enum  AnalogMode {
  None = (byte)'-', Float = (byte)'f', Set = (byte)'0', ColorFull = 0x0D,
  ColorRed = 0x0E, ColorGreen = 0x0F, ColorBlue = 0x10, ColorNone = 0x11,
  ColorExit = 0x12, Pin1 = 0x01, Pin5 = 0x02
}
 Analog commands More...
 
enum  GyroMode { Angle = UARTMode.Mode0, AngularVelocity = UARTMode.Mode1 }
 Sensor modes when using a EV3 Gyro sensor More...
 
enum  IRMode { Proximity = UARTMode.Mode0, Seek = UARTMode.Mode1, Remote = UARTMode.Mode2 }
 Sensor mode when using a EV3 IR Sensor More...
 
enum  IRChannel { One = 0, Two = 1, Three = 2, Four = 3 }
 IR channels More...
 
enum  I2CMode { LowSpeed = AnalogMode.Set, LowSpeed9V = AnalogMode.Set | AnalogMode.Pin1 }
 Sensor modes More...
 
enum  Color {
  None = 0, Black = 1, Blue = 2, Green = 3,
  Yellow = 4, Red = 5, White = 6, Brown = 7
}
 Colors that can be read from the EV3 color sensor More...
 
enum  ColorMode {
  Reflection = AnalogMode.ColorRed, Ambient = AnalogMode.ColorNone, Color = AnalogMode.ColorFull, Green = AnalogMode.ColorGreen,
  Blue = AnalogMode.ColorBlue
}
 Sensor mode when using a NXT or EV3 color sensor More...
 
enum  LightMode { Relection = AnalogMode.Set | AnalogMode.Pin5, Ambient = AnalogMode.Set }
 Sensor mode when using a NXT light sensor More...
 
enum  SoundMode { SoundDBA = AnalogMode.Set | AnalogMode.Pin5, SoundDB = AnalogMode.Set }
 Sensor mode when using a sound sensor More...
 
enum  UltraSonicMode { Centimeter = UARTMode.Mode0, Inch = UARTMode.Mode1, Listen = UARTMode.Mode2 }
 Sensor mode when using a Sonar sensor More...
 
enum  SensorPort { In1 = 0, In2 = 1, In3 = 2, In4 = 3 }
 Sensor ports More...
 
enum  UARTMode {
  Mode0 = 0, Mode1 = 1, Mode2 = 2, Mode3 = 3,
  Mode4 = 4, Mode5 = 5, Mode6 = 6, Mode7 = 7
}
 Sensor modes More...
 

Enumeration Type Documentation

Analog commands

Colors that can be read from the EV3 color sensor

Sensor mode when using a NXT or EV3 color sensor

Enumerator
Reflection 

Use the color sensor to read reflected light

Ambient 

Use the color sensor to detect the light intensity

Color 

Use the color sensor to distinguish between eight different colors

Green 

Activate the green light on the color sensor. Only works with the NXT Color sensor

Blue 

Activate the green blue on the color sensor.

Sensor modes when using a EV3 Gyro sensor

Enumerator
Angle 

Result will be in degrees

AngularVelocity 

Result will be in degrees per second

Sensor modes

IR channels

Sensor mode when using a EV3 IR Sensor

Enumerator
Proximity 

Use the IR sensor as a distance sensor

Seek 

Use the IR sensor to detect the location of the IR Remote

Remote 

Use the IR sensor to detect wich Buttons where pressed on the IR Remote

Sensor mode when using a NXT light sensor

Enumerator
Relection 

Use the lgith sensor to read reflected light

Ambient 

Use the light sensor to detect the light intensity

Sensor ports

Sensor mode when using a sound sensor

Enumerator
SoundDBA 

The sound level is measured in A-weighting decibel

SoundDB 

The sound level is measured in decibel

Sensor modes

Sensor mode when using a Sonar sensor

Enumerator
Centimeter 

Result will be in centimeter

Inch 

Result will be in centi-inch

Listen 

Sensor is in listen mode