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
-
Identify a problem in our natural world that is the result of overuse or by over mining of one or more natural resources to advance a corporation. Prepare a summary that includes the negative effects...
-
A paper mill is considering two types of pollution control equipment. The firm wants a 12% rate of return on any avoidable increments of investment. Which equipment should be purchased?...
-
Marilyn Miller opened a floral shop using \($5,000\) of her own cash savings and with \($15,000\) in cash borrowed from her parents. She signed a lease on a small store for one year, agreeing to pay...
-
Nicks Enchiladas Incorporated has preferred stock outstanding that pays a dividend of $5 at the end of each year. The preferred sells for $50 a share. What is the stocks required rate of return?
-
The Riteway Ad Agency provides cars for its sales staff. Its present fleet of cars is three years old and will be sold very shortly. To provide a replacement fleet, the company is considering two...
-
Cost 100,000 Similar projects, Eta and Zeta, are being considered using the payback method. Each has an initial cost of $100,000. Annual cash flows for each project are provided in the table at the...
-
Make a budget for the two families described below. Then, analyze the differences. Create a Venn diagram that shows the similarities and differences. Create a tip sheet to help each family improve...
-
Cream City Co. requests help with recording transactions in special journals for its first month of operations. It uses a sales journal, purchases journal, cash receipts journal, cash payments...
-
Osprey Corporation, an accrual basis taxpayer, reported taxable income for 2023 and paid $51,000 on its estimated state income tax for the year. During 2023, the company received a $5,100 refund upon...
-
Greene Corporation manufactures a drink bottle, model CL24. During 2020, Greene produced 160,000 bottles at a total cost of $736,000. Sealy Corporation has offered to supply as many bottles as Greene...
-
Solve the above problem with the simplex method. Minimize Z = 8X1 + 6X2 Subject to 2X14X28 3X1 + 2X2 >= 6 X1, X2 >=0 Solve the above problem with the simplex method. Provide the value of the basic...
-
Prepare and draw a titration curve for an unknown amino acid (which will be either histidine, glutamic acid, or cysteine). Using this titration curve, you will determine each of the pKa's for the...
-
How would you explain the following code in plain English? boxplot(age ~ gender, data = donors) Question 8 options: Make a boxplot comparing gender grouped by age, using the donors dataset Make two...
-
Write a paper about how diet relates to breast cancer in women study design to use: case control study purpose & rationale the purpose of this final project is to utilize the methods and...
-
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.
-
Create a similar barplot as in Figure 1. 5, but now plot the corresponding proportions of males and females in each of the three situation categories. That is, the heights of the bars should sum up...
-
Import the data set EuStockMarkets from the same website as the iris data set above. The data set contains the daily closing prices of four European stock indices during the 1990s, for 260 working...
-
The iris data set, mentioned in Section1.1, contains various features, including 'Petal.Length' and 'Sepal.Length', of three species of iris: setosa, versicolor, and virginica. (a) Load the data set...
Study smarter with the SolutionInn App