Biological Engineering


Step 3. Understand the input and output signals



Yüklə 202,98 Kb.
Pdf görüntüsü
səhifə7/16
tarix07.01.2024
ölçüsü202,98 Kb.
#212070
1   2   3   4   5   6   7   8   9   10   ...   16
Step 3. Understand the input and output signals.
The LM35 series are precision integrated circuit temperature sensors with an output
voltage linearly proportional to the Celsius (C) temperature (LM35 datasheet;
http://www.ti.com/lit/ds/symlink/lm35.pdf
). There are three pins in the LP package of
the sensors as shown in Figure 2.1.9. A package is a way that a block of
semiconductors is encapsulated in a metal, plastic, glass, or ceramic casing.
The sensor measurement needs to be calibrated. To do this, you can use an ice-water
bath to create a 0°C environment, a cup of boiling water to create a 100°C
environment, and an accurate thermometer to measure a room temperature. Derive a
regression line. Its slope and intercept represent the relationship between the sensor
measurements and the true values. For the example below, the slope is 1 and the
intercept is 0.5°C.
• The +V pin is the positive power supply pin with voltage between 4V and 20V
S
Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
How can we help you?






p s t e pos t e po e supp y p t o tage bet ee a d 0
(in this project, we use +5V);
• The V
pin is the temperature sensor analog output of no more than 6V (5V for
this project);
• The GND pin is the device ground pin to be connected to the power supply
negative terminal.
The accuracy specifications of the LM35 temperature sensor are given with respect to
a simple linear transfer function:
V
out
= 10mV 

C
×
T
where 
V
is the temperature sensor output voltage in millivolts (mV) and 
T
is the
temperature in °C.
Figure 
2.1.10
: (a) a 5-mm common cathode RGB LED and (b) its pin configuration
(
https://www.sparkfun.com/products/105
).
In an RGB LED, each of the three single-color LEDs has two leads, the anode (or
positive pin) where the current flows in and the cathode (or negative pin) where the
current flows out. There are two types of RGB LEDs: common anode and common
cathode. Assume we use the common cathode RGB LED as show in Figure 2.1.10 but
the other type would also work. The common cathode (–) pin 2 will connect to the
ground. The anode (+) pins 1, 3, and 4 will connect to the digital output pins of the
microcontroller.

Yüklə 202,98 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   10   ...   16




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin