Week 5 Quiz: Analog Inputs & Sensors

Test your understanding of analog signals and sensor interfacing

📝 10 questions covering ADC, sensors, and data processing

Student Information

Question 1: ADC Resolution

What is the resolution of Arduino's Analog-to-Digital Converter (ADC)?

Question 2: Analog Reading Function

Which function is used to read analog values from a sensor?

Question 3: Voltage Conversion

If analogRead() returns 512 on a 5V system, what voltage does this represent?

Question 4: map() Function

What does this code do: int brightness = map(sensorValue, 0, 1023, 0, 255);

Question 5: Potentiometer Wiring

In a potentiometer circuit, which pin should be connected to the analog input?

Question 6: LED Current-Limiting Resistors

Why is a current-limiting resistor essential when connecting an LED to an Arduino pin?

Question 7: Data Filtering

Why is data filtering important when reading sensors?

Question 8: Moving Average

In a moving average filter with 5 readings, what happens to the oldest reading when a new one is added?

Question 9: Sensor Calibration

Explain why sensor calibration is important and describe one method to calibrate a light sensor for your specific environment.

Question 10: Voltage Divider Circuit

Describe how a voltage divider circuit works with a variable resistor (like an LDR or potentiometer) to create varying analog signals for the Arduino to read.

← Back to Week 5 Lesson
Next: Week 6 Lesson →