5.7. Exercise: Sensors#
Instructions
Pick a sensor from this list:
TCS34725 Color Sensor
BME280 (or BME680) Environmental Sensor
KY-037 Microphone Sound Sensor Module
AS5600 Magnetic Rotary Encoder
Find the datasheet on the web for your chosen sensor
Question 1
Answer the following:
What does this sensor measure, and where could it be used?
Solution
TCS34725
Measures red, green, blue, and clear light levels. Used in line-following robots, color-sorting machines, and ambient light detection.
BME280/BME680
Measures temperature, humidity, and barometric pressure (BME680 also measures air quality VOCs). Useful in weather stations, drones (altitude), and HVAC monitoring.
KY-037
Detects sound levels or captures audio waveform. Used for clap-activated switches, voice detection, or audio input.
AS5600
Measures angular position of a rotating shaft (0-360°). Used in motor control, robotics joints, knobs, and steering systems.
Question 2
Answer the following:
Describe the working principle of the sensor. In other words explain the physical principle or technology it uses.
Solution
Solution is locked
Question 3
Answer the following:
How does the sensor communicate its data to a microcontroller?
Solution
Solution is locked
Question 4
Answer the following:
What are the alternatives to this sensor?
In what ways do they differ?
Solution
Solution is locked