Biological Engineering


Step 5. Build a prototype



Yüklə 202,98 Kb.
Pdf görüntüsü
səhifə9/16
tarix07.01.2024
ölçüsü202,98 Kb.
#212070
1   ...   5   6   7   8   9   10   11   12   ...   16
Step 5. Build a prototype.
The materials you need to build the system are:
• Arduino UNO board × 1
• Breadboard × 1
• Temperature sensor LM35 × 1
• RGB LED × 1
• 220 Ω resistor × 3
• Jumper wires
Figure 2.1.12 shows the hardware wiring.
• Pin 1 of the temperature sensor goes to the +5V power supply on the Arduino
Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
How can we help you?





• Pin 1 of the temperature sensor goes to the +5V power supply on the Arduino
UNO board;
• Pin 2 of the temperature sensor goes to the analog pin A0 on the Arduino UNO
board;
• Pin 3 of the temperature sensor goes to one of the ground pin GND on the
Arduino UNO board;
• Digital I/O pin 2 on the Arduino UNO board connects with pin 4 (the blue LED) of
the RGB LED through a 220 Ω resistor;
• Digital I/O pin 3 on the Arduino UNO board connects with pin 3 (the green LED)
of the RGB LED through a 220 Ω resistor;
Figure 
2.1.12
: Wiring diagram for setting up the test platform. The Arduino is wired to a
breadboard with three resistors and the LM35 temperature sensor.
• Digital I/O pin 4 on the Arduino UNO board connects with pin 1 (the red LED) of
the RGB LED through a 220 Ω resistor; and
• Pin 2 (cathode) of the RGB LED connects to the ground pin GND on the Arduino
UNO board.
An electronics breadboard (Figure 2.1.13) is used to create a prototyping circuit
without soldering. This is a great way to test a circuit. Each plastic hole on the
breadboard has a metal clip where the bare end of a jumper wire can be secured.
Columns of clips are marked as +, −, and a to j; and rows of clips are marked as 1 to
30. All clips on each one of the four power rails on the sides are connected. There are
typically five connected clips on each terminal strip.
Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
How can we help you?





(a) (b)
Figure 
2.1.13
: A breadboard: (a) front view (b) back view with the adhesive back
removed to expose the bottom of the four vertical power rails on the sides (indicated
with arrows) and the terminal strips in the middle. (Picture from Sparkfun,
https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard/all
).

Yüklə 202,98 Kb.

Dostları ilə paylaş:
1   ...   5   6   7   8   9   10   11   12   ...   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