My PIC Journey - PIC12F675 and LM35 Sensor

Просмотров: 113   |   Загружено: 2 год.
icon
Ricardo Caratti
icon
9
icon
Скачать
iconПодробнее о видео
This projects utilizes either an LM35 or TMP36 temperature sensor to determine if a body's temperature is below, equal to, or above 37 degrees Celsius. The approach is streamlined to improve efficiency: there's no conversion of the sensor's analog signal to a Celsius temperature reading, as the actual temperature value isn't displayed. The key lies in understanding the digital equivalent of 37 degrees Celsius in the sensor's readings.
For instance, an analog reading of 77, when converted to digital through the Analog-to-Digital Converter (ADC), corresponds to 37 degrees Celsius. This can be calculated as follows:
Let's see: ADC Value * 5 / 1024 * 100 = Temperature in Degrees Celsius.
Thus: 77 * 5 / 1024 * 100 = 37.59�C
Calibration
It is likely that you will need to calibrate your system to find a more precise value. It's probable that ADC converters from different series of microcontrollers will produce varying results for the same output from the LM35 or TMP36. Additionally, the LM35 or TMP36 themselves may produce significant variations in response to the monitored body temperature.

Documentation:

#pic12f675 #microchip #lm35 #tmp36

Похожие видео

Добавлено: 56 год.
Добавил:
  © 2019-2021
  My PIC Journey - PIC12F675 and LM35 Sensor - RusLar.Me