Answer the questions about the Arduino board What is the pow

Answer the questions about the Arduino board. What is the power supply voltage used in the Arduino UNO R3 board? (the schematic file for Arduino at the following link, . Uno Rey3r.schematic.pdf.) Determine the maximum LOW level input/output voltage and minimum HIGH level input/output voltage according to the given electrical characteristics. (You may refer to the data sheet of ATmega328P) Please find the contents of PORTC after execution of each line of the following codes (assume the code is executed in sequence): PORTC = 0 times 73 & 0 times CA; PORTC |=0 times 99: PORTC = -PORTC: PORTC = -(0

Solution

1 Ans) a)From the schematic Power supply Voltage used is 5 V

----------------------------------------------------

b)Maximum Low level Input voltage is 0.3*VCC,if we take as in the schematic

   Max low level voltage =0.3*5=1.5 V

   Minimum High level voltage is 0.6 *VCC

Minimum high level voltage=0.6*5=3 V

-----------------------------------------

2.Ans)

A) 0x73=0111 0011

   0xCA=1100 1010

------------------------------------

AND(&)= 0100 0010=0x42

So content in PORTC is 0x42

---------------------------------------------------------------------------

B) PORTC=0x42=0100 0010

0x99=1001 1001

----------------------------------------------

OR(|) = 1101 1011 =0xDB

So content in PORTC is 0xDB

-------------------------------------------------------------------------------------

C) PORTC=1101 1011

~PORTC=0010 0100 =0x24

So content in PORTC is 0x24

-------------------------------------------------------------------------------

D) PORTC=~(0<<3)=~(0)=1111 1111 =0xFF

left shifting zeros by 3 places will give zeros only ,complimenting it will give 1\'s

So content in PORTC is 0xFF

  

 Answer the questions about the Arduino board. What is the power supply voltage used in the Arduino UNO R3 board? (the schematic file for Arduino at the followi
 Answer the questions about the Arduino board. What is the power supply voltage used in the Arduino UNO R3 board? (the schematic file for Arduino at the followi

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site