Question: Hi Please Programme the following in assembly, and use RA0 as the analogue input, the PIC is PIC16F1829, thanks. Ambient temperature measurement , , task,
Hi Please Programme the following in assembly, and use RA0 as the analogue input, the PIC is PIC16F1829, thanks.

Ambient temperature measurement , , task, you are asked to write a programe to read the analogue measurement from the LM35 nerature sensor and send the upper 4 bits of the ADC result to the four LEDs at Port C. The Lecturer de use M35 to connect to some appropriate pins of the MCU on your board for festing this task, it is helpful if you read and fully understand the ADC in programs in Laboratory 4. You also ed to read the lecture notes and textbook to find out how to choose an ADC channel demonstrate your program to the Lecturer during your practical session in week 13. If your program fully works, please calculate the temperature. First, calulate the analogue voltage x, = 1000x 4.82 (mW where xd is the decimal value of the 10-bit ADC result. Next, the 1023 temperature is given by T = (C) 10 Ambient temperature measurement , , task, you are asked to write a programe to read the analogue measurement from the LM35 nerature sensor and send the upper 4 bits of the ADC result to the four LEDs at Port C. The Lecturer de use M35 to connect to some appropriate pins of the MCU on your board for festing this task, it is helpful if you read and fully understand the ADC in programs in Laboratory 4. You also ed to read the lecture notes and textbook to find out how to choose an ADC channel demonstrate your program to the Lecturer during your practical session in week 13. If your program fully works, please calculate the temperature. First, calulate the analogue voltage x, = 1000x 4.82 (mW where xd is the decimal value of the 10-bit ADC result. Next, the 1023 temperature is given by T = (C) 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
