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 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:20
A3-mm-thick panel of aluminum alloy (k 177 w/m-k, c 875 j/kg-k and ? = 2770 kg/m) is finished on both sides with an epoxy coating that must be cured at or above t,-150°c for at least 5 min. the production line for the curing operation involves two steps: (1) heating in a large oven with air at ts,0-175°c and a convection coefficient of h, 40 w/m2. k, and (2) cooling in a large chamber with air at 25°c and a con- vection coefficient of he 10 w/m2.k. the heating portion of the process is conducted over a time interval te which exceeds the ime required to reach 150°c by 5 min (h = r + 300 s). the coating has an emissivity of ? = 0.8, and the temperatures of the oven and chamber walls are 175 and 25°c, respectively. if the panel is placed in the oven at an initial temperature of 25°c and removed from the chamber at a safe-to-touch tempera ture of 37°c, what is the total elapsed time for the two-step curing operation?
Answers: 3
question
Engineering, 04.07.2019 19:10
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
You know the right answer?
Problem solving note: in order to get maximum points for each problem, clearly write down the equat...
Questions
question
English, 19.11.2020 21:00
question
Computers and Technology, 19.11.2020 21:00
question
English, 19.11.2020 21:00
question
Mathematics, 19.11.2020 21:00