Test Tube Color Sensor Lab
Sections
1. Introduction
2. Test Tube Color Sensor
1. Introduction
The test tube color sensor has a white LED on one side and a color sensor on the other. You can use the measurements from the color sensor to test for a color change as part of a chemical reaction.
In the next section we'll be using the test tube color sensor. Attach the LED to digital pin 2 and the color sensor to an I2C pin on your grove shield.
2. Test Tube Color Sensor
In this section you can see the readings for the red, green, and blue channels of the color sensor. The maximum value for each channel is 65535.

  • Record Baseline will take a baseline measurement to be subtracted from the raw readings.
  • Clear Baseline will reset the baseline measurement.
  • Toggle Light will switch the light on and off. This could be helpful if you want to monitor a chemical reaction that produces light.

Controls
Values
Red
0
Green
0
Blue
0

3. Lesson Done