Question: Part Numbe Temperature Accuracy Output Scale Mar Audio Opus Volta SLTC89 -10 C to 300 C +05C 10mV/C 3V Please note that since the accuracy

Part Numbe Temperature Accuracy Output Scale Mar Audio Opus Volta SLTC89 -10 C to 300 C +05C 10mV/C 3V Please note that since the accuracy is 05 C, it outputs SmV for each O SC. The temperature sensor has 3 puu VCC, GND, Analog Out. Supply voltage of the microcontroller is 5V Suppose you have to connect this temperature sensor to PIC18F452 microcontroller The datasheet of the microcontroller is attached at the end of the question paper What is a sensor? (1 mark) il Calculate the reference voltage (Vc) to get a step size of 2.5mV. marks) iti. Draw a suitable citcuit diagram to interface this IC to PIC18F452 analog pin 1. Only draw the necessary pins of the PIC18F452 (4 marks iv. The PIC18F452 is connected to a 16MHz czystal oscillator. Find the analog to digital conversion time for a suitable prescalar value setup in ADCS bits of ADCONO and ADCONI Remove watermark Scanned with CamScanner Find the ADCONO register valur to initialize the malos to digital conversion af PIC18F452. Give the value both m binary and hex formats Find the ADCON register value for right justified ADRESH ADRESL registers Give the value both binary and hex formats (2 tark) vil. What is the result of analog to digital conversion (ADC) for a temperature of 25 C? Represent the resulting value binary format and bex format in (4 marks) VILI What are the values taken by ADRESH and ADRESL, after the conversion (2 mark) ix. Write the code m assembly language to read the temperature value from the sensor and then to indicate the temperature on PORTB and PORTC. (8 marks (Total 30 marks Part Numbe Temperature Accuracy Output Scale Mar Audio Opus Volta SLTC89 -10 C to 300 C +05C 10mV/C 3V Please note that since the accuracy is 05 C, it outputs SmV for each O SC. The temperature sensor has 3 puu VCC, GND, Analog Out. Supply voltage of the microcontroller is 5V Suppose you have to connect this temperature sensor to PIC18F452 microcontroller The datasheet of the microcontroller is attached at the end of the question paper What is a sensor? (1 mark) il Calculate the reference voltage (Vc) to get a step size of 2.5mV. marks) iti. Draw a suitable citcuit diagram to interface this IC to PIC18F452 analog pin 1. Only draw the necessary pins of the PIC18F452 (4 marks iv. The PIC18F452 is connected to a 16MHz czystal oscillator. Find the analog to digital conversion time for a suitable prescalar value setup in ADCS bits of ADCONO and ADCONI Remove watermark Scanned with CamScanner Find the ADCONO register valur to initialize the malos to digital conversion af PIC18F452. Give the value both m binary and hex formats Find the ADCON register value for right justified ADRESH ADRESL registers Give the value both binary and hex formats (2 tark) vil. What is the result of analog to digital conversion (ADC) for a temperature of 25 C? Represent the resulting value binary format and bex format in (4 marks) VILI What are the values taken by ADRESH and ADRESL, after the conversion (2 mark) ix. Write the code m assembly language to read the temperature value from the sensor and then to indicate the temperature on PORTB and PORTC. (8 marks (Total 30 marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
