Midterm Questions Flashcards

(26 cards)

1
Q

the distance measured by the ultrasonic sensor is calculated using which formula

A

(v x t)/2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The wavelength of a 40 kHz ultrasonic wave in air is approximately

A

8.6 mm or 0.0086 m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which physics principle allows the ultrasonic sensor to detect objects

A

Reflection of Sound Waves

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

which pin made should be used for connecting a push button to Arduino with an internal pull-up resistor

A

INPUT_PULLUP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In Arduino code what does delay (250): mean

A

Wait for 250 milliseconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why do we divide by 2 in the distance formula of the ultrasonics sensor

A

the wave travels to the object and back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What will happen if you use a passive buzzer with simple HIGH/LOW signals

A

it will produce only a faint click or tone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which factor affects the speed of sound in air the most

A

Temperature of the air

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

the angle of detection for the HC-SR04 ultrasonic sensor is approximately

A

15 degrees

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A potentiometer is best described as

A

A three terminal adjustable resistor that can acts as a voltage divider

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many electrical terminals does a typical potentiometer have

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The middle terminal of a potentiometer is commonly called the

A

Wiper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When a potentiometer is wired across 5 v and GND, the wiper provides

A

A continuously variable voltage between 0 v and 5 v

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In schematic symbols, the IEC style typically shows a resistor as a

A

Rectangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In schematic symbols, the ANSI style typically shows a resistor as a

A

Zig-Zag line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The wiper arrow drawn touching the resistor symbol ( IEC or ANSI) indicates

A

An adjustable contact that moves along the resistive track

17
Q

using a pot as a voltage divider means

A

The wiper and both ends are used to generate a variable output voltage

18
Q

A digital signal can take what set of values

A

Discrete/Noncontinuous

19
Q

what is the maximum amplitude of a digital HIGH signal

20
Q

What does the term Period (T) mean

A

the time taken for one cycle

21
Q

On Arduino Uno/Mega analogRead() of a pot on A0 returns what value of bits

A

0-1023( 10 bit)

22
Q

analog Write() on a PWN pin mainly controls LED brightness by changing

23
Q

In PWM, increasing the duty cycle will

A

Increases average output voltage

24
Q

An LED controlled with PWM appears dimmer when

A

Duty Cycle is low

25
The function map(value, 0, 1023, 0,255) is used to
Convert ADC range to PWM range
26