Documente Academic
Documente Profesional
Documente Cultură
ON
RF Controlled Robotic
Vehicle
Submitted in partial fulfillment of their requirements for
the award of the
Submitted By:
CHANDAN GUPTA
Submitted To:
and challenging project for Educational field. His wide knowledge and
Chandan Gupta
SOFTPRO INNOVATIONS
COMPLETION CERTIFICATE
Regards,
……………………..
Yashi Asthana
Manager-HR
The matter embodied in this project work has not been submitted earlier
belief.
Chandan Gupta
TABLE OF CONTAINTS:
1.0INTRODUCTION TO PROJECT
2.0BLOCK DIAGRAM OF PROJECT
3.0DESIGN OF THE PROJECT
4.0SOFTWERE DESCRIPTION
5.0HARDWERE DESCRIPTION
5.1ATMEGA16
5.2RF TRANSMITTER AND RECEIVER
5.3POWER SUPPLY
5.4TRANSFORMERS
5.5THE ADAPTING 3-TERMINAL VOLTAGE REGULATORS
5.6RESISTORS
5.7 CRISTAL OSCILLATORS
5.8DC MOTORS
5.9 L293D
5.10 H-BRIDGE
6.0MACHENICAL PART:
6.1CHESSIS
6.2 CASTER WHEEL
6.3 L-CLAMP
6.4WHEELS
8.0 MAKING PRINTED CIRCUIT BOARD (P.C.B.)
8.1 INTRODUCTION
8.2 MATERIAL REQUIRED
8.3 PROCEDURE
8.4 PRECAUTION
8.5 USES
9.0 PROCEDURE FOR MAKING PROJECT
9.1 TOOLS:
9.2 MOUNTING & SOLDERING:
9.3 THE SOLDERING KIT
10.0 SCOPE OF THIS PROJECT
11.0 CONCLUSSION
12.0 REFERENCES
1.0 INTRODUCTION TO PROJECT :
The structural part involves use of frames, beams, linkages, axles, etc. the
mechanical parts/ accessories comprise various types of gears (spurs, crowns,
bevels, worms and differential gear systems), pulleys and belts, drive
systems(differentials, castors, wheels and steering) etc. The pneumatics plays a
vital role in generating specific pushing and pulling movements such as those
simulating arms or leg movement. Pneumatic grippers are also used with
advantage in robotics because of their simplicity and cost effectiveness. The
electrical items include DC and Stepper motors, actuators, electrical grips,
clutches and their control. The electronic parts involves remote control, sensors
(touch sensors, light sensor, collision sensor, etc), there interface circuitry and a
microcontroller for overall control functions.
RF controlled robot is controlled by using Four push button placed at
transmitter side. Here we only need to push the buttons to control the
robot. A transmitting device is used in your hand which also contains a RF
Transmitter and a RF Encoder. This transmitter part will transmit
command to robot so that it can do the required task like moving forward,
reverse, turning left, turning right and stop. All these tasks will perform by
using four push buttons that are placed on RF transmitter.
2.0 BLOCK DIAGRAM OF PROJECT:
3.0 DESIGN OF THE PROJECT:
CIRCUIT DESCRIPTION:
Atmel studio 6
- It comes with its own integrated C compiler the AVR GNU C Compiler
(GCC). As such you do not need a third party C compiler.
- It provides a single environment to develop programs for both the 8-bits, 32-
bits and ARM Cortex-M AVR series of microcontrollers.
Proteus:
Features:
Software works under multiple platforms. Linux, Mac OS X and Windows are
tested.
Tested with ATMega8-16
No special USB controllers or smd components are needed.
Boot loader fits into 1024 word boot loader block
Hardware
Basically AVR USB Boot can be used with all circuits which are supported by
the AVR USB driver. To switch between the boot loader and the application, an
additional jumper is necessary. Here is an example (Here the levels on the data
lines are 5V which doesn't meet the USB specification! The supply voltage
should be regulated to 3,3V - 3,6V):
Program:
/*
* RF CONTROLLED ROBOTIC VEHICLE.c
*
* Created: 8/25/2016 01:00:29 PM
* Author: softpro innovations
*/
DESCRIPTION OF COMPONANTS:-
5.1 ATMEGA16/8:
ATmega16/8 is an 8-bit high performance microcontroller of Atmel’s
Mega family with low power consumption. Atmega16/8 is based on enhanced
RISC (Reduced Instruction Set Computing, Know more about ) architecture
with 131 powerful instructions. Most of the instructions execute in one machine
cycle. Atmega16/8 can work on a maximum frequency of 16MHz.
Key Parameters
Parameter
Value
Flash (kBytes):
16 kBytes in atmega16, 8kBytes in Atmega 8
Pin Count:
40 in 16 and 28 in atmega8
Max. Operating Freq. (MHz):
16 MHz
CPU:
8-bit AVR
# of Touch Channels:
16
Hardware Q Touch Acquisition:
No
Max I/O Pins:
32in Atmega 16 and, 23 in atmega8
Ext Interrupts:
3
Pin Diagram:
Pin Description:
Pin
Pin name Description Alternate Function
No.
T0: Timer0 External Counter
(XCK/T0) I/O PORTB, Pin
1 Input.
PB0 0
XCK : USART External Clock I/O
I/O PORTB, Pin T1:Timer1 External Counter
2 (T1) PB1
1 Input
AIN0: Analog Comparator
(INT2/AIN0) I/O PORTB, Pin
3 Positive I/P
PB2 2
INT2: External Interrupt 2 Input
AIN1: Analog Comparator
(OC0/AIN1) I/O PORTB, Pin Negative I/P
4
PB3 3 OC0 : Timer0 Output Compare
Match Output
I/O PORTB, Pin
5 (SS) PB4
4
(MOSI) I/O PORTB, Pin
6
PB5 5 In System Programmer (ISP)
(MISO) I/O PORTB, Pin Serial Peripheral Interface (SPI)
7
PB6 6
I/O PORTB, Pin
8 (SCK) PB7
7
Reset Pin,
9 RESET Active Low
Reset
10 Vcc Vcc = +5V
11 GND GROUND
12 XTAL2 Output to Inverting Oscillator Amplifier
13 XTAL1 Input to Inverting Oscillator Amplifier
I/O PORTD,
14 (RXD) PD0
Pin 0 USART Serial Communication
I/O PORTD, Interface
15 (TXD) PD1
Pin 1
I/O PORTD,
16 (INT0) PD2 External Interrupt INT0
Pin 2
I/O PORTD,
17 (INT1) PD3 External Interrupt INT1
Pin 3
(OC1B) I/O PORTD,
18
PD4 Pin 4
PWM Channel Outputs
(OC1A) I/O PORTD,
19
PD5 Pin 5
31 GND GROUND
Pin Description:
RF Transmitter
Pin
Function Name
No
1 Ground (0V) Ground
2 Serial data input pin Data
3 Supply voltage; 5V Vcc
4 Antenna output pin ANT
RF Receiver
Pin
Function Name
No
1 Ground (0V) Ground
2 Serial data output pin Data
3 Linear output pin; not connected NC
4 Supply voltage; 5V Vcc
5 Supply voltage; 5V Vcc
6 Ground (0V) Ground
7 Ground (0V) Ground
8 Antenna input pin ANT
RF DECODER IC:
HT 12 E:
The HT 12E Encoder ICs are series of CMOS LSIs for Remote Control
system applications. They are capable of Encoding 12 bit of information which
consists of N address bits and 12-N data bits. Each address/data input is
externally trinary programmable if bonded out.
HT 12 D:
The HT 12D ICs are series of CMOS LSIs for remote control system
applications. This ICs are paired with each other. For proper operation a pair of
encoder/decoder with the same number of address and data format should be
selected. The Decoder receive the serial address and data from its corresponding
decoder, transmitted by a carrier using an RF transmission medium and gives
output to the output pins after processing the data.
RF MODULES:
THEORY:
Since the two diodes have a common-cathode load resistor RL, the
output voltage across RL will result from the alternate conduction of D1
and D2. The output waveform vout across RL, therefore has no gaps as
in the case of the half-wave rectifier.
An interesting fact about the output waveform vout is that its peak
amplitude is not 9 V as in the case of the half-wave rectifier using the
same power source, but is less than 4½ V. The reason, of course, is that
the peak positive voltage of A relative to C is 4½ V, not 9 V, and part of
the 4½ V is lost across R.
Though the full wave rectifier fills in the conduction gaps, it
delivers less than half the peak output voltage that results from half-
wave rectification.
BRIDGE RECT6IFIER
Filtration
CAPACITOR FILTER
Now let us see that what can be done to get a higher but constant
output voltage. If to the circuit of Fig. resistor RY and zener Vz are
added as shown in Fig., the output voltage is now given by
VOUT=VR+VZ + IBIAS RX
VOZ=VR + IBIAS Rx
IBIAS=5mA
55 - 39
RY = ---------------=3.2k»3.3k
5 x 10-3
55 - 39 - 15 1
RX = ---------------------= ---------- = 200 ohm
IBIAS 5 x 10-3
VIN - VZ - IBIAS RX
This circuit will have an excellent load and line regulation. For
shot-circuit protection, it is recommended to use a fast-blow fuse of
suitable value. Although the regulator has inherent short-circuit
protection, the maximum current differs from device to device.
Adequate heat sink should be used with the regulator.
5.5 TRANSFORMERS:
Two coils are wound over a Core such that they are magnetically
coupled. The two coils are known as the primary and secondary
windings.
In a Transformer, an iron core is used. The coupling between the
coils is source of making a path for the magnetic flux to link both the
coils. A core as in fig.2 is used and the coils are wound on the limbs of
the core. Because of high permeability of iron, the flux path for the flux
is only in the iron and hence the flux links both windings. Hence there is
very little ‘leakage flux’. This term leakage flux denotes the part of the
flux, which does not link both the coils, i.e., when coupling is not perfect.
In the high frequency transformers, ferrite core is used. The transformers
may be step-up, step-down, frequency matching, sound output,
amplifier driver etc. The basic principles of all the transformers are
same.
5.6 RESISTORS:
Resistance is the opposition of a material to the current. It is
measured in Ohms ( ). All conductors represent a certain amount of
resistance, since no conductor is 100% efficient. To control the electron
flow (current) in a predictable manner, we use resistors. Electronic
circuits use calibrated lumped resistance to control the flow of current.
Broadly speaking, resistor can be divided into two groups viz. fixed &
adjustable (variable) resistors. In fixed resistors, the value is fixed &
cannot be varied. In variable resistors, the resistance value can be varied
by an adjuster knob. It can be divided into (a) Carbon composition (b)
Wire wound (c) Special type. The most common type of resistors used in
our projects is carbon type. The resistance value is normally indicated by
colour bands. Each resistance has four colours, one of the band on either
side will be gold or silver, this is called fourth band and indicates the
tolerance, others three band will give the value of resistance (see table).
For example if a resistor has the following marking on it say red, violet,
gold. Comparing these coloured rings with the colour code, its value is
27000 ohms or 27 kilo ohms and its tolerance is ±5%. Resistor comes in
various sizes (Power rating). The bigger, the size, the more power rating
of 1/4 watts. The four colour rings on its body tells us the value of
resistor value as given below.
COLOURS CODE
Black-------------------------------------------- 0
Brown ------------------------------------------ 1
Red --------------------------------------------- 2
Orange ----------------------------------------- 3
Yellow ----------------------------------------- 4
Green ------------------------------------------- 5
Blue --------------------------------------------- 6
Violet ------------------------------------------- 7
Grey -------------------------------------------- 8
White ------------------------------------------- 9
The first rings give the first digit. The second ring gives the second
digit. The third ring indicates the number of zeroes to be placed after the
digits. The fourth ring gives tolerance (gold ±5%, silver ± 10%, No colour
± 20%).
5.8 DC MOTORS:
Specifications:
• Operating Voltage : 3V - 12V DC
• RPM : Approximately 100 RPM
• No load current : 40 - 80 mA
• Output Torque : 3.5 Kgf.cm
• Weight : 35gm
DC motors were the first type widely used, since they could be powered
from existing direct-current lighting power distribution systems. A DC motor's
speed can be controlled over a wide range, using either a variable supply
voltage or by changing the strength of current in its field windings. Small DC
motors are used in tools, toys, and appliances. The can operate on direct current
but is a lightweight motor used for portable power tools and appliances. Larger
DC motors are used in propulsion of electric vehicles, elevator and hoists, or in
drives for steel rolling mills. The advent of power electronics has made
replacement of DC motors with possible in many applications.
5.9 L293D:
L293D contains two inbuilt H-bridge driver circuits. In its common mode
of operation, two DC motors can be driven simultaneously, both in
forward and reverse direction. The motor operations of two motors can be
controlled by input logic at pins 2 & 7 and 10 & 15. Input logic 00 or 11
will stop the corresponding motor. Logic 01 and 10 will rotate it in
clockwise and anticlockwise directions, respectively.
Enable pins 1 and 9 (corresponding to the two motors) must be high for
motors to start operating. When an enable input is high, the associated
driver gets enabled. As a result, the outputs become active and work in
phase with their inputs. Similarly, when the enable input is low, that
driver is disabled, and their outputs are off and in the high-impedance
state.
.
Pin Diagram:
Pin Description:
Pin
Function Name
No
1 Enable pin for Motor 1; active high Enable 1,2
2 Input 1 for Motor 1 Input 1
3 Output 1 for Motor 1 Output 1
4 Ground (0V) Ground
5 Ground (0V) Ground
6 Output 2 for Motor 1 Output 2
7 Input 2 for Motor 1 Input 2
8 Supply voltage for Motors; 9-12V (up to 36V) Vcc 2
9 Enable pin for Motor 2; active high Enable 3,4
10 Input 1 for Motor 1 Input 3
11 Output 1 for Motor 1 Output 3
12 Ground (0V) Ground
13 Ground (0V) Ground
14 Output 2 for Motor 1 Output 4
15 Input2 for Motor 1 Input 4
16 Supply voltage; 5V (up to 36V) Vcc 1
5.10 H-BRIDGE:
If Q2 and Q3 are turned on, the reverse will happen, the motor gets
energized in the reverse direction, and the shaft will start spinning backwards.
In a bridge, you should never ever close both Q1 and Q2 (or Q3 and Q4)
at the same time. If you did that, you just have created a really low-resistance
path between power and GND, effectively short-circuiting your power supply.
This condition is called ‘shoot-through’ and is an almost guaranteed way to
quickly destroy your bridge, or something else in your circuit.
Because of this restriction from the four possible states the side-A
switches could be in only three make sense:
Q1 Q2
open open
close open
open close
Similarly for side-B:
Q3 Q4
open open
close open
open close
Altogether this allows for 9 different states for the full bridge to be in:
Q1 Q2 Q3 Q4
close open open open
close open open close
close open close open
open close open open
open close open close
open close close open
open open open open
open open open close
open open close open
We will get into much more detail in a minute, but before we do, let’s spend a
few minutes understanding the basics of our load, the DC motor.
6.0 MACHENICAL PART:
6.1 CHESSIS
Chassis, basically the frame of the robot on which motors and wheels are
mounted and all the circuitry part is also placed on it.
Caster Wheel
6.3 L-CLAMP
6.4 WHEELS:
Wheel is a circular object that revolves on an axle and is fixed below a
vehicle or other object to enable it to move over the ground.
Robot Wheels
* Plastic Tray
7.3 PROCEDURE
The first and foremost in the process is to clean all dirt from copper
sheet with say spirit or trichloro ethylene to remove traces grease or oil
etc. and then wash the board under running tap water. Dry the surface
with forced warm air or just leave the board to dry naturally for some
time.
REACTION:
Fecl3 + Cu ----- CuCl3 + Fe
7.4 PRECAUTION
3. Try not to breathe the vapours. Stir the solution by giving see-saw
motion to the dish and solution in it.
7.5 USES
The process of making a Printed Circuit for any application has the
following steps (opted professionally):
8.1 TOOLS:
The electronics workbench is an actual
place of work with comfortably &
conveniently & should be supplied with
compliment of those tools must often
use in project building. Probably the
most important device is a soldering
tool. Other tool which should be at the
electronic work bench includes a pair of needle nose pliers, diagonal
wire cutter, a small knife, an assortment of screw driver, nut driver, few
nuts & bolts, electrical tape, plucker etc. Diagonal wire cutter will be
used to cut away any excess lead length from copper side of P.C.B. 7 to
cut section of the board after the circuit is complete. The needle nose
pliers are most often using to bend wire leads & wrap them in order to
form a strong mechanical connection.
8.2 MOUNTING&
SOLDERING: Soldering is
process of joining together two
metallic parts. It is actually a process
of function in which an alloy, the
solder, with a comparatively low
melting point penetrates the surface
of the metal being joined & makes a firm joint between them on cooling
& solidifying.
2. SOLDER:
The raw material used for soldering is solder. It is composition of
lead & tin. The good quality solder (a type of flexible naked wire) is 60%
Tin +40% Lead which will melt between 180 degree to 200 degree C
temperature.
4. BLADES OR KNIFE:
To clean the surface & leads of components to be soldered is done
by this common instrument.
5. SAND PAPER:
The oxide formation may attack at the tip of your soldering iron &
create the problem. To prevent this, clean the tip with the help of sand
paper time to time or you may use blade for doing this job. Apart from
all these tools, the working bench for soldering also includes
desoldering pump, wink wire (used for desoldering purpose), file etc.
HOW TO SOLDER?
2. Keep the hot tip of the soldering iron on a piece of metal so that
excess heat is dissipated.
4. Use just enough solder to cover the lead to be soldered. Excess solder
can cause a short circuit.
5. Use sufficient heat. This is the essence of good soldering. Apply
enough heat to the component lead. You are not using enough heat, if
the solder barely melts and forms a round ball of rough flaky solder.
A good solder joint will look smooth, shining and spread type. The
difference between good & bad soldering is just a few seconds extra
with a hot iron applied firmly.
PRECAUTIONS:
2. Do not use a spread solder on the board, it may cause short circuit.
4. Position the board so that gravity tends to keep the solder where
you want it.
5. Do not over heat the components at the board. Excess heat may
damage the components or board.
6. The board should not vibrate while soldering otherwise you have a
dry or a cold joint.
7. Do not put the kit under or over voltage source. Be sure about the
voltage either dc or ac while operating the gadget.
ADVANTAGES:
Wireless robot controlled is easy
More useful in remote areas
Firing events more help full to save
Easily operated
APPLICATIONS:
Military applications
Landmine detection
Firing situations
10.0 CONCLUSSION:
11.0 REFERENCES: