Reference no: EM131088410
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?
Technological advancement and structural unemployment
: If so, is this behavior a natural consequence of technological advancement and structural unemployment? If not, is Corporate America operating under the principle of "Profit Maximization"?
|
Maintain competitive markets and discourage
: What do we call government regulation intended to maintain competitive markets and discourage unfair accumulation of market power?
|
Shortage in the market for product when
: There is a shortage in the market for a product when.
|
Discuss why there has been such lack of economic integration
: Discuss why there has been such a lack of economic integration in the Middle East and North Africa (MENA) and do you think that the lack of integration is a result of MENA nations noninvolvement with the World Trade Organization?
|
What are its input parameters and its output
: 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.
|
Organization of petroleum exporting countries
: What do we call the events occurring in 1973 when the Organization of Petroleum Exporting Countries put an embargo on oil shipments to the United States and several European countries?
|
Opinions related to the current banking crisis
: Discuss information and opinions related to the current banking crisis and/or past banking crisis. What causes them? How can we prevent them? What has been done/should be done during a banking crisis?
|
Calculate the price p the monopolist
: 1) Calculate the price P the monopolist will set, the corresponding Q, and the monopolist's profits. 2) Suppose there is a technology the monopolist can adopt, for a fixed cost C, that reduces the marginal cost to 10. For what values of C will the..
|
Consider the great recession
: Consider the Great Recession of 2007-2009, explain what you would expect to observe in the labor market during the recession and then explain what you would expect to observe in the labor market five years later. Questions to consider when formulatin..
|