Académique Documents
Professionnel Documents
Culture Documents
Mini-project Submitted in partial fulfillment of the requirements for the award of the degree of
BACHELOR OF TECHNOLOGY
In
BONAFIDE CERTIFICATE Certified that the project Remote Controlled Robot with Remote Image Transmission is the bonafide work of D.SPARSHA (07D21A0443) and G.VANDANA (07D21A0455), who carried out the project under my supervision from May to June in partial fulfillment of the requirements for the award of B.Tech Electronics &Communication Engineering to Jawaharlal Nehru Technological University, Hyderabad. Certified further, that to the best of my knowledge the work reported here in does not form part of any dissertation on basis of which a degree was conferred on an earlier occasion on this or any other candidate.
Head of the Department Dr.Y. RAJASREE Professor & HOD Department of ECE
ii
DECLARATION
The project entitled REMOTE CONTROLLED METAL DETECTING ROBOT WITH IMAGE TRANSMISSION is a record of the bonafide work undertaken by us towards partial fulfillment of the award of Degree of Bachelor of Technology. The results in this project work have not been submitted to any other University or Institute for the award of any Degree or Diploma.
iii
ABSTRACT
Path Finder was sent to Mars in 1998. This was achievement a great which detected the secrets of Mars. This project deals with RF controlled robot. This robot prototype for the Path Finder. This robot is controlled by a RF remote. This can be moved forward and reverse direction using geared motors of 60RPM. Also this robot can take sharp turnings towards left and right directions. This project uses AT89S52 MCU as its controller. A high sensitive induction type metal detector is designed using colpitts oscillator principle and fixed to this robot. Also a wireless camera with voice is interfaced to the kit. When the robot is moving on a surface, the system produces a beep sound when metal is detected. This beep sound will be transmitted to remote place. Simultaneously the images around the robot will be transmitted to remote place. User can monitor the images and metal detection alarms on Television. The RF modules used here are STT-433 MHz Transmitter, STR-433 MHz Receiver, HT640 RF Encoder an HT648 RF Decoder. he three switches are interfaced to the RF transmitter through RF Encoder. The encoder continuously reads the status of the switches, passes the data to the RF transmitter and the transmitter transmits the data. This project uses 9V battery. This project is much useful for mines detection and surveillance applications
iv
ACKNOWLEDGEMENT
First and foremost, our sincere thanks to Prof. Y. RAJASREE, Principal and Head of the department of Electronics and Communication Engineering, Sridevi Womens Engineering College, V.N.Pally, Hyderabad for providing this opportunity to carry out the present project work and for her encouragement and advice during the course of this work. We indebted to our internal project guide Mr.S.BHARGAV KUMAR, Assistant Professor of Electronics and Communication Engineering, for his excellent guidance, constant inspiration and encouragement in the completion of this dissertation. We would like to express our thanks to all the Faculty members, Staff of Department of Electronics & Communication Engineering, who have rendered valuable help in making this project a successful one.
D.SPARSHA G.VANDANA
LIST OF TABLES
Name of the Table Pin Description of HT640L Encoder Pin Description of HT648L Decoder Alternate Functions of port 3 Operation of H-Bridge
Page No 10 12 15 17
vi
LIST OF FIGURES
Name of the Figure Regulated Power Supply Full Wave Bridge Rectifier Circuit Diagram and respective output Waveforms of Capacitive Filter
Page No 5 6
6 7 7 9 10 11 12 14 15 16 18 20 21 28 28
3.4 3.5 3.6 3.7 3.8 3.9 4.1 4.2 5.1 6.1 7.1 7.2 10.1 10.2
RF Transmitter STT-433MHz Transmitter circuit HT640 Encoder RF Receiver STR-433MHz Pin Diagram of RF Receiver STR-433MHz HT648L Decoder Block Diagram of AT89C51 Pin Diagram of AT89C51 Graphical Representation of H-Bridge Metal Detecting circuit Block Diagram of RF Transmitter (Remote) Block Diagram of RF Receiver (Remote) RF Receiver Section (Robot) RF Transmitter Section (Remote)
vii
INDEX
CHAPTER 1 2 TOPIC PROJECT OVERVIEW WIRELESS COMMUNICATION 2.1. Radio Frequency-its necessity 2.1.1. Brief Description of RF 2.1.2. Properties of Radio Frequency 3 REQUIREMENTS FOR RF COMMUNICATION 3.1 3.2 3.3 3.4 3.5 Power Supply Regulated Power Supply Diode Rectifier- Full wave bridge rectifiers Capacitive Filter RF Transmitter STT-433MHz 3.5.1. About the Transmitter 3.5.2. Features 3.5.3. Pin Description 3.6 Basic Application circuit of HT640 Encoder PAGE NO 1 2 2 2 3 4 4 4 5 6 7 8 8 8 9 10 11 12 13 13
3.7 RF Receiver STR-433MHz 3.7.1. Pin Description 3.8 Basic Application circuit of HT648L Decoder 4 MICROCONTROLLER 4.1. General Description
viii
Features of ATMEL 89C51 Microcontroller Block Diagram ATMEL 89C51 Microcontroller Pin Diagram ATMEL 89C51 Microcontroller
13 14 15
WIRELESS CAMERA FOR IMAGE TRANSMISSION 7.1. RF Transmitter (Remote) Block Diagram 7.2. RF Receiver (Remote) Block Diagram
WORKING
PROGRAMMING THE FLASH (CODE) 9.1. Programming Algorithm 9.2. Project Code
10
ix
The aim of this project is to control the operation of movement of a remote controlled robot to detect metals and to view the images surrounding the robot. The main objectives of this project are to use radio frequency bands. The movement of robot is controlled by the transmission of signals through air. The receiver senses these signals from the air.. This mini project makes use of the transmitter and receiver at 433MHz that is available at low cost hence making it very complicated. The Radio Frequency based control proves to be more advantageous compared to the Infrared Red based control that limits the operating range to only a few meters of distance. When the robot is moving on a surface, the system produces a beep sound when metal is detected. This beep sound will be transmitted to remote place. Simultaneously the images around the robot will be transmitted to remote place. User can monitor the images and metal detection alarms on Television.
of the electromagnetic radiation spectrum, extending from nine kilohertz (9 kHz),the lowest allocated wireless communications frequency (it's within the range of human hearing), to thousands of gigahertz(GHz). When an RF current is supplied to an antenna, it gives rise to an electromagnetic field that propagates through space. This field is sometimes called an RF field; in less technical jargon it is a "radio wave." Any RF field has a wavelength that is inversely proportional to the frequency. As the frequency is increased beyond that of the RF spectrum, EM energy takes the form of infrared (IR), visible, ultraviolet (UV), X rays, and gamma rays. ), X rays, and gamma rays. Many types of wireless devices make use of RF fields.Some wireless devices operate at IR or visible-light frequencies, whose electromagnetic wavelengths are shorter than those of RF fields. 2.1.2. Properties of Radio Frequency Electrical currents that oscillate at RF have special properties not shared by direct current signals: 1. One such property is the ease with which it can ionize air to create a conductive path air. This property is exploited by 'high frequency' units. 2. Another special property is an electromagnetic force that drives the RF current to the surface of conductors, known as the skin effect. through
xii
3.1 Power Supply The input to the circuit is applied from the regulated power supply. The a.c. input i.e., 230V from the mains supply is step down by the transformer to 12V and is fed to a rectifier. The output obtained from the rectifier is a pulsating d.c voltage. So in order to get a pure d.c voltage, the output voltage from the rectifier is fed to a filter to remove any a.c components present even after rectification. Now, this voltage is given to a voltage regulator to obtain a pure constant dc voltage. 3.2 Regulated Power Supply A variable regulated power supply, also called a variable bench power supply, is one where you can continuously adjust the output voltage to your requirements. Varying the output of the power supply is the recommended way to test a project having doubled checked parts placement against0* circuit
xiii
drawings and the parts placement guide. Most digital logical circuits and processors need a 5 volt power supply . to use these parts we need to build a regulated 5 volt source . Usually you start with an unregulated power supply ranging from 9 volts to 24 volts DC. To make a 5 volt power supply, we use a LM7805 voltage regulator IC (Integrated circuit) . the IC is shown below .
Figure 3.1: Regulated Power Supply The LM7805 is simple to use. you simply connect the positive lead of your unregulated DC power supply (anything from 9 VDC to 24 VDC ) to the Input pin , connect the negative lead to the Common pin and then when you turn on the power , you get a 5 volt supply from the Output pin. 3.3 Diode rectifier- Full wave bridge rectifier The need for a centre tapped power transformers is eliminated in the bridge rectifier .it contains four diodes D1 , D2 , D3 and D4 connected to from bridge as shown below.
xiv
The a. c. supply to be rectified is applied to the diagonally opposite ends of the bridge through the transformer. Between other two ends of the bridge , the load resistance RL is connected .
3.4 Capacitor Filter A capacitive filter helps in reducing the ripples. A capacitive filter is shown below.
Figure 3.3: Circuit Diagram and the respective output waveforms of Capacitive Filter
xv
Figure 3.5:
Transmitter circuit
xvi
3.5.1. About the Transmitter: The STT-433 is ideal for remote control applications where low cost and longer range is required. The transmitter operates from a1.5-12V supply, making it ideal for battery-powered applications. The transmitter employs a SAW-stabilized oscillator, ensuring accurate frequency control for best range performance. The manufacturing-friendly SIP style package and low-cost make the STT-433 suitable for high volume applications. 3.5.2. Features: 433.92 MHz Frequency Low Cost 1.5-12V operation 3.5.3Pin Description: GND: Transmitter ground-Connect to ground plane. DATA: Digital data input. This input is CMOS compatible and should be driven with CMOS level inputs. VCC: Operating voltage for the transmitter. VCC bypassed with should be a .01uF ceramic capacitor and filtered with a 4.7uF tantalum capacitor. Noise on the power supply will degrade transmitter noise performance. ANT: 50ohm antenna output. The antenna port impedance affects output power and harmonic emissions.
xvii
3.6 Basic Application circuit of HT640 Encoder The encoder parallel bit data into serial bit data i.e, the antenna in the transmitter transmits the signal to the receiver, which is of single bit through the medium of air.
xviii
xix
Figure 3.7: RF Receiver STR-433MHz The data is received by the RF receiver from the antenna pin and this data is available on the data pins. Two Data pins are provided in the receiver module. Thus, this data can be used for further applications.
3.7.1. Pin Description: ANT- Antenna input. GND-Receiver Ground. Connect to ground plane. VCC- VCC pins are electrically connected and provide operating voltage for the receiver. VCC can be applied to either or both. VCC should be bypassed with a .1F ceramic capacitor. Noise on the power supply will degrade receiver sensitivity.
DATA-Digital data output. This output is capable of driving one TTL or CMOS load. It is a CMOS compatible output.
xx
Figure 3.9: HT648L Decoder Similarly, as the transmitter requires an encoder, the receiver module requires a decoder. The decoder used is HT648L from HOLTEK SEMICONDUCTOR INC
xxi
CHAPTER 4 MICROCONTROLLER
4.1. General Description The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications. 4.1.1. Features of ATMEL 89C51 Microcontroller Compatible with MCS-51 Products 4K Bytes of In-System Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles Fully Static Operation: 0 Hz to 24 MHz Three-level Program Memory Lock 128 x 8-bit Internal RAM 32 Programmable I/O Lines Two 16-bit Timer/Counters Six Interrupt Sources
xxii
xxiii
VCC: Pin 40 provides supply voltage to the chip. The voltage source is +5V. GND: Pin 20 is the ground.
xxiv
XTAL1 and XTAL2: XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier that can be configured for use as an on-chip oscillator. Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven, as shown in the below figure. There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high and low time specifications must be observed.
RESET: Pin9 is the reset pin. It is an input and is active high. Upon applying a high pulse to this pin, the microcontroller will reset and terminate all the activities. This is often referred to as a power-on reset.
EA (External access): Pin 31 is EA. It is an active low signal. It is an input pin and must be connected to either Vcc or GND but it cannot be left unconnected.
PSEN (Program store enable): This is an output pin. ALE (Address latch enable): This is an output pin and is active high. Ports 0, 1, 2 and 3: The four ports P0, P1, P2 and P3 each use 8 pins, making them 8-bit ports. All the ports upon RESET are configured as input, since P0-P3 have value FFH on them. Table 3: Alternate Functions of port 3
xxv
The assembly language program is written and this program has to be dumped into the microcontroller for the hardware kit to function according to the software. The program dumped in the microcontroller is stored in the Flash memory in the microcontroller.
CHAPTER 5 H-BRIDGE
An H-bridge is an electronic circuit which enables DC electric motors to be run forwards or backwards. These circuits are often used in robotics. H-bridges are available as integrated circuits, or can be built from discrete components.
Figure 5.1: Graphical representation of H-Bridge An H-bridge is built with four switches (solid-state or mechanical). When the switches S1 and S4 (according to the first figure) are closed (and S2 and S3 are open) a positive voltage will be applied across the motor. By opening S1 and S4 switches and closing S2 and S3 switches, this voltage is reversed, allowing reverse operation of the motor
xxvi
The H-Bridge arrangement is generally used to reverse the polarity of the motor, but can also be used to 'brake' the motor, where the motor comes to a sudden stop, as the motors terminals are shorted, or to let the motor 'free run' to a stop, as the motor is effectively disconnected from the circuit.
xxvii
xxviii
SW3
SW4 xxix
RF Decoder RF Receiver
HBridge
Geared Motor - I
Geared Motor - II
xxxi
8.2. RF Receiver (Robot) The receiver section consists of the following components: RF receiver (STR-433MHz) RF decoder (HT648L) Microcontroller (AT89C51) H-Bridge Geared motors of 60RPM Metal detecting circuit Wireless camera In this receiver section, the RF receiver is connected to the RF decoder. This decoder is connected to the microcontroller, which is, in turn, connected to the H-Bridge. This H-Bridge is connected to the geared motors of the robot. Metal detecting circuit is also other separate sub-section on the receiver part. The wireless camera is placed separately on the receiver section to view the surroundings. When the radio waves are transmitted from the transmitter (remote) to the receiver (robot), these waves are received by the RF receiver through the receiver antenna. From the RF receiver the signals are sent to RF decoder, which decodes these signals into digital data. This digital data is sent to the
xxxii
microcontroller, which, depending on the code written in it, enables either the upper H-Bridge or lower H-Bridge. This H-Bridge correspondingly activates the specified geared motors (Geared Motors-I or Geared motors-II). Power set reset button is used for activating the receiver section. Metal detecting circuit is other sub-section on the receiver part. As the robot moves in any specified direction and if a metal is been placed on the path of the robot., the inducting coil present at the lower side of the receiver section, which acts as a metal detecting coil, will detect the metal and activates the buzzer sound on the receiver section. The metal detection processes goes on by induction of eddy currents in the metal due to the variation in the magnetic fields of the two components-coils and metal. The wireless camera is placed to view the images surrounding the robot to locate the position of the metal being detected. The images can be viewed on a television at the user location. When the robot moves the camera also moves as per the adjustment of the camera on the receiver section. This provides the view of the location of the robot. Whenever the metal is detected, which we can be aware by the sound of the buzzer on the receiver section, we view the location of the mine with the help of the surrounding view provided by the camera through a television placed at our location. This feature makes the project more specific in applications like for metal detecting and other applications
xxxiii
3. Activate the correct combination of control signals. 4. Raise EA/VPP to 12V for the high-voltage programming mode.
xxxiv
5. Pulse ALE/PROG once to program a byte in the Flash array or the lock bits. The byte-write cycle is self-timed and typically takes no more than 1.5 ms. 6. Repeat steps 1 through 5, changing the address and data for the entire array or until the end of the object file is reached.
9.2. Project Code: #include<reg52.h> #define rfdata P1 void stop(void); void forward(void); void left(void); void right(void); void backward(void); void main()
{ rfdata=0xff;
xxxv
if(rfdata==0x0f)
{
while(rfdata==0x0f)
{
stop();
} }
if(rfdata==0x0e)
{
The present project is implemented on Keil Uvision. In order to program the device, proload tool has been used to burn the program onto the microcontroller.
xxxvi
CHAPTER 10 RESULTS
RF Receiver Section
xxxvii
ADVANTAGES AND DISADVANTAGES Advantages: 1. No line of sight is needed. 2. Not blocked by common materials: It can penetrate most solids and pass through 3. Longer range. 4. It is not sensitive to the light;. 5. It is not much sensitive to the environmental changes and weather conditions. walls.
Disadvantages:
1. Interference: communication devices using similar frequencies - wireless phones, scanners, wrist
radios and personal locators can interfere with transmission 2. Lack of security: easier to "eavesdrop" on transmissions since signals are spread out in space rather than confined to a wire 3. Higher cost than infrared 4. Federal Communications Commission(FCC) licenses required for some products 5. Lower speed: data rate transmission is lower than wired and infrared transmission
xxxviii
LIMITATIONS
Limitations in this project are 1. While working on this project, we had a difficulty of adjusting the RF frequency for our project. 2. We had to tune the frequency in the RF range in such a way that the frequency used in our project should not be used anywhere in the closer vicinity of the project. 3. Therefore we had to tune the frequency range between 340MHz to 415MHz. 4. Finally we had rectified the problem by setting the frequency at 384.9MHz. 5. High cost and high tech features are additional constraints in using robots for demining. 6. The knowledge required to operate a machine may not match the skill level of the demines, many of whom are drawn from the local public. 7. The main limitations of this robot are: a. Not suitable for difficult terrain b. Hard to navigate c. Blast-resistant wheels are unsuited to very soft ground, and d. The inability of the robot with its particular wheel configuration and available power to have enough torque to get out of a hole after a mine blast.
xxxix
8. In addition, cost of maintenance, spare parts and its availability are critical parameters too. While current technology may be slightly effective, it is far too limited to fully address the huge mine. 9. Here two main steps can be distinguished: first the presence of an object must be detected, and secondly this object has to be identified as being a mine or other. Critical to demining is the ability to distinguish fragments or stones from the target material.
APPLICATIONS
1. Mines detection This remote controlled metal detecting robot with image transmission can be used for detection of mines in remote and others places also with an image view through the television, to know the location of the mine. Since whenever this robot passes through a mine, it detects the mine and produces a buzzer sound and thereby the location of the mine can be traced out by the television used. 2. Surveillance appliances. With the help of microcontroller, remote and other intelligent control technologies embedded in the project offer the end user to easily access greater control of their products. The use of a camera helps to view the location under control. the projects various surveillance appliances include the monitoring of the robot and thereby the view of the camera so as to observe the location being detected.
xl
CONCLUSION
This project presents a metal detecting robot using RF communication with wireless audio and video transmission and it is designed and implemented with Atmel 89C51 MCU in embedded system domain. The robot is moved in particular direction using switches and the images are captured along with the audio and images are watched on the television .Experimental work has been carried out carefully. The result shows that higher efficiency is indeed achieved using the embedded system. The proposed method is verified to be highly beneficial for the security purpose and industrial purpose. The mine sensor worked at a constant speed without any problem despite its extension, meeting the specification required for the mine detection sensor. It contributed to the improvement of detection rate, while enhancing the operability as evidenced by completion of all the detection work as scheduled. The tests demonstrated that the robot would not pose any performance problem for installation of the mine detection sensor. On the other hand, however, the tests also clearly indicated areas where improvement, modification, specification change and additional features to the robot are required to serve better for the intended purpose. Valuable data and hints were obtained in connection with such issues as control method with the mine detection robot tilted, merits and drawbacks of mounting the sensor, cost, handling the cable between the robot and support vehicle, maintainability, serviceability and easiness of adjustments. These issues became identified as a result of our engineers conducting both
xli
the domestic tests and the overseas tests by themselves, and in this respect the findings were all the more practical.
REFERENCES
Text Books: [1] [2] Raj Kamal, Embedded Systems, Pearson Education Publications, 2007. Mazzidi, 8051 Microcontroller and Embedded Systems, Prentice Hall Publications, 2nd [3] Edition, 2005.
Edwin S.Grosvenor and Morgan Wesson,Alexander Graham Bell: The Life and Times of the Man Who Invented the Telephone , New York, Abrams, 1997.
Magazines: [1] [2] Web portal: [1] [2] [3] www.howstuffworks.com. http://www.atmel.com/dyn/resources/prod_documents/doc0265.pdf. www.intechopen.com/download/pdf/pdfs_id/68.pdf.
xlii
xliii