Question 1 . consider when a comparator circuit and LM35 are to used to create a
ID: 3783767 • Letter: Q
Question
Question 1. consider when a comparator circuit and LM35 are to used to create an interrupt source, using the the following circuit. The comparator is supplied from 5.0 V, and the temperature threshold is to be approximately 38 ºC. If resistor values of 470, 680, 820, 1k, 2k, 5k and 10k are available. What resistors should we use for R1 and R2?
(a) R1 = 10k, R2 = 820
(b) R1 = 5k, R2 = 680
(c) R1 = 2k, R2 = 470
(d) R1 = 5k, R2 = 820
(e) None of (a) through (d) is the correct answer.
Question 2., the main difference between an mbed timer and an mbed timeout is:
(a) timer and timeout are basically the same thing, one counts time forward and the other counts time backwards.
(b) Timers require polling while Timeouts do not.
(c) Timers requires interrupt while Timeouts do not.
(d) There is a limit on how many Timeouts can be created but no limit on how many Timers can be created.
(e) None of (a) through (d) is the correct answer.
Explanation / Answer
1)ANSWER
Vout=Vin(R2/R1+R2) according to the formulae none of the answer is correct
so answer is E
2)ANSWER
TIMER
The Timer interface is used to create, start, stop and read a timer for measuring small times (between microseconds and seconds).
TIMEOUT
The Timeout interface is used to setup an interrupt to call a function after a specified delay. Any number of Timeout objects can be created, allowing multiple outstanding interrupts at the same time.
so ANSWER IS C
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.