28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

246 <strong>Build</strong> <strong>Your</strong> <strong>Own</strong> <strong>Combat</strong> <strong>Robot</strong><br />

FIGURE 11-4<br />

Implementation of<br />

the thermistor<br />

using a voltage<br />

divider circuit.<br />

the resistance of the sensor, the temperature can be calculated. Measuring the sensor’s<br />

resistance is accomplished by using a voltage divider circuit. Figure 11-4<br />

shows a simple schematic drawing of this type of sensor.<br />

The voltage to be measured is the V ou<br />

, which is defined in the following equation,<br />

where R sensor is the thermistor resistance, R is some other resistor used in the<br />

1<br />

circuit, and V in<br />

is the input voltage:<br />

Because V out is being measured and the thermistor’s resistance, R sensor , is unknown,<br />

equation 1 can be solved for the resistance of the sensor.<br />

Equation 2 shows this new relationship:<br />

After the thermistor’s resistance is measured, the temperature can be calculated<br />

using the Steinhart-Hart Equation, which describes how the resistance changes<br />

with temperature in semiconductor thermistors. The basic form of the equation is<br />

shown in equation 3, where constants A, B, and C are thermistor-specific constants<br />

that are obtained from the manufacturer of the thermistor, or they can be<br />

determined experimentally. T K is the temperature in degrees Kelvin.<br />

A more useful Equation is shown in equation 4, where the temperature, T C ,isin<br />

degrees Celsius:<br />

11.1<br />

11.2<br />

11.3<br />

11.4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!