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

Answer #3 and #4 please thank you! 3. Answer the following about the Arduino PCB

ID: 2248358 • Letter: A

Question


Answer #3 and #4 please thank you!

3. Answer the following about the Arduino PCB Number of Digital I/O pins Number of Analog Input pins How do we setup a pin to either digital input or digital output? What function is used? Give an example line of code for setting up a pin as digital output What voltages are output at the pins when a specific Arduino pin is made 4. 5. (i) HIGH using digital Write (O function (ii) LOW using digital Write 0 function 6. In Circuit-01 Sketch, smaller values in the delay () function makes the loop run faster. why? If we need a loop time of 0.01 seconds what should be the "value" in "delay (value)"? 7. Declare a variable based on the Arduino code syntax that can hold the following values/characters (a) 2..3 (b) 1000 (c) a 8. Name the function used to perform A/D conversion in Circuit 02. What input does this function take?

Explanation / Answer

3: Arduino consists of variety of boards

The most frequently used is arduino uno

There are 14 digital input output pins out of which three provide provision for PWM

There are about 6 analog input pins in ardiuno uno

4. The pinMode() function is used to set a digital pin as input or output. The syntax of this function is as follows

pinMode(pin,mode).

Here mode can either be input or output. While pin defines the pin which you want to configure as an input or output.

Configuring a digital pin as an input:
pinMode(13, INPUT)

The above code sets configures digital pin no 13 of the arduino as an input pin

Configuring a digital pin as an output:
pinMode(11, OUTPUT)

The above code sets configures digital pin no 11 of the arduino as an output pin

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