LM35                                                                             MikroC
LM35
LM35 Temperature sensor:
   Transducers convert physical data such as temp, light intensity, speed etc
    to electrical signal.
   Depending on the transducer, the output produced in the form of voltage,
    current, resistance or capacitance.
   For example: Temperature is converted in to electrical signals using a
    transducer called Thermister. A thermister responds to the temperature
    change by changing resistance, but its response is not linear.
   That’s why we are using linear temperature sensors like LM34 or LM35
    series.
   The LM35 series are precision integrated-circuit temperature sensors,
    whose output voltage is linearly proportional to the Celsius (Centigrade)
    temperature.
   Its output is 10MilliVolts per degree centigrade.
   So if the output is 310 mV then temperature is 31 degree C.
   It has a range of −55 to +150°C temperature range.
   LM35 is a popular and low cost temperature sensor.
   It has three pins as follows.
LM35                                                                              MikroC
LM35
   To use the sensor simply connect the Vcc to 5V, GND to Gnd and the Out
       to one of the ADC (analog to digital converter channel). The output linearly
       varies with temperature.