tutorbin

embedded system homework help

Boost your journey with 24/7 access to skilled experts, offering unmatched embedded system homework help

tutorbin

Trusted by 1.1 M+ Happy Students

Place An Orderand save time
man
phone
  • United States+1
  • United Kingdom+44
  • Afghanistan (‫افغانستان‬‎)+93
  • Albania (Shqipëri)+355
  • Algeria (‫الجزائر‬‎)+213
  • American Samoa+1
  • Andorra+376
  • Angola+244
  • Anguilla+1
  • Antigua and Barbuda+1
  • Argentina+54
  • Armenia (Հայաստան)+374
  • Aruba+297
  • Ascension Island+247
  • Australia+61
  • Austria (Österreich)+43
  • Azerbaijan (Azərbaycan)+994
  • Bahamas+1
  • Bahrain (‫البحرين‬‎)+973
  • Barbados+1
  • Belarus (Беларусь)+375
  • Belgium (België)+32
  • Belize+501
  • Benin (Bénin)+229
  • Bermuda+1
  • Bhutan (འབྲུག)+975
  • Bolivia+591
  • Bosnia and Herzegovina (Босна и Херцеговина)+387
  • Botswana+267
  • Brazil (Brasil)+55
  • British Indian Ocean Territory+246
  • British Virgin Islands+1
  • Brunei+673
  • Bulgaria (България)+359
  • Burkina Faso+226
  • Burundi (Uburundi)+257
  • Cambodia (កម្ពុជា)+855
  • Cameroon (Cameroun)+237
  • Canada+1
  • Cape Verde (Kabu Verdi)+238
  • Caribbean Netherlands+599
  • Cayman Islands+1
  • Central African Republic (République centrafricaine)+236
  • Chad (Tchad)+235
  • Chile+56
  • China (中国)+86
  • Christmas Island+61
  • Cocos (Keeling) Islands+61
  • Colombia+57
  • Comoros (‫جزر القمر‬‎)+269
  • Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)+243
  • Congo (Republic) (Congo-Brazzaville)+242
  • Cook Islands+682
  • Costa Rica+506
  • Côte d’Ivoire+225
  • Croatia (Hrvatska)+385
  • Cuba+53
  • Curaçao+599
  • Cyprus (Κύπρος)+357
  • Czech Republic (Česká republika)+420
  • Denmark (Danmark)+45
  • Djibouti+253
  • Dominica+1
  • Dominican Republic (República Dominicana)+1
  • Ecuador+593
  • Egypt (‫مصر‬‎)+20
  • El Salvador+503
  • Equatorial Guinea (Guinea Ecuatorial)+240
  • Eritrea+291
  • Estonia (Eesti)+372
  • Eswatini+268
  • Ethiopia+251
  • Falkland Islands (Islas Malvinas)+500
  • Faroe Islands (Føroyar)+298
  • Fiji+679
  • Finland (Suomi)+358
  • France+33
  • French Guiana (Guyane française)+594
  • French Polynesia (Polynésie française)+689
  • Gabon+241
  • Gambia+220
  • Georgia (საქართველო)+995
  • Germany (Deutschland)+49
  • Ghana (Gaana)+233
  • Gibraltar+350
  • Greece (Ελλάδα)+30
  • Greenland (Kalaallit Nunaat)+299
  • Grenada+1
  • Guadeloupe+590
  • Guam+1
  • Guatemala+502
  • Guernsey+44
  • Guinea (Guinée)+224
  • Guinea-Bissau (Guiné Bissau)+245
  • Guyana+592
  • Haiti+509
  • Honduras+504
  • Hong Kong (香港)+852
  • Hungary (Magyarország)+36
  • Iceland (Ísland)+354
  • India (भारत)+91
  • Indonesia+62
  • Iran (‫ایران‬‎)+98
  • Iraq (‫العراق‬‎)+964
  • Ireland+353
  • Isle of Man+44
  • Israel (‫ישראל‬‎)+972
  • Italy (Italia)+39
  • Jamaica+1
  • Japan (日本)+81
  • Jersey+44
  • Jordan (‫الأردن‬‎)+962
  • Kazakhstan (Казахстан)+7
  • Kenya+254
  • Kiribati+686
  • Kosovo+383
  • Kuwait (‫الكويت‬‎)+965
  • Kyrgyzstan (Кыргызстан)+996
  • Laos (ລາວ)+856
  • Latvia (Latvija)+371
  • Lebanon (‫لبنان‬‎)+961
  • Lesotho+266
  • Liberia+231
  • Libya (‫ليبيا‬‎)+218
  • Liechtenstein+423
  • Lithuania (Lietuva)+370
  • Luxembourg+352
  • Macau (澳門)+853
  • North Macedonia (Македонија)+389
  • Madagascar (Madagasikara)+261
  • Malawi+265
  • Malaysia+60
  • Maldives+960
  • Mali+223
  • Malta+356
  • Marshall Islands+692
  • Martinique+596
  • Mauritania (‫موريتانيا‬‎)+222
  • Mauritius (Moris)+230
  • Mayotte+262
  • Mexico (México)+52
  • Micronesia+691
  • Moldova (Republica Moldova)+373
  • Monaco+377
  • Mongolia (Монгол)+976
  • Montenegro (Crna Gora)+382
  • Montserrat+1
  • Morocco (‫المغرب‬‎)+212
  • Mozambique (Moçambique)+258
  • Myanmar (Burma) (မြန်မာ)+95
  • Namibia (Namibië)+264
  • Nauru+674
  • Nepal (नेपाल)+977
  • Netherlands (Nederland)+31
  • New Caledonia (Nouvelle-Calédonie)+687
  • New Zealand+64
  • Nicaragua+505
  • Niger (Nijar)+227
  • Nigeria+234
  • Niue+683
  • Norfolk Island+672
  • North Korea (조선 민주주의 인민 공화국)+850
  • Northern Mariana Islands+1
  • Norway (Norge)+47
  • Oman (‫عُمان‬‎)+968
  • Palau+680
  • Palestine (‫فلسطين‬‎)+970
  • Panama (Panamá)+507
  • Papua New Guinea+675
  • Paraguay+595
  • Peru (Perú)+51
  • Philippines+63
  • Poland (Polska)+48
  • Portugal+351
  • Puerto Rico+1
  • Qatar (‫قطر‬‎)+974
  • Réunion (La Réunion)+262
  • Romania (România)+40
  • Russia (Россия)+7
  • Rwanda+250
  • Saint Barthélemy+590
  • Saint Helena+290
  • Saint Kitts and Nevis+1
  • Saint Lucia+1
  • Saint Martin (Saint-Martin (partie française))+590
  • Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)+508
  • Saint Vincent and the Grenadines+1
  • Samoa+685
  • San Marino+378
  • São Tomé and Príncipe (São Tomé e Príncipe)+239
  • Saudi Arabia (‫المملكة العربية السعودية‬‎)+966
  • Senegal (Sénégal)+221
  • Serbia (Србија)+381
  • Seychelles+248
  • Sierra Leone+232
  • Singapore+65
  • Sint Maarten+1
  • Slovakia (Slovensko)+421
  • Slovenia (Slovenija)+386
  • Solomon Islands+677
  • Somalia (Soomaaliya)+252
  • South Africa+27
  • South Korea (대한민국)+82
  • South Sudan (‫جنوب السودان‬‎)+211
  • Spain (España)+34
  • Sri Lanka (ශ්‍රී ලංකාව)+94
  • Sudan (‫السودان‬‎)+249
  • Suriname+597
  • Svalbard and Jan Mayen+47
  • Sweden (Sverige)+46
  • Switzerland (Schweiz)+41
  • Syria (‫سوريا‬‎)+963
  • Taiwan (台灣)+886
  • Tajikistan+992
  • Tanzania+255
  • Thailand (ไทย)+66
  • Timor-Leste+670
  • Togo+228
  • Tokelau+690
  • Tonga+676
  • Trinidad and Tobago+1
  • Tunisia (‫تونس‬‎)+216
  • Turkey (Türkiye)+90
  • Turkmenistan+993
  • Turks and Caicos Islands+1
  • Tuvalu+688
  • U.S. Virgin Islands+1
  • Uganda+256
  • Ukraine (Україна)+380
  • United Arab Emirates (‫الإمارات العربية المتحدة‬‎)+971
  • United Kingdom+44
  • United States+1
  • Uruguay+598
  • Uzbekistan (Oʻzbekiston)+998
  • Vanuatu+678
  • Vatican City (Città del Vaticano)+39
  • Venezuela+58
  • Vietnam (Việt Nam)+84
  • Wallis and Futuna (Wallis-et-Futuna)+681
  • Western Sahara (‫الصحراء الغربية‬‎)+212
  • Yemen (‫اليمن‬‎)+967
  • Zambia+260
  • Zimbabwe+263
  • Åland Islands+358
