Professional Documents
Culture Documents
Whole setup will be a movable robotic design. This robotic design will
be controlled wirelessly by Bluetooth and its operation (Forward /
Backward /Left / Right / Stop) will be directly controlled by user using
smart phone and android. Water sprinkling on the robot will be having a
manual valve which can control water flow as required. Whole System
operation will be controlled by user’s smartphone using Google Voice /
text. For Google Voice Application, Internet is mandatory.
INTRODUCTION:
Sprinkler robots are playing an important function inside the agriculture area
as it does now not require extra people to perform and might shop lots of
charges and time for watering vegetation each day. Hence, this mission is all
approximately developing a sprinkler robot which is supplied with solar
electricity. The boundaries of water sources and global population growth has
led states and governments global to boom agricultural merchandise
consistent with unit and optimize soil and water sources productiveness with
the use of new irrigation methods. India is agrarian economies and most of
rural populations rely on agriculture to earn their livelihood. The farming
methods at present are guide or semi-automated with excessive involvement
of employees. In the latest years, the number of hard work availability is
decreasing constantly along with growth of their wages. There is a
requirement of higher productiveness. Hence the tool is to be designed which
allows farmers to overcome the said problem. This robotic can offer us the
answer. The essential application of robots in the business zone has been
concerned with the substitution of manual human hard work via robots or
mechanized systems to make the work more time green, accurate, uniform
and much less costly. The farmer’s benefits are found in greater green
preservation of the plants and both less work for themselves or a reduced
need for the employment of others. This challenge presents the design and
creation of an self-sustaining robot that seeks to address some of the human
health worries associated with farms. This robot is designed as a base for
growing systems to enable the automation of farming techniques such as the
spraying of water, cattle watering, irrigation and metropolis water deliver.
Major Electronic Components Used
TRANSFORMER
RECTIFIERS
VOLTAGE REGULATION
Many of the fixed voltage regulators have 3 leads and look like power
transistors, such as the 7805 (+5V 1A) regulator shown on the above. If
adequate heat sinking is provided then it can deliver up to maximum 1A
current. For an output voltage of 5v-18v the maximum input voltage is 35v
and for an output voltage of 24V the maximum input voltage is 40V.For
7805 IC, for an input of 10v the minimum output voltage is 4.8V and the
maximum output voltage is 5.2V. The typical dropout voltage is 2V.
ELECTRONIC COMPONENTS
Electronics are the central nervous system of your robot and will be
responsible for passing information to and from peripheral functions as
well as processing inputs and turning them into the output functions the
robot performs. Any given hobby robot project might contain a dozen or
more electronic components of varying types, including resistors,
capacitors, integrated circuits, and light-emitting diodes. In this chapter,
you’ll read about the components commonly found in hobby robot
projects and their many specific varieties. You’ll also learn their functions
and how they are used.
Electricity always travels in a circle, or circuit, like the one in Fig. 5-1.
If the circuit is broken, or opened, then the electricity flow stops and the
circuit stops working.
FIGURE 1-2 A digital multimeter can be used to measure the voltage across
a component as well as the current through it.
FIGURE 5-4 When resistors are wired in series, the total resistance of the
circuit is proportional to the sum of the resistances.
different components in the circuit. As the electrons pass through a
component they lose some of the pressure, just as water loses pressure
due to friction when it moves through a pipe. The initial voltage applied to
the electrons is measured with a volt meter or a multimeter set to measure
voltage and is equal to the voltage drops through components in the
circuit. The label given to voltage is V.
V=i×R
2.Fixed Resistors
3.Variable Resistors
Potentiometers are of either the dial or slide type, as shown in Fig. 5-8. The
dial type is the most familiar and is used in such applications as television
volume controls and electric blanket thermostat controls. The rotation of
the dial is nearly 360°, depending on which potentiometer you use. In one
extreme, the resistance through the potentiometer (or pot) is zero; in the
other extreme, the resistance is the maximum value of the component.
4.Capacitors
For the most part, capacitors are classified by the dielectric material
they use. The most common dielectric materials are aluminum electrolytic,
tantalum electrolytic, ceramic, mica, polypropylene, polyester (or Mylar),
paper, and polystyrene. The dielectric material used in a capacitor partly
determines which applications it should be used for. The larger electrolytic
capacitors, which use an aluminum electrolyte, are suited for such chores
as power supply filtering, where large values are needed. The values for
many capacitors are printed directly on the component. This is especially
true with the larger aluminum electrolytic, where the large size of the
capacitor provides ample room for printing the capacitance and voltage.
Smaller capacitors, such as 0.1 or 0.01 µF mica disc capacitors, use a
common three-digit marking system to denote capacitance and tolerance.
The numbering system is easy to use, if you remember it’s based on Pico
farads, not microfarads. A number such as 104 means 10, followed by four
zeros, as in 100,000 or 100,000 Pico farads. Values over 1000 Pico farads
are most often stated in microfarads. To make the conversion, move the
decimal point to the left six spaces: 0.1 µF. Note that values under 1000
Pico farads do not use this numbering system. Instead, the actual value, in
Pico farads, is listed, such as 10 (for 10 pF).
One mark you will find almost exclusively on larger tantalum and
aluminum electrolytic is a polarity symbol, most often a minus (−) sign. The
polarity symbol indicates the positive and/or negative lead of a capacitor. If
a capacitor is polarized, it is extremely important that you follow the
proper orientation when you install the capacitor in the circuit. If you
reverse the leads to the capacitor—connecting the positive lead (called the
anode) to the ground rail instead of the negative lead (called the cathode),
for example—the capacitor may be ruined. Other components in the circuit
could also be damaged. Fig. 5-10 shows some different capacitor packages
along with their polarity markings.
5.Diodes
• Zener. It limits voltage to a predetermined level. Zeners are used for low-
cost voltage regulation.
Diodes carry two important ratings: peak inverse voltage (PIV) and
current. The PIV rating roughly indicates the maximum working voltage for
the diode. Similarly, the current rating is the maximum amount of current
the diode can withstand. Assuming a diode is rated for 3 amps, it cannot
safely conduct more than 3 amps without overheating and failing. All
diodes have positive and negative terminals (polarity). The positive
terminal is the anode, and the negative terminal is the cathode. You can
readily identify the cathode end of a diode by looking for a colored stripe
near one of the leads. Fig. 5-11 shows a diode that has a stripe at the
cathode end. Note how the stripe corresponds with the heavy line in the
schematic symbol for the diode.
All diodes emit light when current passes through them. This light is
generally only in the infrared region of the electromagnetic spectrum. The
light-emitting diode (LED) is a special type of semiconductor that is
expressly designed to emit light in human visible wavelengths. LEDs are
available to produce any of the basic colors (red, yellow, green, blue, or
white) oflight as well as infrared. The infrared LEDs are especially useful in
robots for a variety of different applications.
LEDs carry the same specifications as any other diode. The LED has a
PIV rating of about 100 to 150 V, with a maximum current rating of under
40 mA (usually only 5 to 10 mA is applied to the LED). Most LEDs are used
in low-power DC circuits and are powered with 12 V or less. Even though
this voltage is far below the PIV rating of the LED, the component can still
be ruthlessly damaged if you expose it to currents exceeding 40 or 50 mA.
A resistor is used to limit the current to the LED.
6.Transistors
• Signal. These transistors are used with relatively low-current circuits, like
radios, telephones, and most other hobby electronics projects.
• Power. These transistors are used with high-current circuits, like motor
drivers and power supplies.
You can usually tell the difference between the two merely by size.
The signal transistor is rarely larger than a pea and uses slender wire leads.
The power transistor uses a large metal case to help dissipate heat, and
heavy spoke like leads.
You will probably be using NPN (Fig. 5-12) and PNP (Fig. 5-13) bipolar
transistors. These transistors are turned on and off by a control current
passing through the base. The current that can pass through the collector
is the product of the base current and the constant hFE, which is unique to
each transistor.
Along with bipolar transistors, which are controlled by current, there are a
number of other transistors, some of which are controlled by voltage. For
example, the MOSFET (for metal-oxide semiconductor field-effect
transistor) is often used in circuits that demand high current and high
tolerance. MOSFET transistors don’t use the standard base-emitter
collector connections. Instead, they call them gate, drain, and source. The
operational differences among the different transistors will become clearer
as you become more experienced in creating electronic circuits.
7.Grounding Circuitry
8.Integrated Circuits
MICROCONTROLLER
They are fast: AVR microcontroller executes most of the instructions in single execution
cycle. AVRs are about 4 times faster than PICs; they consume less power and can be
operated in different power saving modes. Let’s do the comparison between the three
most commonly used families of microcontrollers.
8051 PIC AVR
Let’s see what this entire means. What is 8-bit? This means that the microcontroller is
capable of transmitting and receiving 8-bit data. The input/output registers available are
of 8-bits. The AVR families controllers have register based architecture which means that
both the operands for an operation are stored in a register and the result of the operation is
also stored in a register. Following figure shows a simple example performing OR
operation between two input registers and storing the value in Output Register.
The CPU takes values from two input registers INPUT-1 and INPUT-2, performs the
logical operation and stores the value into the OUTPUT register. All this happens in 1
execution cycle.
In our journey with the AVR we will be working on Atmega16 microcontroller, which is
a 40-pin IC and belongs to the mega AVR category of AVR family. Some of the features
of Atmega16 are:
Architecture of AVR
The AVR microcontrollers are based on the advanced RISC architecture and consist of 32
x 8-bit general purpose working registers. Within one single clock cycle, AVR can take
inputs from two general purpose registers and put them to ALU for carrying out the
requested operation, and transfer back the result to an arbitrary register. The ALU can
perform arithmetic as well as logical operations over the inputs from the register or
between the register and a constant. Single register operations like taking a complement
can also be executed in ALU. We can see that AVR does not have any register like
accumulator as in 8051 family of microcontrollers; the operations can be performed
between any of the registers and can be stored in either of them.
AVR follows Harvard Architecture format in which the processor is equipped with
separate memories and buses for Program and the Data information. Here while an
instruction is being executed, the next instruction is pre-fetched from the program
memory.
Since AVR can perform single cycle execution, it means that AVR can execute 1 million
instructions per second if cycle frequency is 1MHz. The higher is the operating frequency
of the controller, the higher will be its processing speed. We need to optimize the power
consumption with processing speed and hence need to select the operating frequency
accordingly.
Naming Convention.!
The AT refers to Atmel the manufacturer, Mega means that the microcontroller belong to
Mega AVR category, 16 signifies the memory of the controller, which is 16KB.
.DAC: Atmega16 is also equipped with a Digital to Analog Converter (DAC) interface
which can be used for reverse action performed by ADC. DAC can be used when there is
a need of converting a digital signal to analog signal.
· TWI: Two Wire Interface (TWI) can be used to set up a network of devices, many
devices can be connected over TWI interface forming a network, the devices can
simultaneously transmit and receive and have their own unique address.
PIN DIAGRAM :
MOTOR DRIVER
Whenever we are talking about driving a motor through the outputs of our
microcontroller, it is not easy to do that work. This is so because our motors
specification tells to drive it on 12v dc but our microcontroller can give a max of 5v. So
to drive a motor we need some drivers which can amplify the 5v voltage to 12v. . These
days many IC manufacturers have H‐bridge motor driver available in the market like
L293D is most used H‐ Bridge driver IC. H‐bridge can also be made with the help of
transistors and MOSFETs etc. rather of being cheap, they only increase the size of the
design board, which is sometimes not required so using a small 16 pin IC is preferred
for this purpose. The driver which we are using here to drive the motor is an IC L293D.
The name "H‐Bridge" is derived from the actual shape of the switching circuit
which controls the motion of the motor. It is also known as "Full Bridge". Basically
there are four switching elements in the H‐Bridge as shown in the figure below.
Truth
High Left High Right Low Left Low Right Descriptio
On Off Off On Motor runs clockwise
Off On On Off Motor runs anti‐clockwise
On On Off Off Motor stops or decelerates
Off Off On On Motor stops or decelerates
As already said, H‐bridge can be made with the help of transistors as well as MOSFETs;
the only thing is the power handling capacity of the circuit. If motors are needed to
run with high current then lot of dissipation is there. So head sinks are needed to
cool the circuit.
Now you might be thinking why I did not discuss the cases like High side left on and
Low side left on or high side right on and low side right on. Clearly seen in the diagram,
you don't want to burn your power supply by shorting them. So that is why those
combinations are not discussed in the truth table.
So we have seen that using simple switching elements we can make our own H‐Bridge,
or other option we have is using an IC based H‐bridge driver.
As per the truth mentioned in the image above it’s fairly simple to program the
microcontroller. It’s also clear from the truth table of BJT circuit and L293D the
programming will be same for both of them, just keeping in mind the allowed
combinations of A and B.
RELAY
Relays are usually SPDT or DPDT but they can have many more sets
of switch contacts, for example relays with 4 sets of changeover
contacts are readily available. For further information about switch
contacts and the terms used to describe them please see the page on
switches.
Most relays are designed for PCB mounting but you can solder wires
directly to the pins providing you take care to avoid melting the
plastic case of the relay.
The animated picture shows a working relay with its coil and switch
contacts. You can see a lever on the left being attracted by
magnetism when the coil is switched on. This lever moves the switch
contacts. There is one set of contacts (SPDT) in the foreground and
another behind them, making the relay DPDT.
Transistors and ICs must be protected from the brief high voltage
produced when a relay coil is switched off. The diagram shows how a
signal diode (e.g. 1N4148) is connected 'backwards' across the relay
coil to provide this protection.
Current flowing through a relay coil creates a magnetic field which
collapses suddenly when the current is switched off. The sudden
collapse of the magnetic field induces a brief high voltage across the
relay coil which is very likely to damage transistors and ICs. The
protection diode allows the induced voltage to drive a brief current
through the coil (and diode) so the magnetic field dies away quickly
Advantages of relays:
Relays can switch AC and DC, transistors can only switch DC.
Relays can switch high voltages, transistors cannot.
Relays are a better choice for switching large currents (> 5A).
Relays can switch many contacts at once.
Disadvantages of relays:
Relays are bulkier than transistors for switching small currents.
Relays cannot switch rapidly (except reed relays), transistors
can switch many times per second.
Relays use more power due to the current flowing through their
coil.
Relays require more current than many ICs can provide, so a
low power transistor may be needed to switch the current for the
relay's coil.
CENTRIFUGAL PUMP
Centrifugal pumps are the most preferred hydraulic pumps used in
domestic and industrial world. In this video we will have a
conceptual overview of the working of centrifugal pumps.
BLOCK DIAGRAM
POWER
SUPPLY
Advantages
4. Cost-effective.
Applications
1. Agriculture.
2. Horticulture.
3. Floriculture.
4. Spraying of germicide.
Reference:
1. https://www.instructables.com/id/Getting-Started-With-
ESP8266LiLon- NodeMCU-V3Flashi/
2. https://www.c-sharpcorner.com/article/blinking-led-by-esp-12e-
nodemcu-v3- module-using-arduinoide/
3. https://www.cytron.io/p-nodemcu-v3
4. http://henrysbench.capnfatz.com/henrys-bench/arduino-
projects-tips-and- more/arduino-esp8266-lolin-nodemcu-
getting-started/
5. Relay-pumphttp://henrysbench.capnfatz.com/henrys-bench/
projects-tips-and- more/arduino-ide-nodemcu-esp-12e-digital-
input-basics/
7. http://henrysbench.capnfatz.com/henrys-bench/arduino-
projects-tips-and- more/nodemcu-io-basics-pwm/
8. www.handsontec.com/pdf_learn/esp8266-V10.pdf
9. https://einstronic.com/wp-content/uploads/2017/06/NodeMCU-
ESP8266-ESP- 12E-Catalogue.pdf
10. https://airccj.org/CSCP/vol7/csit77405.pdf
319253026_Counter_with_ESP8266
_NodeMcu_and_Blynk
13. https://www.elecrow.com/download/ESP8266%20NodeMCU
%20kit.pdf