microcontrollers shit Flashcards

1
Q

Timers

A

Count time in the background so that programming code can continue to be executed (multitasking)

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

Clocks

A

count the number of seconds
timers count the number of Tcy

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

PWM Purpose

A

Stimulates an analog output using a digital signal

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

Duty Cycle

A

Percentage of time a signal is ON verses Off in 1 Cycle

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

Oscillator frequency (fosc)

A

How fast the microcontroller runs

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

Prescaler

A

A setting that slows down the timer to make longer time intervals

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

Post Scaler

A

A setting that makes a timer overflow less often

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

Duty value

A

Controls how long the PWM signal stays ON during each cycle

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

Period Parameter (T2PR)

A

Controls how long one full PWM cycle lasts

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

Clock Source (Int vs Ext)

A

Decides whether the timer runs from the chip’s clock or an outside signal

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

Roll-Over

A

When the timer reaches its maximum count and starts over

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

Overflow flag (TMR01f)

A

A signal that tells the program the timer has restarted

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

Capacitor

A

A device that stores and releases electricity,
like a small battery

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

Capacitance (C)

A

A measure of how much charge a capacitor can store

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

Charge (Q)

A

The amount of electricity stored in a capacitor

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

Voltage Across Capacitor (V-C)

A

The amount of electrical
pressure in the capacitor

16
Q

ADC

A

Process of converting continuous analog signals into stepwise digital signals

17
Q

ADC bits

A

Determines the number of bins (steps) that are used to separate an analog signal. More ADL bits= finer resolution

18
Q

How does the ADC sort the analog signal into the correct bin ?

A

Comparator
Voltages to compare to (via voltage divider)
Algorithm

19
Q

Acquisition Time

A

Time taken to capture an analog voltage before conversion

20
Q

Sample and Hold Circuit

A

A circuit that stabilizes an analog signal before ADC processing