Question: This is for microcontrollers. Question 3 (ADC Module) (2 points) An analog-to-digital converter (ADC) of a PIC18 microcontroller has a positive input reference voltage of
Question 3 (ADC Module) (2 points) An analog-to-digital converter (ADC) of a PIC18 microcontroller has a positive input reference voltage of SV and is set up for 9-bit conversion. a) Calculate the approximate resolution of the ADC in millivolts per bit. b) If the output code is 327 , what is the input voltage (round to the nearest tenth)? c) An LM35DZ type analog temperature sensor is connected to analog port AN2 of a PIC18F452 (5 points) microcontroller. The sensor provides an analog output voltage proportional to the temperature, (5 points) 10mV/C. Write a small program that shows the steps required to read the temperature. (10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
