Knowledge Base
...
Applied PIC Micro Development
Basics: Working With Hardware
Sensors
4min
sensors form a critical part of any application as they function as a transducer they take one form of energy or quantity and convert it into another for example, raw heat is of no use to a microcontroller and will damage it however, place a temperature sensor between the heat source and the microcontroller and you have a useful way to measure the value of the heat sensors are used to measure almost all types of quantities from temperature, pressure, humidity, etc sensor types signal output there are many ways to categorize a sensor type, but in this instance, the two categories we will look at are analog and digital analog sensors analog sensors as the name prescribes provide an output voltage in relation or proportion to the heat source there is usually a temperature range for example 45' to 150'c and you can expect the temperature sensor to provide a usable output a common sensor is the lm35, which provides a 1'c per 10mv to learn more please see the section analog sensors docid\ sh23hajezinds751wchv digital sensors digital sensors as the name prescribes provide a digital output in relation or proportion to the heat source there is usually a temperature range for example 45' to 150'c and you can expect the temperature sensor to provide a usable output in the case of a digital sensor, a communications interface comes into play and there is a higher level of complexity required to interface with the sensor and extract the value or what is now called the data an example of a digital sensor is the tc74, which produces a digital output number that corresponds to the temperature the advantage of a digital sensor is that multiple sensors can be linked to a common interface and interacted with applications there is a wide variety of applications that require a temperature monitoring solution either as a standalone or as an integrated solution with multiple sensors