10 Questions
What is the primary function of a microcontroller in an embedded system?
To act as the control unit
What type of architecture is used in the ATmega328P microcontroller?
Harvard architecture
What is the capacity of the program memory in the ATmega328P microcontroller?
32kB
What is the purpose of the DDRB register in the ATmega328P microcontroller?
To configure the direction of I/O pins
What is the minimum voltage required to operate the ATmega328P microcontroller?
3V
Which of the following is true about the generation of PWM signals on an Arduino?
Timers/counters with 2 outputs supply the PWM signals and can only be accessed from specific terminals.
What special purpose register can be used to change the frequency of the PWM signal on pin 3?
TCCR2B
What will be the duty cycle on pin 3 if the analogWrite(3,78) function is used?
Almost 30%
What is the potential of the input A0 if X = 5 when using analogRead(A0)?
Approximately 24mV
How do you signal a change to the microcontroller when using an external voltage source for the reference voltage?
By calling the analogReference(EXTERNAL) function
Test your knowledge of microcontrollers, including their architecture, memory types, and programming. Questions cover topics such as microcontroller vs microprocessor, program memory, and data memory.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free