subject
Engineering, 24.12.2019 23:31 vhs35

Problem solving note: in order to get maximum points for each problem, clearly write down the equations and the steps that lead to a solution. 1. (20 pts) let us design a stopwatch for a group of super swimmers using the timerl feature of pic18f4580 microcontroller (fosc = 8mhz). the stopwatch can show seconds, tenth second and hun- dredth second. (unfortunately, we don't have enough time to design minutes or more.) the time will be shown on the lcd module which is connected to the portc. (1) the prescaler is 4. calculate the initial value for the register tmri so that the timer overflow flag sets exactly once every 10 milliseconds. (2) define global unsigned char variables secs and msecs, respectively. write a function, deci- mal2ascii), to convert the decimal number into the corresponding ascii codes. in the function, (a) update the initial value in tmr1 register; (b) clear the flag bit; (c) increment the variable msecs. if msecs is larger than 99, clear it and increment the variable secs. if the variable secs is larger than 59, clear all variables; (d) the lcd module will show the time in the format as xx. xxs, for example: 11.75s or 38.54s, etc. write down an algorithm to transfer the values of secs and msecs into ascii digits and store them together with .' and 's' in a 6-element string ascii_time. (define the string as a global vari- able.)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Ahouse has the following electrical appliance usage (1) single 40w lamp used for 4 hours per day (2) single 60w fan used for 12 hours per day (3) single 200w refrigerator that runs 24 hours per day with compressor run 12 hours and off 12 hours find the solar power inverter size in watt with correction factor of 1.25.
Answers: 1
question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
You know the right answer?
Problem solving note: in order to get maximum points for each problem, clearly write down the equat...
Questions
question
Mathematics, 03.11.2020 18:20
question
Mathematics, 03.11.2020 18:20
Questions on the website: 13722367