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

WhatsApp Support

Get Instant
Online Homework Help
via WhatsApp

Get instant homework help from top tutors—just a WhatsApp message away. 24/7 hw help support for all your academic needs!

A
S
M
R
★★★★★
2M+ students trust TutorBin
Your WhatsApp Number
phone
or
⚡ Instant reply
🔒 100% private
👨‍🏫 Top tutors
🌍 All subjects
*Get instant homework help from top tutors—just a WhatsApp message away. 24/7 support for all your academic needs!
2M+ Students Helped24/7 Live SupportExpert TutorsAll Subjects CoveredInstant Response100% ConfidentialTop Rated ServiceMoney-back Guarantee2M+ Students Helped24/7 Live SupportExpert TutorsAll Subjects CoveredInstant Response100% ConfidentialTop Rated ServiceMoney-back Guarantee

Recently Asked embedded system Questions

Expert help when you need it
  • Q1:ELEC 310 HW2 1. ARM Data Addressing. Suppose r0 = 0x8000, and the memory layout is as follows Address Data 0x8000 0x1A 0x8001 0x2C 0x8002 OxEB 0x8003 0xOD 0x8004 0xFD 0x8005 0xA3 0x8006 0xCD 0x8007 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 [r0] into register r1) a. If little-endianness, r1 = b. If big-endianness, r1= 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); 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
  • Q2: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
  • Q3: LSBU School of Engineering Assessment Brief Read this assessment brief carefully, it tells you how you are going to be assessed, how to submit your assessment on-time and how (and when) you'll receive your marks and feedback. Module Code Module Title Module Leader Assessment Type % of Module Mark % of CW Mark Distributed Submission Method Submission Deadline Release of Feedback Release of Marks Division of Electrical and Electronic Engineering EEE_5_ESD Embedded Software Design Assignment (Formal Report) 40% of Module Mark 100% of CW Mark - Subcomponent 1 (SC1_40) Submit online via Module's Moodle site (VLE) Provisional marks will be available in the Gradebook on Moodle VLE from TBA Embedded Software Design Mini-Project Instructions for preparation of Mini-Project Reports (3000 words, 15-25 pages excluding appendix) Title page: project title, Authors name, course, id number, Laboratory address. Abstract or Synopsis not exceeding 100 words Table of Contents Introduction (scope of the work and its importance) Materials and budget Design/Implementation (This should provide sufficient detail (or reference to sufficient detail) to allow another worker to carry out the same experiments.) Testing/Result and Analysis (including power consumption, working temperature, distance of control...) Conclusions & future enhancements References Appendix: Source codes and others Project choices (Arduino are needed for most of the project). You can choose own project by writing a proposal and send to me. 1. Automated Guided Vehicle. In this mini project, you are asked to build a mobile robot which can move from A to B in a complex environment. You can use ultrasonic sensor to find the obstacles and manoeuvre the robot to avoid the obstacles and plan the path to the destination. 2. Passenger monitoring system. In this mini project, you are asked to design a system can monitor the passenger number for a tube carriage. You can use two ultrasonic sensor to count the in and out of the passengers and display the number of passengers in a carriage on the LCD panel 3. Railway crossing monitoring system (https://en.wikipedia.org/wiki/Level_crossing_signals). In this mini project, you are asked to design a rail way crossing warning system. When the system sense the train approaching (ultrasonic sensors), it will flash the traffic light and then close the cross gate ( using the servo motor) and switch the traffic light from flashing to red. After the train passes the gate, open the cross gate and switch the traffic light back into green. 4. Room temperature monitoring system In this mini project, you are asked to design room temperature monitoring system which can monitoring the room temperature and display it on the LCD screen. You can set the upper and lower temperature and triggering an alarm when the temperature is too low or too high. You can also send the information online. 5. Rail platform end monitoring system 179 6 7. ML 604 Many rail platform end is open without a gate. Get off the platform here is dangerous and prohibitted. Please design a monitoring system to record how many people get off the platform here to enter to the dangerous region. 6. Build your own 4x8 led screen with the ATMega 328 MCU and 74HC595 shift Register. In this mini project, you will be provided the ATmega328p processor and four 74HC595 shift register and build a screen with the resolution of 4x8. The screen should be able to display two digital number. DC motor PID controller design. For the EEE course students, you can choose to use Arduino to design a DC motor servo control system based the knowledge your learned from the Principle of Control module. The DC motor with an encoder will be provided. 8. Traffic signal control system. VEHICLE DETECTOR VEHICLE DETECTOR Liquid level North Fill pump Traffic Signai Control CROSSING REQUEST VEHICLE DETECTOR Observe the real traffic signal system and work out he sequence. Use the Arduino to design a control system which can control the traffic signal simulator showed in the upper figure. The human crossing should take the priority. 9. Liquid level control system design. High level sensor VEHICLE DETECTOR Low level sensor Water level sensor Drain tube controller In this mini project, you are asked to build a control system for the liquid level control system for a industrial liquid container. The liquid level should be controlled to the hight between the low level sensor and high level sensor. When the liquid level is below the low level sensor, the pump will be switched on to fill in the liquid and when it reach the high level switch, the pump will be switched off. You should also use ultrasonic sensor to monitor the liquid level and display it in a LCD screen. 10. Washing machine Simulator Power Concem 4 FEEDBACK COLD TUB FULL TUB FILLING TUB HALF FULL SLOW FORWARD SLOW REVERSE FAST FORWARD SPIN PumpON TubFilling TubFull Function Output LEDS Start HotTemp TepidTemp Cold Temp SlowFwd Slow Rev FastFwdSpin HOT ON Automatic Washing Machine MOTOR HOT COOL HALF WASH WASH SPIN LOAD MICA MODULE MIC 951 OFF Function Switch/Button StartBTN HalfLoadSW SpinSW CoolWashSW HotWashSW TubFullBTN TubHalfFullBTN DoorClosedSW VibrationBTN ●HOT TEPID COLD PUMP START DOOR In this mini project, you are asked to build a washing machine like the figure above. The task is to program Arduino to carry out a washing cycle set by the inputs and activate the corresponding LED s to indicate that the washing cycle is active. The input and output of the system are as: ON OPEN CLOSED LOCKED VIBRATION SENSORSee Answer
  • Q4: 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
  • Q5: Need to program micro bit to run 2 motors with 2 seperate push in switches https://makecode.microbit.org/#editor 10 110 CRAZY 3.3v CIRCUITS 品 20 19 GND 14 15 3 + 1 + GND -16 X200F 241A 16v LO I 3.3v this is what i need to code push in once to start and same buttin push in to stop motor will be in low power 3v so i only need coding done to activate pin 1 and 3 this https://makecode.microbit.org/#editor used 3 languages: blocks, Python and javascriptSee Answer
  • Q6: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
  • Q7: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
  • Q8:2- Suppose the memory address in most embedded systems has 32 bits. How many unique memory locations can this 32-bit address access? Show your work.See Answer
  • Q9:Use the C2000 microcontroller and set up pins as GPIOS for LEDs. Toggle LED2 and LED4 every 1000000 loops in background. Submit the only main.c please. Remember to put comments to explain your code. < To Do Assignment Details Elec Machines and Drives Lab 002See Answer
  • Q10:Changes to this answer. Question 2 A microcontroller (not the Tiva) has a 19-bit-wide address bus. What is the theoretical maximum address space it can address? Give your answer in MegaBytes (not bytes, kilobytes, or gigabytes). Moving to the next question prevents changes to this answer. Question 2 of points Save ArSee Answer
  • Q11:5. Practice Exercises 5.1 Multiplexer Design and implement an 8-1 Multiplexer using a case statement. 5.2 Array Adder Design and implement an Array Adder. Depending on an input bit named 'op', if: • op is 1: Add together two integer arrays with addition and stores the result in a third array. • op is 0: Subtract one integer array from the other and store the result in a third array. You can assume all three arrays are hardcoded as signals. 5.3 Array-Mapped Increment Design and implement an Array-Mapped Increment circuit that takes an integer named "x" as input and adds "x" to all elements in an integer array. If an array value exceeds 9, that array element is reset to zero. You may assume that the integers are hardcoded signals. 6. Deliverables Practical demonstration of the sample exercises will be requested during the lab and instructor may ask for their code to be submitted on Moodle. Complete work of the practice exercises must be submitted on Moodle by the specified deadline. Provide the following for all designs: 1. Complete VHDL code. 2. Flow Summary and Successful Compilation. 3. RTL Viewer. 4. Power Consumption. 5. ModelSim simulation for the designs.See Answer
  • Q12:3) Implement the BIC (bitwise clear) instruction by using other assembly instructions.See Answer
  • Q13:2) What is the value in register r1? Assume ro 0x00001016 (a) USAT r1, #8, r0 (b) SSAT r1, #8, r0See Answer
  • Q14:Using the ADALP2000 analog parts kit / breadboard, construct the R-L voltage divider circuit using a 1k2 resistor and 10 mH inductor (code 103) as shown below. With the ADALM2000 SCOPY signal generator, adjust the input voltage (Vin) to 4.0 volts peak- to-peak (2.0 volts peak) at a frequency (f) of 60 kHz AC signal. Using the oscilloscope function of the SCOPY, display on your computer, both the input (Vin) and output (Vout) voltage waveforms on the same screen. Use the ADALM2000's 1+ and 1- wires to measure the voltage across Vin and the 2+ and 2-wires to measure the voltage across Vout. Note that once the circuit is connected to the signal source, the measured value of Vin on the oscilloscope will be slightly less that 4V p-p (2 V peak). This is due to the internal resistance of the SCOPY. For your calculations, use the measured value of Vin rather than 2.0V peak. Set Vin scaling for 500 mV/div and Vout scaling for 200 mV/div. Assume that the input voltage (Vin) is reference (Z = 0º). Remember that for a 60 kHz signal, the period, t = 1/f = 1/(60 x 10³) = 16.67 usec. Therefore, a 90° phase shift would result in a time difference (At) of 4.18 usec. Set the time-base scale on the SCOPY to 2.0 usec / div. Measure the time difference between the zero crossings of the two voltage sinewaves as the voltages are going positive in order to compute the phase angle difference (40) most accurately. Attach a picture of your circuit mounted on the breadboard as well as a screenshot from SCOPY showing both input and output voltage waveforms to this page. What At between the two waveforms and output voltage amplitude did you measure? Calculate the phase angle shift from At: Vout degrees (peak) (15 points) At= Is the output voltage (Vou) leading or lagging the input voltage (Vin)? Justify your answer by referencing the screenshot of the input/output waveforms. (2 points) Use hand calculations to verify your Vout measurement on a second piece of paper. What is the % error for the amplitude and phase shift measurements? (3 points) V₁ L + RVSee Answer
  • Q15: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
  • Q16: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
  • Q17: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
  • Q18: Given a memory with a 14-bit address and an 8-bit word size: How many bytes can be stored in this memory? If this memory was constructed from Ik x 1 RAMs, how many memory chips would be required? How many bits would be used for chip select?See Answer
  • Q19: What is the basic difference between: (a) EPROM and EEPROM? (b) SRAMand DRAM?See Answer
  • Q20: Design a third order Butter worth stepped (Hi-Z Low-Z) low pass filter using microstriplines for a cutoff frequency of 2.4 GHz. Draw the final schematic in terms of normalized transmission line impedances and lengths. Simulate using ADS and show S11 and S21plots to 5 GHz. Place Marker at 2.4 GHz.(33 pts)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.