*Get instant homework help from top tutors—just a WhatsApp message away. 24/7 support for all your academic needs!

Recently Asked embedded system Questions

Expert help when you need it
  • Q1: For 27th when it is 10:30 AM LT (Clock time),answer the following questions. 1. What is the geographical position (coordinates) of KC? (Points 3) 2. What is the difference of the Local Time (LT) from Greenwich Mean Time (GMT) in hours for KC? 3. Calculate LSTM for KC. 4. Calculate Equation of Time (EoT). 5. Calculate time correction factor. 6. Calculate local solar time. 7. Calculate hour angle for this time.See Answer
  • Q2: Q 1: The parameters of the circuit in Figure 1are R, =RL = 10k2, C2 =15mA/V. Use s-domain analysis to find5002, C1 = 20µF, R;10pF, and1kQ,Em =the low 3-dB frequency fL, the high 3-dBfrequency fH , and the midband gainAp(mid)APB. (25 Points) See Answer
  • Q3: Amplitude modulation (broadcast AM) is used to modulate signal to transmit message m1(t), with a modulation indexu=0.75, based upon a carrier with frequency 100 kHz. a. What amplitude of the carrier is added to get this µ? b. Write an expression for 02(t)=DAM(t) – you can leave it in terms of m1(t) c. Find the bandwidth, BT2 , of this modulated signal - 32000 Hz d. Estimate the power efficiency of this signal - the ratio of the sideband power to the total power of the modulatedsignal. (Hint: Intelligent guesstimations will work on this or you can do more work) e. Can an envelope detector be used to demodulate? If no, what needs to change? If yes, name a good RC value thatwould work.See Answer
  • Q4: Consider the simplified linear de machine we discussed in class. The machine has the following characteristics: B = 0.5 T into page R = 0.2 N l = 0.6 m VR = 110 V Calculate the starting current of the machine, and the machine's velocity at no load. While the external force on the bar remains the same as part (b), suppose the bar runs off into a region in which the flux density is 1.3 T. Calculate the new current and determine its direction. What would be the new induced voltage in the bar?What would be the final steady state speed of the bar? ) Now assume the battery voltage is increased to Vg=130 V while everything else remaining as in part (c). What is the new current, induced voltage, and final steady-state speed of the bar? ) Suppose that an external force of Fapp = 25 N is applied to the bar in the same direction of the bar's motion. Is the machine working as a motor or a generator?Find the new current and determine its direction. What would be the new induced voltage in the bar? What would be the final steady state speed of the bar? How much mechanical power would the bar be producing or consuming? How much electrical power would the bar be producing or consuming? How much electrical power would the battery be producing or consuming?See Answer
  • Q5: Design a BCD counter. The circuit counts from 0 to 9, then resets back to 0 to restart the counting sequence. The circuit has one input run/stop. If the input is 1, the counter will count. If the input is0, the counter will freeze in its current location until the input is set to 1 again. III IUSI agal• The circuit has one output. It becomes 1 when the counter completes a cycle and starts the next one. Otherwise, that output is 0.See Answer
  • Q6: Design a counter with the following sequence: 0, 1, 2 ,4, 6. Use JK Flip-Flop.See Answer
  • Q7: Design a sequential circuit with two D flip-flops A and B, and one input x_in. When x_in = 1, the circuit goes through the state transitions from 00 to 01, to 11, to 10,back to 00, and repeats. When x_in = 0, the circuit goes through the same sequence above, but backwards. The value of x_in can change at any point in time. Therefore, the circuit may reversedirection at any point and follow the sequence in the other direction from that point.See Answer
  • Q8: Q 2: Design a common-source NMO Samplifier as shown in Figure 2 to give a pass band gain of 20 < |A PB| < 30,Z n(mid) 2 100kohms , a low 3-dB frequency of fL < 10kH z, and a high 3-dB frequency of 200k H z. (25 Points)f Ipss = 12.5mA, ID = 1mA, and Vp = -3.5V ro » Rd ||RL , RL » Rd and RG very large . Rd = 10 k ohms gm = 4.98 * 10-3 R2=500kohms , RL=100kohms , R,5 =5 kohms R2=500kohms , RL 100kohms , R5=5kohms fL = 9.9kHz, fc2 = fL/10 C1 =8n F Rc1 = Rf1 = 110kohms See Answer
  • Q9: 4. Write C statements that set B to the reverse complement of A, such at B7 = ~A0, B6 = ~A1,etc.See Answer
  • Q10:Supposed you are tasked to build a simple carbon monoxide sensor that functions in the following way: 1. Measure the CO2 sensor, which gives an analog output of 0 to 1.0V 2. A value of more than 0.5V represents a dangerous level of CO2 (0.0V means no CO2) 3. In the case of a dangerous condition, an alert must be given in the form of illuminating an external LED connected to any GPIO pin. 4. The sampling rate of the sensor must be 1kHz. 5. Use must use an ATTINY84 Microcontroller, which is also an 8-bit AVR processor similar (but different) to our 32u4 (datasheet attached). 1. Take a few minutes to review the datasheet to familiarize yourself with the available GPIO pins, available timers, and ADC setup. Review the address mappings in section 22 as well. For this part of the exam, you can not use known registers like PORTB etc. You must use unsigned char pointers to the correct addresses. 2. Write a function called void SetupTimer() that sets up any timer to function as a 1kHz timer (no PWM generation, no pins connected). The timer should reset every 1ms. Be sure to set up the appropriate registers in section 11.9 of the datasheet. 3. Write a function called void SetupLED() which sets up the selected GPIO pin (you can select any appropriate pin) for the LED alert. 4. Write a function called void SetupADC() which sets up the ADC to the appropriate MUX channel (you can choose any one you want). Set up the ADC to use a prescaler of 16, and use your timer overflow as an Auto Trigger Source for the ADC. See section 16.13.4 (Table 16.7) 5. Write the setup function that calls your functions described above. 6. Write the loop function that reads the ADC and performs the logic to illuminate the LED appropriately. Don't make the LED flicker if the ADC hovers around 0.5V! 7. Sketch the schematic that shows which pins you used and the interconnect diagram of the LED, ATTINY, and the CO2 sensor. 8. Now, using Platform IO, start a new project and use the board "Generic ATTINY84". Import the code you developed in 1. through 7., but now you can use the defined registers like PORTA etc. Submit the .cpp file with your code.See Answer
  • Q11:Q1 (a) (b) A modern embedded processor is used in the engine management unit for a hybrid petrol/electric car - requiring precise measurement of engine emissions in real time. Discuss whether single precision or double precision floating point arithmetic is most appropriate for the software running on this processor. [4] (c) (d) State the range of allowable values for the exponent and fraction of IEEE-754 single precision floating point numbers. [3] (e) Obtain the IEEE single precision representation for the number -15.62510 showing your working at each point of the analysis. [7] Explain the key differences between the IEEE-754 numbers Ox7f800000 and 0x7fc00000. [3] The code of figure Q1 is executed on a Freescale Kenetis Microcontroller. Assume that the function delayms (int n) creates a delay of n ms. i) ii) iii) Describe the purpose and action of the line PTB->PDDR = 0x080000 noting the pin on which it acts. [4] Why is the bitwise operation '=' not needed when acting upon the registers PCOR and PSOR? [2] } What changes would be necessary in this program so that the output would be observed on port B, pin 3? [2] #include <MKL2524.H> void delayms (int n); int main (void) { SIM->SCGC5= PORTB->PCR [19] PTB->PDDR = 0x080000;" while (1) 1 PTB-PCOR= 0x080000; delayms (500) PTB-PSOR = 6x080000; delayms (500);See Answer
  • Q12:T Section A. 1. Intel Pentium chips used in Windows PCs need external chips to store data. bytes of on-chip data RAM. 2. The ATmega64 has 3. Which of the following is (are) illegal? and [50 marks] (a) ADD R20, R11 (b) ADD R16, R1 (c) ADD R52, R16 4. What is the status of the C flag after the following code? LDI R20,0x54 LDI R25, 0xC4 ADD R20, R25 5. True or False. In BREQ instruction, the compiler jumps to location if zero flag is active. 6. The time delay of following program is LDI R15, 12 LDI R16, 14 LDI R21, 5 ADD R15, R16 ADD R15, R21 7. Write a short program that make all pins of PORTB one using R19 register. 8. True or False. Parallel communication needs fewer traces and wires than serial communication. if crystal frequency is 8 MHz:See Answer
  • Q13:Need at least 50 page report with code. Project: Ø: Embedded Systems -Development of a Simulated Home Automation System using Arduino Microprocessor This project involves the design and simulation of a home automation system using an Arduino microprocessor. The system should be able to control various home systems like lighting, heating, and security based on input data. Students will need to design the system, write the code to control the various systems, and then simulate the whole setup. Knowledge of Arduino programming and experience with Proteus or similar simulation software is required for this project. Check the Example ReportSee Answer
  • Q14:1. ARM Data Addressing. Suppose r0=0x8000, and the memory layout is as follows Address 0x8000 0x8001 0x8002 0x8003 0x8004 0x8005 0x8006 0x8007 Data 0x1A 0x2C OxEB OxOD OXFD 0xA3 0XCD 0x79 ARM processors can be configured as big-endianness or little-endianness. What is the value of rl after running? LDR r1, [10] (This instruction basically loads the value found in address [ro] into register rl) a. If little-endianness, rl b. If big-endianness, rl=See Answer
  • Q15:2- A GPIO port supports a total of 16 pins. The mode register for a GPIO port has 32 bits, with two bits for each pin (Pin 0-Pin 15). The definition of these two bits is as follows: digital input (00), digital output (01), alternate function (10), and analog (11), Suppose we need to set the mode of port B pin 9 to digital output. Does the following C code always work? Explain why? GPIOB->MODER |= (1<<18);See Answer
  • Q16:3- Write a short C code that sets bit 4, 5, and 6 of variable x to 1, 0, and 1, respectively. Suppose x has 32 bits, from bit 0 to bit 31. (Use the masking method you learned in prelab 3)See Answer
  • Q17:Instructions Need report for the abstract which was done earlier. Report must be written in own words using latex and own figures to be used. No AI platforms like chatgpt/gemini. Please use own words and own figures. Need this in 10 pages | single spaced | APA format/nThis is the link for project final report submission. The report can be a 10 to 20 pages writeup Please provide information of the project as follows: (1) It should have a title. (2) What is the project all about? (3) How much you have implemented already in this project? (4) What is left to be implemented that you could not do? (5) What are the difficulties and challenges you faced for this project? (6) Design and simulation figures and tables. (7) Formal references. Note: (1) The text and figures to be used should be your own. Draw the figures that you want to use Write in your own words. (2) Use latex for your writing as it is considered better for technical writing./n⚫ ELECTRONIC SYSTEM DESIGN Do a project by taking any of the IEEE paper related to Electronic System Design. • Create an abstract of 1-3 pages. Please provide information of the project as follows: • It should have a title. • What is the project all about? • Why do you want to do this specific as a project? What will you implement? What tools needed to implement it? Formal References. • No plagiarism. Topics related to Electronic System Design: (for reference) Integrated Circuits and Systems • Microprocessors Device Technology VLSI design Nanoelectronic based energy efficient design, high performance design, reliable system design, secure system design targeted for Internet of Things (IoT) and smart city components, etc/n Title: Real-Time Embedded System Design Using Microprocessor for Industrial Control Applications Abstract: In the pursuit of meeting the rising industrial emerging need for modern control systems, our project aims to develop a true-time embedded system that uses microprocessor technology. The industries that nowadays heavily rely on real time monitoring and control for both performance and safety optimization, have consequently generated increased demand for sophisticated control solutions. Microprocessor evolution turns out to be a critical input factor which ensures the implementation of super complicated control algorithms with high precision and adherence to fundamental timing constraints. The main stimulus for this project is the wide range of operational problems which the users encounter during real-time control of industrial systems. This dilemma varies in different areas like multi-processes coordination, timing synchronization that is precise, and working platforms that can handle various kinds of hardware and software units. Our intention is to design an intricate structure that is easy-to-use, state of the art, reliable and capable of operating with complex or simple algorithms and operations like that all with no efforts, but by the power of microchips. This project has the design and prototyping in the center of the development process. This process deals with the physical and software parts which constitute the embedded system. 2 The hardware side involve the process of a complete selection that involve the in depth study of microprocessor platforms to find the best one which is endowed with high computational ability as well as an array of peripherals essential for Sensing/metering functions, control (regulation), data acquisition, actuating and supervision in the control applications. Moreover, the Hardware design is also prioritized on critical issues such as robustness, durability, and ease of merger into previous industrial infrastructures securing interoperation in any industrial conditions. Additionally, the layout and design of printed circuit boards (PCBs) turns out to be a critical part of a hardware prototyping phase, and which will provide suitable signal integrity, power distribution, and thermal management to the microprocessor and peripheral components. Through the application of advanced technologies such as the SMT (surface-mount process) and the multi-layer PCB design, an increase in performance, reliability, and downsizing, which is necessary given the dimensions of the space restricted in industrial installations, is achieved. Through the severe test and verification of confirmation of quality, including the functional tests, the environmental stress tests, and reliability tests are performed to prove the performance, reliability, and durability of the software system running under different operation conditions. However, the real-time operating system (RTOS) application layer, the whole project is centered around a highly evolved precise real-time operating system meticulously developed by special requirements of the industrial control. This corresponds to the implementation of multiple control algorithms with an immense number of data acquisition routines, communication protocols and various fault detection systems and all this is coordinated precisely to ensure optimum output as operations change. Importantly, the software architecture revolves around principles of modularity and scalability making it a perfect base for the future modifications and customization of the industrial embedded system that will adapt to new industrial demands. 3 In order to implement this project successfully, we are going to apply a range of sophisticated tools and resources that are absolutely necessary for achieving planned outcomes. Microprocessor development kits are a key component for prototyping purposes as they help with hardware components integration and testing without hassle. Integrated development environments (IDE) are provided through which programmers can work effectively with ease of development, debugging and optimization. The simulation tools are very essential in the general testing and validation of the system to infer that the system will be performing optimally in all operating cases and conditions. Not only does access to huge documentation, technical resources, as well as the expert support of renowned industry veterans play a pivotal role in facing the complex challenges of designing and implementing the industrial embedded systems, but it also makes the job easier. Finally, this project is a real demonstration of how imagination can contribute to resolving the high-tech issues that arise due to the massive growth of time-critical control system applications in industry. This project attacks the issue of industrial automation by using microprocessor technology in order to create the way for additional descents in manufacturing and operation industries performance. We will be bringing a new era where production speed will be high, operation efficiency will be extremely elevated and the level of workers safety and wellbeing will be higher than ever. References: 1. IEEE Xplore. (2007). Real-time Embedded System Design Using Microprocessor for Industrial Control Applications. Retrieved from https://ieeexplore.ieee.org/document/4159109 2. Engpaper.com. (n.d.). Microprocessor IEEE Papers. Retrieved from https://www.engpaper.com/microprocessor-ieee-paper.html 3. IEEE Xplore. (n.d.). Definitions: IEEE Standard Dictionary of Electrical and Electronics Terms. Retrieved from https://ieeexplore.ieee.org/document/546563/definitions?ctx=definitions 4. Elprocus. (n.d.). Embedded Microprocessor: Importance and Its Real-Time Applications. Retrieved from https://www.elprocus.com/embedded-microprocessor-importance- and-its-real-time-applications/ 4See Answer
  • Q18: SCHOOL OF ENGINEERING BEng (Hons) Electrical and Electronic Engineering Sensor-based Entry System Learning Outcomes This assignment achieves the following learning outcomes: LO2: Effectively apply relevant practical and laboratory skills to advanced embedded system problems (EP3p) LO3: Critically evaluate relevant technical literature and other information sources (EP4p) LO4: Critically apply quantitative and computational methods in order to solve embedded systems problems and to implement appropriate actions (EA3p) Weighting This assignment will form 40% of the total module mark. NOTE: The assignment is to be undertaken individually. Any instance of plagiarism (i.e. attempting to pass off the work of others as one's own), from whatever source: books, internet, other students etc. will be zero rated. For further information related to Academic Misconduct, please refer to Section 13 of the module guide. 1 1 Introduction 1.1 Coursework Task The aim of this coursework assignment is to: • • Design a preliminary hardware design for a specified microprocessor-based system. Develop and implement the hardware and software of the designed system. The developed system is a sensor-based entry system, which consists of a PIR sensor, buzzer, buttons, LCD display, LEDs, one motor and numeric keypad. The system is activated or deactivated through a system button and a five digit activate/deactivate code. When the system is activated, the LCD display will show the word "ACTIVATED" for 5 seconds and then proceed to the system's default state, with LED1 on to show that it is powered and working. The PIR sensor will then correctly sense the presence of a person and simulate entry of a person through a gate by displaying “OPEN” on the LCD display for 10 second, LED2 is ON and rotate the motor by 90 degrees to show the gate barriers are in OPEN STATE implying that the person is allowed entry. After 10 seconds when the barriers are in OPEN STATE and if the PIR Sensor does not sense human presence, the LCD display will show "CLOSE", the buzzer playing a warning sound and the motor rotating back to the original position (that is CLOSE STATE) to simulate the gate closing. LED2 is then OFF when the gate is closed. In the event of emergency, whereby an emergency button is pressed, the LCD should display "99: GATE OPEN". A warning alarm is sounded in intervals of 5 seconds, LED2 is continuously blinking in intervals of 5 seconds. The servo motor will be in OPEN STATE to simulate the barrier gate is open. The text displayed on the LCD, warning alarm and LED2 blinking should repeat continuously until the system is reset. To reset the system to normal default mode, the user will need to press the reset button for 8 seconds and key in the reset code of four digit numbers. The default mode is where the LCD display shows "GATE CLOSED", LED1 is ON, LED2 is OFF, buzzer is OFF and the motor is at the CLOSE STATE position to simulate the barrier gate is closed. The system can be deactivated by pressing the system button and keying in the four digit activate/deactivate code. When the system is deactivated, both LEDs will be permanently ON and the servo motor will be in CLOSE STATE, to show the barrier gates are closed for no entry. The LCD display will show the word "DEACTIVATED" permanently until the system is activated again. 1.2 System Hardware The system hardware consists of the following components, as listed in Table 1. You will need to design a system prototype on Proteus and also construct a hardware basic target board with the components listed in Table 1, but pin connectors will need to be used to connect and disconnect the PIR Sensor, LCD Display, buzzer, motor and numeric keypad components. You will also need to consider adding connectors to allow the target board to be connected to MPLAB X using the PICKit debugger. 2 Component System Button Reset Button Emergency Button PIR Sensor Buzzer LED1 LED2 LCD Display Servo Motor Numeric Keypad Description A button used to activate and deactivate the system. A button used to trigger the system to reset to the default state. A button to trigger an emergency event. To detect human movement near the gate and barrier gate to be open. A buzzer to be enable when activating a sound or alarm. An LED showing the system is powered and operational. An LED for showing gate barrier OPEN and when emergency status is triggered, LED2 is required to blink in intervals of three seconds continuously. Displaying Message stated in Section 1.1. For simulating gate barrier is OPEN or CLOSE. For keying in code during reset of system. Table 1: System Hardware List Each student will have to refer to Table 2 to determine the allocated port for the Reset button, emergency button and PIR Sensor components that you will have to integrate into the assignment. Student No. RESET Button Emergency Button PIR Sensor 2240518/2 RD5 RD6 RD7 2013839/1 RD3 RD2 RD1 2016223/2 RDO RD1 RD2 2011950/1 RD6 RD5 RD4 0702367/1 RC3 RD1 RDO 2007269/1 RD2 RD1 RD3 2240517/2 RD7 RD5 RDO 2011806/1 RD6 RD7 RC3 Table 2: Electronic Component Allocated Ports Connection 1.3 System Specification The completed system will be required to demonstrate the following supported functionalities: 1) The system will be activated and deactivated when the user presses the system button once for at least 3 seconds and inputting a four digit activate/deactivate code. 2) When the system is deactivated, both LEDs will be ON to show that barrier gates are closed and there is no entry. The servo motor will be in a default state, which is in the CLOSE STATE, to show the barrier gates are closed for no entry. 3 3) In the system deactivated state, even if human presence is detected by the PIR sensor, the barriers will remain closed. • During this deactivated state, the LCD display will show the word "DEACTIVATED". • Servo motor will be in CLOSE STATE. 4) When the system is activated, the LCD display will show the word "ACTIVATED" for 5 seconds and then proceed to the system's default state. LED1 will be ON to show that the system is powered and functioning. Moreover, in default mode, the LCD display shows "GATE CLOSED", LED1 is ON, LED2 is OFF, buzzer is OFF and the motor is at the CLOSE STATE to simulate the barrier gate is closed. 5) When the system is activated and the PIR sensor detects the presence of human within a range, the barrier gate will open for 10 seconds; before closing the barrier again. The following should be shown for this scenario: • When the barrier is open, the servo motor will move to a 90 degree angle to illustrate the barriers opening, LED2 will be ON for 10 seconds to show the gate is open. • The LCD display will show the word "OPEN" for 10 seconds and then "CLOSE" to show that the barrier gates are now closing, if the PIR Sensor does not sense any further human presence. • When the barrier gate is moving into the CLOSE STATE, the buzzer will play a warning sound and the servo motor will move back to the CLOSE STATE to illustrate the barrier gate has closed. LED2 will then be OFF to show that the gate is closed. 6) When the Emergency (ER) button is pressed, the system at any point in time will then display on the LCD screen “99: GATE OPEN”. A warning alarm is sounded in intervals of 5 seconds, LED2 is continuously blinking in intervals of 5 seconds. The servo motor will be in OPEN STATE to simulate the barrier gate is open. The text displayed on the LCD, warning alarm and LED2 blinking should repeat continuously until the system is reset. • If system is in deactivated state and ER button is pressed, then a message on LCD should display “No ER: Deactive”. 7) To reset the system to normal default mode, the user will need to press the Reset button for 8 seconds and key in the reset code of four digit numbers. The default mode is where the LCD display shows "GATE CLOSED", LED1 is ON, LED2 is OFF, buzzer is OFF and the motor is at the CLOSE STATE position to simulate the barrier gate is closed. You will have to complete the development, programming and all testing of the assignment in MPLAB X, Proteus and on a constructed target board, prior to demonstrating a working completed simulated and physical product during the demonstration session. Some supporting materials will be made available on the module contents on Moodle to help you with this activity. However, it is expected that you will need to perform further independent research in and out of the scheduled learning and teaching session to 4 complete this assignment. In addition, the final code will be marked on both functionality, quality of commenting and structure. Each student is required to keep an electronic logbook (see logbook guidance notes and example on Moodle) of the problems they encountered and how these problems are resolved. The following information should also be available in the logbook: Knowledge and Understanding Details of Entry Records, Implementation, Debugging and Testing Procedures Illustrations, Figures, Tables, Schematics, Diagrams and References Reflections and Observations Time, Date, Day, Statement of objectives, Session summary and Suggestion for next session. The logbook should consist of approximately 2000 words ± 10% (excluding references and appendices) and also state how you have ensured to practice hardware and/or software sustainability, maintenance and disposable techniques for this assignment. A draft logbook template has been made available on Moodle. The logbook entries should document the development progress of the hardware and software tasks that you have performed throughout the semester for this assignment. The final MPLAB X codes and files; and the Proteus simulated files includes the .hex file shown in the demonstration will need to be submitted to the assignment box links on Moodle by the 29 April 2024, refer to Section 2.4 of the deadlines. The submission links will be available on Moodle prior to the demonstration session. You are required to observe best professional practice at all times. 2 Assessment Deliverables 2.1 Hardware You will be required to construct the hardware outlined in Section 1 for this assignment. This will include the following: • • • An overall block diagram illustrating your system design. A schematic diagram (pin diagram) illustrating the chosen microcontroller and showing the pin connections and circuit connectivity of the system components. If PCB is constructed, you will also need to include the PCB layout diagram. If Veroboard is used, you will need to include the Veroboard layout planning sheet. For students that are considering developing a PCB board, you will need to email your PCB layout file to Mr Erik Kis-Varga (e.kis-varga@bolton.ac.uk) by the 22 March 2024 (Friday), 5.00pm, to ensure your PCB board will be ready in time for demonstration. 5See Answer
  • Q19: Task List You are to design a temperature control system for a commercial greenhouse environmental management system using an embedded system. You will need to design and develop the hardware and software along with any test procedures. Specification The temperature controller maintains the temperature at 25° using a heater and cooling fan system. In order to compensate for sunlight, the system will use a sodium lamp which will cycle for 10 secs ON and 30 Sec OFF. The system must use an LCD screen to monitor the live temperature values. The system must record the temperature value from the unit every 5 minutes. Hardware and Software Development If using a simulation software, the heater coil, sodium lamp and fan can be replaced by red, yellow and green LEDS respectively to show the correct operation. Your solution can be based on any suitable embedded system such as the Arduino (ATmega 328P), PIC16C84 or AT89S51 from assessment 1. INSTRUCTIONS Need to do only software design and test and Hardware design no report is required You can choose any simulation software Need to povide the mentioned below 1) all the code with comments and output screenshot 2) all the circuits involved 3) all the flow chart 4) and a file which will have list of components like how they'll be connected and all for hardware and software development use ArdunioSee Answer
  • Q20:6) Write ARM assembly code to do the following: Using only load, move, add, compare, and branch instructions (nothing else from the instruction set), add the contents of 10 adjacent bytes in external memory together -- accumulating the 32-bit sum in register RO. You must use a loop (in other words, you must use CMP and a branch). Assume the 10 bytes start at memory location 0x20000000. You are adding 10, 8-bit values together and putting the sum in a 32-bit register. (10 points) 7) Show the raw memory representation for the string "FALL 2023" assuming it takes on an ASCII encoding (note the single spaces between each word). Show both the memory location and the value of the data stored in that memory location. Assume the string begins storage at memory location x. Show all numerical values in hex. (5 points) Address: Value: M(x) = M(x+1)= M(x+2)= M(x+3)= M(x+4) = M(x+5)= M(x+6)= M(x+7)= M(x+8)=See Answer

TutorBin Testimonials

I found TutorBin Embedded System homework help when I was struggling with complex concepts. Experts provided step-wise explanations and examples to help me understand concepts clearly.

Rick Jordon

5

TutorBin experts resolve your doubts without making you wait for long. Their experts are responsive & available 24/7 whenever you need Embedded System subject guidance.

Andrea Jacobs

5

I trust TutorBin for assisting me in completing Embedded System assignments with quality and 100% accuracy. Experts are polite, listen to my problems, and have extensive experience in their domain.

Lilian King

5

I got my Embedded System homework done on time. My assignment is proofread and edited by professionals. Got zero plagiarism as experts developed my assignment from scratch. Feel relieved and super excited.

Joey Dip

5

TutorBin helping students around the globe

TutorBin believes that distance should never be a barrier to learning. Over 500000+ orders and 100000+ happy customers explain TutorBin has become the name that keeps learning fun in the UK, USA, Canada, Australia, Singapore, and UAE.