2d. Colour Sensor - Amarygdala/FRC-5911 GitHub Wiki

Exercise proper precautions when handling sensitive electronics!

Overview

The colour sensor senses the color.

What you need

  • Colour Sensor V3 (plugs into the I2C port on the roboRIO)

Specs

  • Built-in white LED
  • LED power is switchable with built-in switch
  • Max Operating Voltage: 3.3V
  • Sensor Type: I2C
  • Measurement channels: Red, Green, Blue, Alpha, and Proximity
  • Proximity Sensor Range: 1cm - 10cm
  • Mounting Holes: 2 x M3 Holes on a 32mm pitch
  • Dimensions: 41.7mm x 17mm x 15mm

Code

private final ColorSensorV3 m_colorSensor = new ColorSensorV3(i2cPort);

side note for colour sensor

Resources