Solution Manual for Introduction to Mechatronic Design Do Not Circulate
16.12) Given the circuit in Figure 16.23, what is the range of acceptable values for the resistor R? Consider that
the connector may be disconnected, and under those conditions, the input to the PIC16F690 should be a
valid logic-level high. The power supplies are nominal 5 V ± 10% supplies (remember to consider the full
range of output voltages possible from the full range of power supply voltages when determining the upper
& lower limits for the resistor). Report the largest and smallest standard 5% resistor value that will result
in all devices operating within their specifications. Use the specifications for the PIC16F690 provided in
Figure 16.22. Locate the data sheet for the LM339 on the Internet. Quote the specifications you used to
determine your answers.
Figure16.23: Circuit for Problem 16.12
Three cases must be considered:
a) the LM339 is connected and its output is logical low
For CASE A (LM339 connected, output low):
The specifications for the LM339 (5V supply, any temperature in operating range) when the output is