You will design two embedded systems with multiple inputs on one microcontroller and output via a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You will design two embedded systems with multiple inputs on one microcontroller and output via a single controller. That employs 12C communication, timer interrupts to sense the data at different times and an external interrupt on microcontroller 1 to stop the sensing. Outputs will be shown on microcontroller 1. This can be viewed in Figure 1 and Figure 2. Use Timer Interrupts to poll sensors at different frequencies Use a button at μC1 to stop sensing μC 2 using external interrupt Analogue 0-5V I/P #1 ADC #1 Analogue 0-5V I/P #2 12C Communication μC 2 ADC #2 Figure 1 initial Embedded System in Hardware and Software Use Timer Interrupts to poll sensors at different frequencies ADC #2:1 HC 2 12C Communication ADC #2:2 Use a 3-way switch at μC 1 to stop sensing from each of the uc using external interrupt ADC #3:1 μC 1 Analogue 0-5V I/P #2:1 Analogue 0-5V I/P #2:2 Analogue 0-5V I/P #3:1 Analogue 0-5V 1/P #3:2 Analogue 0-5V I/P #4:1 Analogue 0-5V I/P #4:2 μC 1 μC 3 μC 4 12C Communication ADC #3:2 ADC #4:1 12C Communication ADC #4:2 Figure 2 Enhanced Embedded System in Software Digital Output #1 Digital Output #2 Digital Output #1 Digital Output #N Design Specification Convert your sensors program to have multiple functions - one for each sensor Get your temperature and light sensor to auto-calibrate - by using the function Add a second Arduino 12C serially send input data from a single analogue sensor connected to Arduino 1 using I2C to Arduino 2 and output this, to a component, such as the serial monitor or LCD display Add an emergency stop/start button to Arduino 1, that turns off sensing and sending - implement this as an external interrupt Modify your programme to use a timer interrupt to read from different sensors at different time intervals as required, ex: temp sensor every 1s, light sensor every 10s Finally add two more Arduinos (Figure 2) each with 2 sensors and report all of the readings on Arduino 1. Present your x2 'final' designs in TINKERCAD Include x2 public TINKERCAD links in your report You will design two embedded systems with multiple inputs on one microcontroller and output via a single controller. That employs 12C communication, timer interrupts to sense the data at different times and an external interrupt on microcontroller 1 to stop the sensing. Outputs will be shown on microcontroller 1. This can be viewed in Figure 1 and Figure 2. Use Timer Interrupts to poll sensors at different frequencies Use a button at μC1 to stop sensing μC 2 using external interrupt Analogue 0-5V I/P #1 ADC #1 Analogue 0-5V I/P #2 12C Communication μC 2 ADC #2 Figure 1 initial Embedded System in Hardware and Software Use Timer Interrupts to poll sensors at different frequencies ADC #2:1 HC 2 12C Communication ADC #2:2 Use a 3-way switch at μC 1 to stop sensing from each of the uc using external interrupt ADC #3:1 μC 1 Analogue 0-5V I/P #2:1 Analogue 0-5V I/P #2:2 Analogue 0-5V I/P #3:1 Analogue 0-5V 1/P #3:2 Analogue 0-5V I/P #4:1 Analogue 0-5V I/P #4:2 μC 1 μC 3 μC 4 12C Communication ADC #3:2 ADC #4:1 12C Communication ADC #4:2 Figure 2 Enhanced Embedded System in Software Digital Output #1 Digital Output #2 Digital Output #1 Digital Output #N Design Specification Convert your sensors program to have multiple functions - one for each sensor Get your temperature and light sensor to auto-calibrate - by using the function Add a second Arduino 12C serially send input data from a single analogue sensor connected to Arduino 1 using I2C to Arduino 2 and output this, to a component, such as the serial monitor or LCD display Add an emergency stop/start button to Arduino 1, that turns off sensing and sending - implement this as an external interrupt Modify your programme to use a timer interrupt to read from different sensors at different time intervals as required, ex: temp sensor every 1s, light sensor every 10s Finally add two more Arduinos (Figure 2) each with 2 sensors and report all of the readings on Arduino 1. Present your x2 'final' designs in TINKERCAD Include x2 public TINKERCAD links in your report
Expert Answer:
Related Book For
Transportation A Global Supply Chain Perspective
ISBN: 9781337406642
9th Edition
Authors: Robert A. Novack, Brian Gibson, Yoshinori Suzuki, John J. Coyle
Posted Date:
Students also viewed these accounting questions
-
An interacting control system with two inputs and two outputs is shown in Figure P2.31. Solve for Y1(s)/R1(s) and Y2(s)/R1(s) when R2 = 0. H15) Gits) Gals) Hjts) FIGURE P2.31 Interacting Systom.
-
In Figure V =10 V C1 =10F, and C2= C3= 20F. Switch S is first thrown to the left side until capacitor 1 reaches equilibrium. Then the switch is thrown to the right. When equilibrium is again reached,...
-
A system with a controller is shown in Figure AP5.5. The zero of the controller may be varied. Let α = 0, 10, 100. (a) Determine the steady-state error for a step input r(t) for...
-
You firm needs to pay its British supplier 1,000,000. If the exchange rate is $1.61/, how many dollars will you need to pay the British supplier? OA. $1,000,000 OB. $621,118 c. $1,610,000 D. $385,787
-
Discuss how the effectiveness and efficiency of order picking and assembly can be improved without large expenditures.
-
The circuit in Figure P8-29. is operating in the sinusoidal steady state with \(i_{\mathrm{S}}(t)=I_{\mathrm{A}} \cos (\omega t)\). Derive general expressions for the steady-state responses...
-
A single acting reciprocating pump has its piston diameter as 150 mm and stroke 250 mm. The piston makes 50 double strokes per minute. The suction and delivery heads are 5 m and 15 m respectively....
-
Consider a service provider that is in the delivery business such as UPS or FedEx. How can the principles of MRP be useful to such a company?
-
COOK v. Rhode Island Department of Mental Health, Retardation, and Hospitals United States First Circuit Court of Appeals 10 F.2d 17 Plaintiff Cook, a woman who stood 5 feet 2 inches tall and...
-
Gold Enterprises acquired 100 percent of Premium Builders stock on December 31, 20X4. Balance sheet data for Gold and Premium on January 1, 20X5, are as follows: At the date of the business...
-
Write a complete C program to recursively find the largest element of a given array. Input Enter the size of the array: 8 Enter the array elements : 8, 3, 7, 1, 9, 6, 2, 4 Output 9
-
Under the federal rules, a disclosure statement must contain a. the name, address, and telephone number of each person likely to have discoverable information. b. any documents in the possession,...
-
During the process of ____________ ____________ the judge or the attorneys can ask potential jurors questions.
-
A(n) ____________ is an affidavit indicating that the plaintiff has read the complaint and that to the best of their knowledge it is true.
-
A plaintiff must be aware of the contact at the time it occurs for the defendant to be liable for a. battery. b. assault. c. both assault and battery. d. neither assault nor battery.
-
What is the transferred-intent doctrine?
-
Citizen is one of the largest watch manufactures in the world. It has got its feet in both technology and fashion industry. It markets its product all over the world, its main target market is high...
-
Read Case Study Google: Dont Be Evil Unless and answer the following: Why do you think Google was adamant about not wanting to supply information requested by the government concerning the Child...
-
What roles do individual states play in transportation regulation?
-
How is new equipment technology contributing to transportation sustainability initiatives?
-
Describe the three types of strategies that a company can deploy to proactively limit its transportation risks.
-
Why is it important to test a theory? Why not simply accept a theory if it sounds right?
-
What is the intuition behind the geometric growth in interest?
-
You have $100,000 to donate to your college. You want to endow a perpetual scholarship that makes its first payment in 1 year. If the colleges discount rate is 4%, how large will the annual...
Study smarter with the SolutionInn App