Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Working with embedded computer systems using a Galileo board in Arduino software

ID: 3742428 • Letter: W

Question


Working with embedded computer systems using a Galileo board in Arduino software

DAC Circuit Analog Output AO 2k DS 1k Digital Inputs 42k lk 2k D3 2k t2k2400hm (Protect) D2 2. PIN2-PIN5 are the digital inputs to the ADC circuit 3. The Analog output of the DAC given as an input to the Galileo (on Analog Input 0). 4. Write a C program to generate 16 digital outputs "0000 to 1111' across the Output pins in the order PIN5 PIN4 PIN3 PIN2.' With a delay of1 second. (Ex.1) 5. Use the C code of (Ex.3) for measuring the analog voltage obtained 6. For each input from '0000' to 1111' display the following on the Serial Monitor The Analog voltage for the input XXXX is X.XXX" 7. Fill the table at the end of the exercise.

Explanation / Answer

Decimal Binary Analog voltage output

D5   D4 D3   D2

00 0000 0 0 0 0 0

01 0001 0 0 0 5 -0.5

02 0010 0 0 5 0 -1

03 0011 0 0 5 5 -1.5

04 0100 0 5 0 0 -2

05 0101 0 5 0 5 -2.5

06 0110 0 5 5 0 -3

07 0111 0 5 5 5 -3.5

08 1000 5 0 0 0 -4

09 1001 5 0 0 5 -4.5

10 1010 5 0 5 0 -5

11 1011 5 0 5 5 -5.5

12 1100 5 5 0 0 -6

13 1101 5 5 0 5 -6.5

14 1110 5 5 5 0 -7

15 1111 5 5 5 5 -7.5

In this way we can calculate.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote