Worksheets21. LED Chaser Using Potentiometer - RoboticSchools
Total questions: 10
Worksheet time: 10mins
What happens when you turn the potentiometer to its maximum position? 🎚️
All LEDs will turn off ❌
Only the 10th LED will turn on 🌟
he first LED will blink rapidly ⚡
All LEDs will light up at the same time 🎉
Which code snippet correctly sets the LED pins from 2 to 11 as outputs? 🤖
What happens if you accidentally connect the potentiometer to a digital pin instead of an analog pin? 🤔🔌
The potentiometer will get damaged! ⚡️💔
The potentiometer will only output 1s and 0s! ⚡️🔢
The potentiometer will provide a range of values! 📊
The potentiometer will light up! 🌟
Which of the following connections are correct for connecting a potentiometer to an Arduino?
What is it called when you connect all the LED grounds to one ground pin on the Arduino? ⚡️🔌
Shared Ground 🤝
Common Ground 🌍
Ground Connection 🌐
Ground Loop 🔄
Which operator is needed to light up the LEDs connected from pin 2 to pin 11? 💡
<=
>=
<
==
Why can't we use pins 0 and 1 to connect the LEDs in this project? 🚫💡
They are reserved for serial communication. 📡
They don't support digital output. ❌
They can only be used for input devices. 🛑
They have a different voltage level. ⚡
Why do we usually add a resistor in series with each LED? 🔧 💡
To limit the current and protect the LED 🛡️
To slow down the blinking ⏱️
To change the LED's color 🌈
To make the LED brighter ✨
If the potValue receives 512 from the potentiometer, how many LEDs will light up? 🧮
4 🔢
6 🖐️
5 ✋
10 🎉
What is the most likely problem with this snippet? 🐛
( 10 LEDs are connected )
LEDs never turn off once lit 🚫
map() should end at 10, not 11 📐
map() function doesn't work with analog pins 🚫
analogRead() should be digitalRead() 📟
