THE 3 rd INTERNATIONAL SCIENTIFIC CONFERENCES OF STUDENTS AND YOUNG RESEARCHERS dedicated to the 99
th
anniversary of the National Leader of Azerbaijan Heydar Aliyev
261
The TMP36 temperature sensor is a simple method to use an Arduino to
measure temperature! The sensor has a large temperature range (-50°C to
125°C), is somewhat precise (0.1°C resolution), and is inexpensive, making it
a popular choice. The TMP36 does not have a temperature sensitive resistor,
unlike a thermistor. Instead, this sensor makes use of a diode's property: when
the temperature of a diode varies, the voltage changes at a predictable pace.
The sensor detects the slight change and produces an analog voltage ranging
from 0 to 1.75VDC. We only need to measure the output voltage and do a little
arithmetic to obtain the temperature.
Two probes are utilized to measure the volumetric content of water in
the soil moisture sensor. The two probes let current to travel through the soil,
resulting in a resistance value that may be used to calculate the moisture
value. When there is water in the soil, it conducts more electrical, resulting in
less resistance. Because dry soil conducts electricity poorly, when there is
less water, the soil conducts less electricity, resulting in increased resistance.
This sensor is compatible with both analog and digital connections.
The HC-SR04 Ultrasonic Sensor is a distance measuring sensor. It
releases a 40 000 Hz (40kHz) ultrasonic that travels through the air and
comes back to the module if it comes into contact with an item or impediment.
You may compute the distance by considering the travel time and the sound's
speed. VCC (1), TRIG (2), ECHO (3), and GND (4) are the configuration pins
of the HC-SR04. The VCC supply voltage is +5V, and the TRIG and ECHO
pins can be connected to any Digital I/O on your Arduino Board.
The microcontroller may be
powered in two ways. One is a
DC input port that can accept up
to 12 volts of electricity. A
battery, a power supply, or a
power brick are all possibilities.
The other option, and the most
straightforward to begin with, is
to use the USB port. Simply
connect
the
Arduino
to
computer with a USB wire, and
the microcontroller will start up.
That USB cord will also be used
to transmit software to the
board. A micro-switch is located
next to the USB connection.
That is a RESET button, which
allows you to restart the Arduino
without having to power cycle
the USB port.