Add the rgb yellow blue and green leds to create a separate


Procedure: 1

Design a circuit and Arduino program that accomplishes the following:

Implements all of the functionality of the Pentatonic Micro Piano.

Use an array to simplify your sketch on determining the buttons pressed.

Add the RGB, yellow, Blue, and Green LEDS to create a separate LED or joint LEDs (RGB LED) and resistors to light for each note when the pushbutton is pressed.

Send your code file (.ino) of the lab completed and operational as well for credit.

Analysis/Discussion:

Explain the process you used in this lab to arrive at the final design of both the hardware portion and the software portion to achieve the design objectives.

Provide an analysis of the Tone() function. What are its input parameters and its output?

Discuss how the use of array processing is enabled by use of For Loops

Procedure: 2

Design a circuit and Arduino program that implements the following:

A system that requests an input from the user in the form of a username or an ID (i.e. jd626) and then checks to verify that against stored username or ID. The system should display "Please enter your username or ID: " in the serial monitor when you run the code.

If the data entered by the user matches the stored data then the system results in an authorized access (simulating an authorized entry) by echoing "Hello " in the serial monitor and turning ON the green LED on the circuit.

If the data entered does not match the stored data then the system results in unauthorized access (simulating an unauthorized entry) by echoing "Invalid Username" in the serial monitor and turning ON the red LED on the circuit. Make a note that the original prompt will be displayed to repeat the process in the

Please take a screenshot of the program execution on the serial monitor and the circuit board. Show the prompt on the serial monitor as well as the illuminated green or red LED on the circuit board for both possible conditions.

Send your code file (.ino) of the lab completed and operational as well for credit.

Analysis/Discussion:

Explain the process you used in this lab that demonstrates the potential interaction of the Arduino board and other devices.

In serial commination, why is it important to understand the processing of the characters and strings?

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Add the rgb yellow blue and green leds to create a separate
Reference No:- TGS01466469

Expected delivery within 24 Hours