What are its input parameters and its output

Assignment Help Electrical Engineering
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?

Reference no: EM131088410

Questions Cloud

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..

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Find at what time the current dropped by 50percent

Assuming that the current through and inductor is i l(t) = 10exp(-t/3). Find at what time this current dropped by 50percent of its initial value.

  Define whether discrete-time systems are causal or noncausal

Determine whether the following discrete-time systems are causal or noncausal, have memory or are memoryless, are linear or nonlinear, are time invariant or time varying. In the following parts, x[n] is an arbitrary input and y[n] is the response

  What must be the distance be between filaments 2 and 3

Filament 1 is on the left, filament 2 is in the middle, and filament 3 is on the right. Filaments 1 and 2 have currents of 1 A in the ba z direction, and filament 3 has a current of 2 A in the ba z direction

  What is the frequency for a periodic signal with a period

What is the frequency for a periodic signal with a period of 2.5 ns 2.5 GHz 250 MHz 4.0 GHZ 400 MHz 2. Which decimal number is equivalent to 25 10 25 31 32 3. Convert the following decimal negative numbers to their 8-bit, 2's complement formulatio..

  How a rare disease affects individuals in the population

Now assume that the doctor knows that 1 in 100 individuals with symptom G will have the rare disease, and he only orders the test when individuals have symptom G. Given that one of the doctor's patients tests positive.

  Find the locus of the closed-loop roots with respect to k

For the closed-loop system with plant model and controller given by G(s) = (s2+81)/(s2(s2 + 100)) D(s) = (K (S+1))/(S+13) (a) Find the locus of the closed-loop roots (poles) with respect to K;

  Water is flowing through a diameter pipe at a velocity

Water is flowing through a 0.1 m diameter pipe at a velocity of 2.5 m/s. what diameter pipe will it need to transition into to decelerate to 0.5 m/s

  Write down the principle of energy conversion

Write down the principle of energy conversion and give an example for single and double excited system.

  What is the angle between the field vectors e and d

Group and phase velocity in uniaxial crystals: a. Derive an expression for the group velocity of the extraordinary wave in a uniaxial crystal as a function of the polar angle of the propagation vector.

  Show that h is invertible with an lti inverse that is causal

Show that H(s) is invertible with an LTI inverse that is causal and stable (meaning, we can implement the inverse system) if and only if all poles and zeros of H(s) are strictly in the left half plane. We call such an H(s) minimum phase.

  Calculate the percentage full- scale reading of transducer

A simple voltage divider circuit is used to measure the output of a transducer whose total resistance is 1000 ± 1percent. The internal resistance of voltmeter is 10000 ± 5percent, and the meter is calibrated to read with in ½ % ofthe true voltage ..

  Problem regarding the three-phase load

The transformer supplies a 400 V feeder of resistance 0.01 Ω/ph and reactance j0.005 Ω/ph. If VR, the receiving-end voltage, is 400 V, calculate VS, the sending-end voltage, when the three-phase load delivered is 250 kW at unity power factor.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd