Micro Controllers Flashcards

1
Q

What are the Arduino 3 dedicated ports?

A

Port b, c and d

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

What are 3 main advantages of the 3 dedicated arduino ports

A

Memory, speed and control

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

Port B uses what digital pins

A

D8 to D13

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

Port c used what analog pins

A

A0 to A5

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

Port D used what digital pins

A

D0 to D7

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

What does the DDR register do

A

Determines whether a pin is to be used as an input or output

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

What does the port register do

A

Controls which pins are high or low

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

What does the pin register do

A

Reads the logic levels at the ports pins

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

What can the map function be used for

A

To remap a number held in a variable or object from one range to another

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

What movement can servo motors do

A

Back and fourth, clockwise and anti clockwise

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

What are the two types of interrupts

A

External or hardware interrupts or timer and software interrupts

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

What does VE do on liquid crystal display

A

Allows control over the contrast of display using bolts between 0-5v

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

What does rs do on liquid crystal display

A

Controls where in the memory of the lcd driver you are writing data to

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

What does RW do in liquid crystal display

A

Tells LCD driver whether you are writing data to the display or reading data from it

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

What does E do in a liquid crystal display

A

This pin enables data to be written to registers

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

What is the speed of sound in air

A

343 meters per second at room temperature (20 degrees)

17
Q

How is distance to object calculated

A

Speed of sound x (pulse time of flight/2)

18
Q

How does a stepper motor work

A

On electromagnetism

19
Q

What is a stepper motor

A

An electromechanical devise which converts electrical pulses into discrete mechanical movements

20
Q

How many motors in a stepper motor

A

2; bipolar or unipolar