DSO150 Battery Case for Agricultural Robots
DSO150 Battery Case for Agricultural Robots
INTRODUCTION
1.1 OVERVIEW
A.I.T.M Varanasi 1
for plants.
These machines do not have to be intelligent in the way we see people as intelligent
but must exhibit sensible behavior in recognized contexts. In this way they should
have enough intelligent embedded within them to behave sensibly for long periods
of time, unattended, in a semi-natural environment, whilst carrying out a useful
task. One way of understanding the complexity has been to identify what people do
in certain situations and decompose the actions into machine control. This is called
behavioral robotics and a draft method for applying this approach to agriculture is
given in Blackmore et. al. (2004b).
The approach of treating crop and soil selectively according to their needs by small
autonomous machine is the natural next step in the development of Precision
Farming (PF) as it reduces the field scale right down to the individual plant or
Phytotechnology (Shibusawa 1996). One simple definition of PF is doing the right
thing in the right place at the right time with the right amount. This definition not
only applies to robotics agriculture (RA) and Phytotechnology but it also implies a
level of automation
inherent in the machines automatic sensing and control (on-the-go) for each task is
also importance and many research papers have shows that these systems are
feasible but most are too slow, and hence not economically viable, to be operated
on a manned tractor.
Once these systems are mounted on an autonomous vehicle, they may well suddenly
become commercially viable.
A.I.T.M Varanasi 2
collectively deals with all the crop’s agronomic needs in a better way. To do this
we must stop defining plant care in terms of the current mechanisation but in terms
of what the plant needs. When we have defined the actual plant requirements we
are then free to design a better way of dealing with them.
Modern agriculture uses a lot of energy. It comes in many forms from fertilisers
and chemicals to tractors and fuel. The Phytotechnology approach tries to target the
introduced energy to improve efficacy. Chamen (1994) identified that a 70% energy
saving can be made in cultivation energy by moving from traditional trafficked
systems (255 MJ/ha) to a non-trafficked system (79 MJ/ha). This was for shallow
ploughing and did not include any deep loosening. From this we estimate that 80 -
90% of the energy going into traditional cultivation is there to repair the damage
done by large tractors. It would be much better to not cause compaction in the first
place which is one of the reasons that leads us to consider using small light
machines.
Most of the current machinery is very weather dependant. Tractors cannot drive on
soil when it is wet, sprayers cannot work in high winds etc. Perhaps it will be
possible to develop smaller, less intrusive machinery that can allow more tasks to
be carried out in marginal conditions. An example might be an autonomous seeder
that could function well, while the soil is still wet in the springtime, provided that
A.I.T.M Varanasi 3
the soil engagement mechanism is suitable arranged. This would allow the seeds to
be planted when optimal for the crop and not be limited by the soil’s ability to
support the tractor.
This approach may not be economically justifiable in many broad acre crops but
will certainly be more attractive in high value crops where a smart machine can
replace expensive repetitive labour. If this approach were taken, it would appear
that the crop production cycle could be reduced to three stages: Seeding, Plant care
and (selective) harvesting.
A.I.T.M Varanasi 4
CHAPTER 2
HC-05 module designed for transparent wireless serial connection setup and is
connoted to the Arduino UNO.
The L298N motor driver used to control the speed and direction of two DC motors,
or control one bipolar stepper motor with ease.
A.I.T.M Varanasi 5
2.2 CIRCUIT DIAGRAM
A.I.T.M Varanasi 6
2.3 WORKING PRINCIPLE
When power supply is provided to the circuit, firstly we pair up the Bluetooth module with
our android phone, which is connected to the Arduino UNO board.
TX and RX pins of Bluetooth module are connected to the RX and TX pins of Arduino
respectively.
There are two motor drivers which are used to drive four DC motors. The Arduino UNO
gives command to both motor drivers by using pins D2-D9, to operate the four DC motors.
By using android phone we can change the direction of motors and can perform different
operations of Agricultural Robot. The application which is used to operate our robot is
Bluetooth robo control.
There are seven commands in this application, the four commands are used to change the
direction of motors and the two commands +360 and -360 degree are used to perform
seeding, digging, and watering operations.
CHAPTER 3
A.I.T.M Varanasi 7
COMPONENTS USED
3.1 COMPONENTS
Power supply
Microcontroller ATmega328P
Arduino UNO
Bluetooth Module(HC-05)
DC Motor
3.2.1 ADAPTERS
The adapters are the device that has inbuilt circuitry for converting the 230V AC in to
desired DC like +5V adapter, +12V adapter, +9V adapter and many more. This consists of
inbuilt circuit for high AC to low voltage DC conversion.
A.I.T.M Varanasi 8
3.3.1 DESCRIPTION
The Atmega328 is one of the microcontroller chips that are used with the popular Arduino
Duemilanove boards. The Arduino Duemilanove board comes with either 1 of 2
microcontroller chips, the Atmega168 or the Atmega328. Of these 2, the Atmega328 is the
upgraded, more advanced chip. Unlike the Atmega168 which has 16K of flash program
memory and 512 bytes of internal SRAM, the Atmega328 has 32K of flash program
memory and 2K of Internal SRAM.
Fig.3.2 Atmega328P
It has 14 digital I/O pins, of which 6 can be used as PWM outputs and 6 analog input pins.
These I/O pins account for 20 of the pins.
A.I.T.M Varanasi 9
Fig. 3.3 Pin Configuration
The table below gives a description for each of the pins, along with their function.
Pin
Description Function
Number
1 PC6 Reset
8 GND Ground
A.I.T.M Varanasi 10
10 XTAL 2 Crystal Oscillator
22 GND Ground
As stated before, 20 of the pins function as I/O ports. This means they can function as an
input to the circuit or as output. Whether they are input or output is set in the software. 14
of the pins are digital pins, of which 6 can function to give PWM output. 6 of the pins are
for analog input/output. The chip needs power so 2 of the pins, Vcc and GND, provide it
power so that it can operate. The Atmega328 is a low-power chip, so it only needs between
1.8-5.5V of power to operate.
2 of the pins are for the crystal oscillator. This is to provide a clock pulse for the Atmega
A.I.T.M Varanasi 11
chip. A clock pulse is needed for synchronization so that communication can occur in
synchrony between the Atmega chip and a device that it is connected to.
The Atmega328 chip has an analog-to-digital converter (ADC) inside of it. This must be or
else the Atmega328 wouldn't be capable of interpreting analog signals. Because there is an
ADC, the chip can interpret analog input, which is why the chip has 6 pins for analog input.
The ADC has 3 pins set aside for it to function- AVCC, AREF, and GND. AVCC is the
power supply, positive voltage, that for the ADC. The ADC needs its own power supply in
order to work. GND is the power supply ground. AREF is the reference voltage that the
ADC uses to convert an analog signal to its corresponding digital value. Analog voltages
higher than the reference voltage will be assigned to a digital value of 1, while analog
voltages below the reference voltage will be assigned the digital value of 0. Since the ADC
for the Atmega328 is a 10-bit ADC, meaning it produces a 10-bit digital value, it converts
an analog signal to its digital value, with the AREF value being a reference for which digital
values are high or low. Thus, a portrait of an analog signal is shown by this digital value;
thus, it is its digital correspondent value.
The last pin is the RESET pin. This allows a program to be rerun and start over.
The case outlines of the plastic and ceramic Dual In-line Packages (DIPs) are nearly
identical. The lead configuration consists of two rows of leads, both with 100 mil pitch.
The plastic DIP is shown in Figure. If the DIP base is of 18 pin then 9 lines will be in one
side and 9 on other side. The IC bases of have round cut from the left of which the pin 1 of
base is considered similar is the case with integrated chips.
Basically IC is sensitive to short circuit or voltage so in place of that we first install the
bases of the IC with same number of pins and before placing the IC‟s we check all voltage
A.I.T.M Varanasi 12
points of the IC then mount the IC once proper configuration is assured. The DIP base
depends on number of pins of the IC and ranges from 4pin configuration to 40 pin
configuration. They are available in different pin configuration and size depending on IC
need.
It is important to understand that the Arduino board includes a microcontroller, and this
A.I.T.M Varanasi 13
microcontroller is what executes the instructions in your program. If you know The
ATmega328 microcontroller is the MCU used in Arduino UNO R3 as a main controller.
ATmega328 is an MCU from the AVR family; it is an 8-bit device, which means that its
data-bus architecture and internal registers are designed to handle 8 parallel data signals.
Flash memory: 32KB nonvolatile memory. This is used for storing application, which
explains why you don't need to upload your application every time you unplug arduino
from its power source.
SRAM memory: 2KB volatile memory. This is used for storing variables used by the
application while it's running.
EEPROM memory: 1KB nonvolatile memory. This can be used to store data that must
be available even after the board is powered down and then powered up again.
[Link] Packages:
This MCU is a DIP-28 package, which means that it has 28 pins in the dual in-line package.
These pins include power and I/O pins. Most of the pins are multifunctional, which means
that the same pin can be used in different modes based on how you configure it in the
software. This reduces the necessary pin count, because the microcontroller does not
require a separate pin for every function. It can also make your design more flexible,
because one I/O connection can provide multiple types of functionality.
A.I.T.M Varanasi 14
Fig.3.6 DIP-28
[Link] Power:
The MCU accepts supply voltages from 1.8 to 5.5 V. However, there are restrictions on the
operating frequency; for example, if you want to use the maximum clock frequency (20
MHz), you need a supply voltage of at least 4.5 V.
This MCU has three ports: PORTC, PORTB, and PORTD. All pins of these ports can be
used for general-purpose digital I/O or for the alternate functions indicated in the pinout
below. For example, PORTC pin0 to pin5 can be ADC inputs instead of digital I/O.
There are also some pins that can be configured as PWM output. These pins are marked
with “~” on the Arduino board.
Note: The ATmega168 is almost identical to the ATmega328 and they are pin compatible.
The difference is that the ATmega328 has more memory—32KB flash, 1KB EEPROM,
and 2KB RAM compared to the ATmega168's 16KB flash, 512 bytes EEPROM, and 1KB
RAM
This MCU has six channels—PORTC0 to PORTC5—with 10-bit resolution A/D converter.
These pins are connected to the analog header on the Arduino board.
One common mistake is to think of analog input as dedicated input for A/D function only,
as the header in the board states ”Analog”. The reality is that you can use them as digital
I/O or A/D.
A.I.T.M Varanasi 15
As shown in the diagram above (via the red traces), the pins related to the A/D unit are:
AREF: The input pin used optionally if you want to use an external voltage reference
for ADC rather than the internal Vref. You can configure that using an internal register.
The pins (RX, TX) of the UART are connected to a USB-to-UART converter circuit
and also connected to pin0 and pin1 in the digital header. You must avoid using the
UART if you’re already using it to send/receive data over USB.
The SPI (Serial Peripheral Interface) is another serial interface. The ATmega328 has
only one SPI module.
Besides using it as a serial interface, it can also be used to program the MCU using a
standalone programmer. You can reach the SPI's pins from the header next to the MCU
in the Arduino UNO board or from the digital header as below:
11<->MOSI
12<->MISO
13<->SCK
[Link] TWI:
The I2C or Two Wire Interface is an interface consisting of only two wires, serial data,
and a serial clock: SDA, SCL.
You can reach these pins from the last two pins in the digital header or pin4 and pin5 in
the analog header.
A.I.T.M Varanasi 16
Arduino Uno is a microcontroller board based on the ATmega328P ( datasheet). It
has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog
inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header
and a reset button. It contains everything needed to support the microcontroller;
simply connect it to a computer with a USB cable or power it with a AC -to-DC
adapter or battery to get started
"Uno" means one in Italian and was chosen to mark the release of Arduino
Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE)
were the reference versions of Arduino, now evolved to newer releases. The Uno
board is the first in a series of USB Arduino boards, and the reference model for
the Arduino platform; for an extensive list of current, past or outdated boards see
the Arduino index of boards.
Power Jack is basically a connector to connect the adapter output to the board directly. It
has the proper connection designed to connect with the adapter as well as out connection
A.I.T.M Varanasi 17
to connect to the board. It has three terminals output 1 Vcc, 2 GND and 3 No connection.
The most familiar form of switch is a manually operated electromechanical device with one
or more sets of electrical contacts, which are connected to external circuits. Each set of
contacts can be in one of two states: either "closed" meaning the contacts are touching and
electricity can flow between them, or "open", meaning the contacts are separated and the
switch is non-conducting. The mechanism actuating the transition between these two states
(open or closed) can be either a "toggle" (flip switch for continuous "on" or "off") or
"momentary" (push-for "on" or push-for "off") type.
An ideal switch would have no voltage drop when closed, and would have no limits on
voltage or current rating. It would have zero rise time and fall time during state changes,
A.I.T.M Varanasi 18
and would change state without "bouncing" between on and off positions.
Practical switches fall short of this ideal; they have resistance, limits on the current and
voltage they can handle, finite switching time, etc. The ideal switch is often used in circuit
analysis as it greatly simplifies the system of equations to be solved, however this can lead
to a less accurate solution. Theoretical treatment of the effects of non-ideal properties is
required in the design of large networks of switches, as for example used in telephone
exchanges.
Micro Switch: This is small switch for interconnection. It has 4 terminals with 2 in pair
already connected. When you press the switch all four get connected.
Toggle Switch: A toggle switch is a class of electrical switches that are manually
actuated by a mechanical lever, handle, or rocking mechanism. This is a two state switch
that is not connected, and connected. It remains in the state till not forced again to change
the state.
DPDT Switch: A DPDT switch is a class of electrical switches that are manually
actuated by a mechanical rocking mechanism. This is a three state switch that is not
connected, connected to one and connected to second. It remains in the state till forced
in that particular state else goes to normal state.
A.I.T.M Varanasi 19
Fig. 3.12 DPDT Switch
DIP Switches: These are combination of multiple small switches in one package to put
on/off multiple channels in circuitry. A DIP switch is a manual electric switch that is
packaged with others in a group in a standard dual in-line package (DIP). The term may
refer to each individual switch, or to the unit as a whole. This type of switch is designed
to be used on a printed circuit board along with other electronic components and is
commonly used to customize the behavior of an electronic device for specific
[Link] switches are an alternative to jumper blocks. Their main advantages are
that they are quicker to change and there are no parts to lose. These are available in
different configuration for example 8 pin configurations, 16 pin configuration and many
more.
3.6.3 CONNECTORS
Connectors are wire connection and interface to connect two different points. It has
different configuration like 2- pin connector, 3 -pin connector, 4- pin connector and many
more
Berge strip is also type of connector. It is of two types male or female. This is also used for
making electrical connections to mount some components. The come in different packages
A.I.T.M Varanasi 20
and dimensions. Depending upon the need they can be purchased. These are used for
mounting certain modules, LCD etc
3.6.5 DC CONNECTORS
A DC connector (or DC plug, for one common type of connector) is an electrical connector
for supplying direct current (DC) power.
Compared to domestic AC power plugs and sockets, DC connectors have many more
standard types that are not interchangeable. The dimensions and arrangement of DC
connectors can be chosen to prevent accidental interconnection of incompatible sources
and loads. Types vary from small coaxial connectors used to power portable electronic
devices from AC adapters, to connectors used for automotive accessories and for battery
packs in portable equipment.
A.I.T.M Varanasi 21
3.6.6 CRYSTAL OSCILLATOR
A crystal oscillator is an electronic circuit that uses the mechanical resonance of a vibrating
crystal of piezoelectric material to create an electrical signal with a very precise frequency.
This frequency is commonly used to keep track of time (as in quartz wristwatches), to
provide a stable clock signal for digital integrated circuits, and to stabilize frequencies for
radio transmitters and receivers. The most common type of piezoelectric resonator used is
the quartz crystal, so oscillator circuits designed around them were called “Crystal
Oscillators”.
A.I.T.M Varanasi 22
Fig. 3.18 Crystal Oscillator
A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of
a vibrating crystal of piezoelectric material to create an electrical signal with a very precise
frequency. This frequency is commonly used to keep track of time (as in quartz
wristwatches), to provide a stable clock signal for digital integrated circuits, and to stabilize
frequencies for radio transmitters and receivers.
Virtually all microprocessors, micro-controllers, PICs and CPU's generally operate using a
quartz crystal oscillator as its frequency determining device to generate their clock
waveform because as we already know, crystal oscillators provide the highest accuracy and
frequency stability compared to resistor-capacitor(RC), inductor-capacitor (LC) oscillators.
Quartz crystals are manufactured for frequencies from a few kilohertz up to several hundred
megahertz.
The Bluetooth module HC-05 is a MASTER/SLAVE module. By default the factory setting
is SLAVE. The Role of the module (Master or Slave) can be configured only by AT
COMMANDS. The slave modules cannot initiate a connection to another Bluetooth device,
A.I.T.M Varanasi 23
but can accept connections. Master module can initiate a connection to other devices. The
user can use it simply for a serial port replacement to establish connection between MCU
and GPS, PC to your embedded project, etc.
3.3 to 5 V I/O.
Slave default Baud rate: 9600, Data bits:8, Stop bit:1,Parity:No parity.
A.I.T.M Varanasi 24
Auto‐pairing PINCODE:”1234” as default.
ENABLE:-
When enable is pulled LOW, the module is disabled which means the module will not turn
on and it fails to communicate. When enable is left open or connected to 3.3V, the module
is enabled i.e. the module remains on and communication also takes place.
Vcc: -
GND:-
Ground pin
STATE:-
It acts as a status indicator. When the module is not connected to / paired with any other
bluetooth device, signal goes Low. At this low state, the led flashes continuously which
denotes that the module is not paired with other device. When this module is connected
to/paired with any other bluetooth device, the signal goes high. At this high state, the led
blinks with a constant delay say for example 2s delay which indicates that the module
is paired. help of AT commands, the user can change the parameters of this module but
only when the module is not paired with any other BT device. If the module is connected
to any other Bluetooth device, it starts to communicate with that device and fails to work
in AT command mode.
In this tutorial we'll explain how to use our L298N H-bridge Dual Motor Controller Module
A.I.T.M Varanasi 25
2A with Arduino. This allows you to control the speed and direction of two DC motors, or
control one bipolar stepper motor with ease. The L298N H-bridge module can be used with
motors that have a voltage of between 5 and 35V DC.
There is also an onboard 5V regulator, so if your supply voltage is up to 12V you can also
source 5V from the board
First we'll run through the connections, then explain how to control DC motors then a
stepper motor
Consider the following image - match the numbers against the list below the image:
A.I.T.M Varanasi 26
12V jumper - remove this if using a supply voltage greater than 12V DC. This enables
power to the onboard 5V regulator
Connect your motor supply voltage here, maximum of 35V DC. Remove 12V jumper if
>12V DC
GND
5V output if 12V jumper in place, ideal for powering your Arduino (etc)
DC motor 1 enable jumper. Leave this in place when using a stepper motor. Connect to
PWM output for DC motor speed control.
IN1
IN2
IN3
IN4
DC motor 2 enable jumper. Leave this in place when using a stepper motor. Connect to
PWM output for DC motor speed control.
To control one or two DC motors is quite easy. First connect each motor to the A and B
connections on the L298N module. If you're using two motors for a robot (etc) ensure that
the polarity of the motors is the same on both inputs. Otherwise you may need to swap them
over when you set both motors to forward and one goes backwards!
Next, connect your power supply - the positive to pin 4 on the module and negative/GND
to pin 5. If you supply is up to 12V you can leave in the 12V jumper (point 3 in the image
above) and 5V will be available from pin 6 on the module. This can be fed to your Arduino's
5V pin to power it from the motors' power supply. Don't forget to connect Arduino GND
to pin 5 on the module as well to complete the circuit.
Now you will need six digital output pins on your Arduino, two of which need to be PWM
(pulse-width modulation) pins. PWM pins are denoted by the tilde ("~") next to the pin
A.I.T.M Varanasi 27
number, for example:
Finally, connect the Arduino digital output pins to the driver module. In our example we
have two DC motors, so digital pins D9, D8, D7 and D6 will be connected to pins IN1,
IN2, IN3 and IN4 respectively. Then connect D10 to module pin 7 (remove the jumper
first) and D5 to module pin 12 (again, remove the jumper).
A.I.T.M Varanasi 28
The motor direction is controlled by sending a HIGH or LOW signal to the drive for each
motor (or channel). For example for motor one, a HIGH to IN1 and a LOW to IN2 will
cause it to turn in one direction, and a LOW and HIGH will cause it to turn in the other
direction.
However the motors will not turn until a HIGH is set to the enable pin (7 for motor one, 12
for motor two). And they can be turned off with a LOW to the same pin(s). However if you
need to control the speed of the motors, the PWM signal from the digital pin connected to
the enable pin can take care of it.
This is what we've done with the DC motor demonstration sketch. Two DC motors and an
Arduino Uno are connected as described above, along with an external power supply.
3.9 DC MOTOR
Electrical motors are everywhere around us. Almost all the electro-mechanical movements
we see around us are caused either by a AC or a DC motor. Here we will be exploring DC
motors. This is a device that converts DC electrical energy to a mechanical energy.
This DC or direct current motor works on the principal, when a current carrying
conductor is placed in a magnetic field, it experiences a torque and has a tendency to
move. This is known as motoring action. If the direction of current in the wire is
reversed, the direction of rotation also reverses. When magnetic field and electric field
interact they produce a mechanical force, and based on that the working principle of DC
motor is established.
A.I.T.M Varanasi 29
mutually perpendicular to each other and if the index finger represents the direction of
magnetic field, middle finger indicates the direction of current, then the thumb
represents the direction in which force is experienced by the shaft of the DC motor.
The input and output port variables of the direct current motor are related by the
parameter K. So from the picture above we can well
understand that motor is just the opposite phenomena of a DC generator, and we can
derive both motoring and generating operation from the same machine by simply
reversing the ports
𝑇 = 𝐾𝐼 𝑎𝑛𝑑 𝐸 = 𝐾𝜔.
To understand the DC motor in details lets consider the diagram below, The direct
current motor is represented by the circle in the center, on which is mounted the brushes,
where we connect the external terminals, from where supply voltage is given. On the
mechanical terminal we have a shaft coming out of the Motor, and connected to the
A.I.T.M Varanasi 30
armature, and the armature-shaft is coupled to the mechanical load. On the supply
terminals we represent the armature resistance Ra in series.
Now, let the input voltage E, is applied across the brushes. Electric current which flows
through the rotor armature via brushes, in presence of the magnetic field, produces a torque
Tg. Due to this torque Tg the dc motor armature rotates. As the armature conductors are
carrying currents and the armature rotates inside the stator magnetic field, it also produces
an emf Eb in the manner very similar to that of a generator. The generated Emf Eb is directed
opposite to the supplied voltage and is known as the back Emf, as it counters the forward
voltage. The back emf like in
𝑃.𝜑.𝑍.𝑁
𝐸𝑏 = ………………..(1)
60.𝐴
Where,
P = no of poles.
Z= No. of conductors.
A.I.T.M Varanasi 31
So, from the above equation we can see Eb is proportional to speed ‘N’. That is whenever
a direct current motor rotates, it results in the generation of back Emf. Now lets represent
the rotor speed by ω in rad/sec. So Eb is proportional to ω. So, when the speed of the motor
is reduced by the application of load, Eb decreases. Thus the voltage difference between
supply voltage and back emf increases that means E − Eb increases. Due to this increased
voltage difference, armature current will increase and therefore torque and hence speed
increases.
Thus a DC Motor is capable of maintaining the same speed under variable load. Now
armature current Ia is represented by
𝐼 𝐸−𝐸𝑏
𝑎=
𝑅
𝐸
Ia = ……………….(2)
𝑅𝑎
Now since the armature winding electrical resistance Ra is small, this motor has a very high
starting current in the absence of back Emf. As a result we need to use a starter for starting
a DC Motor. Now as the motor continues to rotate, the back Emf starts being generated and
gradually the current decreases as the motor picks up speed.
Direct motors are named according to the connection o the field winding with the armature.
There are 3 types:
A.I.T.M Varanasi 32
CHAPTER 4
Once the IDE is installed, click the desktop icon to get to the Windows desktop.
Double-click the Arduino icon and you will be in the development environment.
Load the included Blink sketch by clicking File then Examples then 01. Basics then
Blink. A new window opens with the Blink software sketch.
Ensure your OTG to Uno cable from the previous section is connected from the
tablet to the Uno. The Uno should have the power LED on, powered from the tablet.
Use an external power supply for the Uno to save tablet battery life. Set the
environment for download by clicking Tools, then Board, then select "Arduino
Uno" from the list. Go back to the Tools Menu, then Serial Port, then you usually
select the last port (COM7 in my case). You can look up which COM port the
Arduino uses by opening Control Panel, then "Devices and Printers" then look for
the Arduino Uno. If the communications port is not listed, you can right click the
icon, select Properties then click the Hardware tab to see which COM port is listed.
Ensure your tablet is connected to the Arduino Uno with the cables noted above.
The power light should be lit on the Uno.
To upload the Blink sketch to the Uno, select the right arrow icon. The yellow LED
neat the Uno's Pin 13 should now be blinking. The process may take a few seconds
longer near the end as the compiled code loads to the Uno.
You can load your own code via a network connection, downloaded from the local flash
drive or from a microSD card. When you save programs, I suggest a
A.I.T.M Varanasi 33
microSD card as the 32GB flash on the Venue 8 Pro is not a huge amount for a
Windows installation (Dell includes Office which bloats the device).
To control the robot we have used the application called Bluetooth robot remote
control using Bluetooth Module HC-05 & 89c2051 Microcontroller with your
Android Smartphone device.
We can download the hex file into it and control the operation using left,
right,up,down button and using these button we can operate the seeding, digging,
watering.
4.4Application instruction
First make sure your HC-05 Bluetooth module is paired with your mobile. The
default password for pairing is “1234” or “0000”.Check the manual of Bluetooth
module.
When press “up arrow” it sends the data “A” to Bluetooth module connected
with the circuit. When microcontroller detects “A” the robot MOVES Forward.
When press “down arrow” it sends the data “B” to Bluetooth module connected
with the circuit. When microcontroller detects “B” the robot moves reverse.
A.I.T.M Varanasi 34
When press “left arrow” it sends the data “C” to Bluetooth module connected
with the circuit. When microcontroller detects “C” the robot car turns left.
A.I.T.M Varanasi 35
CHAPTER 5
5.1 CONCLUSION
Crop production may be done better and cheaper with the swarm of small machine
than the with a few large ones.
One of the advantages of smaller machine is that they may be more acceptable to
the non-farm community. The job in agriculture are a drag, dangerous, require
intelligence and quick, though highly repetitive decisions. Hence robot can be
rightly substituted with the human operator. The higher quality products can be
sensed by machine (color, furnace, weight, density, ripeness, size, shape)
accurately.
Robots can improved the quality of our lives but they are downside
5.2 ADVANTAGES
The robot does not get sick or tired and does not need time off.
It can operate with a closer tolerance (so every round is at full field capacity),
fewer error at higher speeds.
Because machine CAN BE made lighter and cheaper if the driver seat, controls
and cab can be eliminated.
It can be used in various fields like agriculture medicine, mining, and space
A.I.T.M Varanasi 36
research.
The machine could easily work around trees, rocks, ponds, and other obstacles.
Small suburban fields could be world almost as efficiently as large tracts of land.
5.3 DISADVANTAGES
Energy issues.
5.4 APPLICATIONS
Used in harvesting.
Automatic tractor.
The future scope of Agricultural Robot is we can use the solar panel to store the energy
in the form of electrical energy so that we can use it as power supply for our project.
And we can also used cameras, sensors etc. to monitor our crops from long distance.
Data scouting at different stage of crop growth yield in a given field may vary in space
depending on a combination of factors such as nutrient availability, soil moisture,
rooting depth, pest pressure, weed density, crop maturity and others. Good agricultural
practice needs an application of optimum input at appropriate time series. Continue
A.I.T.M Varanasi 37
monitoring and data collecting related to crop NDVI, Biomass, Leaf area index, crop
growth rate, water stress are an important parameter for optimizing the variable input
parameters in different stages of crop growth and also crop health.
Weed competes with the crop for sunlight, space, and nutrients. To control weed
species, a large number of herbicides and chemicals are used in agricultural fields,
which results in drinking water contaminated and environmental pollution. Currently,
the excessive use of herbicides damages the health of people, animal etc. According
to the weed science research, about 33% of the total losses by agricultural pests are
caused by weeds only.
Therefore it is important to identify the weeds from the crop and selectively spray
herbicides to optimize the chemical application. There are various techniques
developed all over the word for distinguishing weed from the crop.
In the conventional weed control system, the herbicide is sprayed uniformly over the
field which may damage crop condition. Machine vision systems present a great
potential to be used on data collection for precision agriculture, where images would
be used to extract information. The autonomous agricultural robot can accomplish
intercultural operation using the machine vision based technique. It can be
A.I.T.M Varanasi 38
Detecting weeds selectively from a field with the application of proper methods of
image segmentation technique and post processing the segmented data finally
optimize the application part of chemicals in the field. Based on the map generated
appropriate weeding technique is considered for weeding. Identifying the actual
position of the weeds mechanical weeder can be incorporated in removing weeds by
partial tillage operation at 2 to4 cm depth. Removing of weeds from between the row
is easy as compared to removing weeds from intra-row which required high- speed
sensing device and high- speed mechanisms to push rotary blades or chemical spray
for intra row application.
A.I.T.M Varanasi 39
REFERENCES
[1] Muhammad Ali Mazidi. The 8051 Microcontroller and Embedded Systems Using
Assembly and C.
[3] Blackjmore,B.S.,fountous,S,Vougioukas,S,Tang,L,Sorencen,C.G,and
Jorgensen,R.2004b,Decomposition of agricultural task into Robotic behaviors, The
CIGR Journal of AE scientific research and development in press.
[5] [Link]
[7] [Link]
A.I.T.M Varanasi 40