The proposed work present designing and development of a multipurpose smart robot using cameras, sensor detecting fires, harmful gases, metals, utensils, obstacles, and send information to main location. The proposed system uses machine intelligence to provide immediate response from sensors and the commands given manually or programmed earlier.
The main feature of this robot differentiating it from others is execution of versatile tasks for the old age people and the voice command. This whole robot system works in two modes. Mode one is automatic mode and the other is user controllable mode. In automatic mode programs are done earlier and it will perform accordingly. In controllable mode it can be controlled by internet using BLUETOOTH. It works on voice command; it will respond accordingly with the voice and will perform the specific job. By default, robot works in automatic mode in which all sensors like human detecting sensor, temperature sensor, gas detecting sensor, metal detecting sensor, obstacle detecting sensors are functional for automatic action. User could watch the surroundings through camera built in the robot and gives directions to change the path accordingly.
Keywords: Sensors, Servo motors, DC motors, Arduino, bluetooth module.
LIST OF TABLES
Table No. Table Name Page No.
Table no. 3.1 Pin Details of Arduino Uno 05
Table no. 3.2 Pin description of HC- 05 08
Table no. 3.3 Pin description of L293N 12
Table no. 3.6.1 Pin description of 7805 15’
LIST OF FIGURES
Figure No. Figure Name Page No.
Figure 2.1 Proteus Design Suite 3
Figure 3.2 HC-05 7
Figure 3.3.1 Servo Motor 9
Figure 3.3.2 DC Motor 9
Figure 3.4.1 L293n 11
Figure 3.4.2 L293n pin diagram 12
Figure 3.4.3 l293n pin description 12
Figure 3.5.1 DPDT 14
Figure 3.6.1 7804 14
Figure 3.7.1 Capacitor 15
Figure 3.8.1 Resistor 16
Figure 3.9.1 LED 17
Figure 5.2 Robot Model 19
Figure 6.1.1 Leg program 21
Figure 6.1.2 Waist program 22
Figure 6.2.1 Lower Half 23
Figure 6.2.2 Bottom Motors 23
List of Abbreviations
RS: Register Select
A/d: Analog to Digital Converter
DPDT Double pole double throw
TABLE OF CONTENTS
List of Figures iii
List of Tables iv
List of Abbreviations v
CHAPTER 1: Profile of the problem 1
CHAPTER 2: EXISTING SYSTEM 2-3
2.1 Introduction 2
2.2 Existing software 2
2.3 What is new our system 3
CHAPTER 3: PRODUCT DEFINATION 4-17
3.1 Arduino Uno 4
3.2 HC-05 Bluetooth module 6
3.3 Motors 8
3.4 L293n 10
3.5 DPDT 13
3.6 7805 Voltage regulator 14
3.7 Capacitor 14
3.8 Resistor 16
3.9 Led 17
CHAPTER 4: Software Required 18-20
4.1 Arduino Uno 18
4.2 Proteus 728 Design 18
CHAPTER 5: Design 19
5.1 System design 19
5.2 Detailed design 19
CHAPTER 6: Testing 20-24
6.1 Testing strategy 20
6.2 Structural testing 22
6.3 Testing result 23
CHAPTER 7: Implementation 25-26
7.1 Implementation 24
7.2 Conversion plan 24
7.3 Post implementation and software maintenance 25
CHAPTER 8: Project legacy 25-26
8.1 Current status of project 25
8.2 Remaining areas of concern 25
8.3 Technical and managerial lessons learnt 26
1. Profile of the Problem
The increase in the development of technology and the human race, we failed to take care our own parents and the old age people. So this autonomous robot will help in taking care of the old age people and it is voice controllable. The major problem was the waist movement and the pick and place functioning. A robot who can take care of them in the absence of the other family members and perform the basic works as the old age people need for e.g., it can reminds the people to take medicine time to time, can fetch a glass of water, can pick and place the things, can check the heart beat time to time, can protect them from hazardous gases, can open the door and the most important thing it can stay with the old people for long period of time without getting annoyed and perform each and every work.
2. Existing Systems
At present we have a robot which is voice controllable it can move freely to any place. It can go on any inclination. It acts like a real robot. Its best utilization is that it can pick and place the things, can check the heart beat time to time, can protect them from hazardous gases, in any hazardous environment.
The increase in the development of technology and the human race, we failed to take care our own parents and the old age people. So we are trying to fulfill their need by not the human power but the ROBOT. A robot who can take care of them in the absence of the other family members and perform the basic works as the old age people need for e.g., it can reminds the people to take medicine time to time, can fetch a glass of water, can pick and place the things, can check the heart beat time to time, can protect them from hazardous gases, can open the door and the most important thing it can stay with the old people for long period of time without getting annoyed and perform each and every work.
2.2 Existing Software
Various softwares are available on internet and research fields on which such existing systems can be implemented. Different software which is being used is:
It is development tools for the 8051 Microcontroller Architecture support every level of software developer from the professional applications engineer to the student just learning about embedded software development.
It is best simulation software for various designs with microcontroller. It is mainly popular because of availability of almost all microcontrollers in it. So it is a handy tool to test programs and embedded designs for electronics hobbyist. You can simulate your programming of microcontroller in Proteus 8 Simulation Software. After simulating your circui in Proteus 8 Software you can directly make PCB design with it so it could be a all in one package for students and hobbyists. So I think now you have a little bit idea about what is proteus software.
2.3 What’s New in Our System?
Basically in existing system we have dc motors, servo motors and a Bluetooth module which is named as HC-05 and it performs the basic functions of the movement from one place to another along with the waist movement. Here is in our system we give a prototype of human robot. we use l298n motor driver, arduino uno board, resistance, connectors, power supply. We give a simplified model of a robot which is not bulky and not too costly. The prototype can pick and place the things, can check the heart beat time to time, can protect them from hazardous gases, can open the door and the most important thing it can stay with the old people for long period of time without getting annoyed and perform each and every work.
3 Product Definition
Basically we are using a controller ARDUINO UNO board as a center part of project. This arduino uno board consists of ATmega328P and comprises of both analog and digital output pins. DC motors aligned at the bottom of it which is controlled through the program via voice command. We are using 4 dc motors for the movement. Servo motors plays a major role in the movement of any part. All the movement including waist movement, hand movement neck movement can be done through the servo motor. The power required by the arduino to run is 5v. Dc motor can run on 12v 1Amp current whereas servo motor requires 7v-10v for better performance.
3.1 Arduino Uno
Table-3.1.1 Arduino Uno
The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, 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. The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial converter.
“Uno” means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions of Arduno, moving forward. The Uno is the latest in a series of USB Arduino boards.
The Arduino Uno can be powered via the USB connection or with an external power supply. The power source is selected automatically.
External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board’s power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.
The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows: VIN. The input voltage to the Arduino board when it’s using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin. ‘ 5V. The regulated power supply used to power the microcontroller and other components on the board. This can come either from VIN via an on-board regulator, or be supplied by USB or another regulated 5V supply. ‘ 3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA. ‘ GND. Ground pins.
3.1.2 TECHNICAL SPECIFICATION
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB of which 0.5 KB used by boot loader
SRAM 2 KB EEPROM 1 KB Clock Speed 16 MHz
3.2 HC-05 Bluetooth module
3.2.2 Hardware Features
‘ Typical -80dBm sensitivity
‘ Up to +4dBm RF transmit power
‘ Low Power 1.8V Operation ,1.8 to 3.6V I/O
‘ PIO control
‘ UART interface with programmable baud rate
‘ With integrated antenna
‘ With edge connector
Table-3.2.3 HC-05 Pin description
3.2.4 Software Features
‘ Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control: has. Supported baud rate: 9600,19200,38400,57600,115200,230400,460800.
‘ Given a rising pulse in PIO0, device will be disconnected.
‘ Status instruction port PIO1: low-disconnected, high-connected;
‘ PIO10 and PIO11 can be connected to red and blue led separately. When master and slave are paired, red and blue led blinks 1 time/2s in interval, while disconnected only blue led blinks 2 times/s.
‘ Auto-connect to the last device on power as default.
‘ Permit pairing device to connect as default.
‘ Auto-pairing PINCODE:’0000’ as default
‘ Auto-reconnect in 30 min when disconnected as a result of beyond the range of connection
Fig-3.3.1 Servo Motor Fig-3.3.2 Dc motor
A servomotor is a specific type of motor that is combined with a rotary encoder or a potentiometer to form a servomechanism. This assembly may in turn form part of another servomechanism. A potentiometer provides a simple analog signal to indicate position, while an encoder provides position and usually speed feedback, which by the use of a PID controller allow more precise control of position and thus faster achievement of a stable position (for a given motor power). Potentiometers are subject to drift when the temperature changes whereas encoders are more stable and accurate.
Servomotors are used for both high-end and low-end applications. On the high end are precision industrial components that use a rotary encoder. On the low end are inexpensive radio control servos (RC servos) used in radio-controlled models which use a free-running motor and a simple potentiometer position sensor with an embedded controller. The term servomotor generally refers to a high-end industrial component while the term servo is most often used to describe the inexpensive devices that employ a potentiometer. Stepper motors are not considered to be servomotors, although they too are used to construct larger servomechanisms. Stepper motors have inherent angular positioning, owing to their construction, and this is generally used in an open-loop manner without feedback. They are generally used for medium-precision applications.
RC servos are used to provide actuation for various mechanical systems such as the steering of a car, the control surfaces on a plane, or the rudder of a boat. Due to their affordability, reliability, and simplicity of control by microprocessors, they are often used in small-scale robotics applications. A standard RC receiver (or a microcontroller) sends pulse-width modulation (PWM) signals to the servo. The electronics inside the servo translate the width of the pulse into a position. When the servo is commanded to rotate, the motor is powered until the potentiometer reaches the value corresponding to the commanded position.
This is essentially an upgraded version of the famous to werpro MG995 servo. It now has a redesigned PCB and IC control system which makes it far more accurate. Its internal gearing and motor are also upgraded to improve dead bandwidth and centering.
All specifications are the same as the previous model MG995, however this servo is far more accurate, and safe to use in aircraft which require precise servo movements and perfect centering.
Stall torque 10kg/cm
Operating speed 0.20sec/60 degree(4.8v)
Operating voltage 4.8-7.2V
Temperature range 0_55
Servo Plug: JR (Fits JR and Futaba)
A servomechanism, sometimes shortened to servo, is an automatic device that uses error-sensing negative feedback to correct the performance of a mechanism and is defined by its function. It usually includes a built-in encoder. A servomechanism is sometimes called aheterostat since it controls a system’s behavior by means of heterostasis.
A common type of servo provides position control. Servos are commonly electrical or partially electronic in nature, using an electric motor as the primary means of creating mechanical force. Other types of servos use hydraulics, pneumatics, or magnetic principles. Servos operate on the principle of negative feedback, where the control input is compared to the actual position of the mechanical system as measured by some sort of transducer at the output. Any difference between the actual and wanted values (an “error signal”) is amplified (and converted) and used to drive the system in the direction necessary to reduce or eliminate the error. This procedure is one widely used application of control theory.
Speed control via a governor is another type of servomechanism. The steam engine uses mechanical governors; another early application was to govern the speed of water wheels. Prior to World War II the constant speed propeller was developed to control engine speed for manoeuvring aircraft. Fuel controls for gas turbine engines employ either hydro mechanical or electronic governing.
Fig-3.4.2 Pin diagram
Table-3.4.3 Pin description
L293N is a Motor driver integrated circuit which is used to drive DC motors rotating in either direction. It is a 16-pin IC which can control a set of two DC motors simultaneously. The L293D uses 5V for its own power and external power source is needed to drive the motors, which can be up to 36V and draw up to 600mA
The L293N works on the concept of typical H-bridge, a circuit which allows the high voltage to be flown in either direction. In a single L293N IC there are two H-bridge circuits which can rotate two DC motors independently. Due to its size and voltage requirement, it is frequently used in robotics applications for controlling DC motors, including in Arduino projects. The L293N is also a key component in larger ‘motor driver’ boards available premade for hobbyists.
3.4.4 Working of L293N
There are two drive pins on L293N. Pin 1 (left H-bridge) and pin 9 (right H-bridge). To turn ON the corresponding motor, pin 1 or 9 need to be set to HIGH. If either pin 1 or pin 9 goes low then the motor in the corresponding section will go OFF (high impedance). These inputs (1 and 9) are the ones that should be used to control motor START/STOP and motor speed under PWM, since there would be high impedance output during low semiperiod of PWM, it would not provoke overload of the L293N when the motor is turning. Thus, PWM or motor ON/OFF control should never be input to pins 2, 7, 15, 10, which should only be used to control direction (Clockwise ‘ Counter Clockwise).
The direction-defining four Input pins for the L293N are pin 2 and 7 on the left and pin 15 and 10 on the right as shown on the pin diagram. Left input pins will determine the rotation of motor connected on the left side and right input for motor on the right hand side. The motors are rotated on the basis of the inputs provided at the input pins as LOGIC 1 or LOGIC 0.
3.5 DPDT SWITCH
A Double Pole Double Throw (DPDT) switch is a switch that has 2 inputs and 4 outputs; each input has 2 corresponding outputs that it can connect to. Each of the terminals of a double pole double switch can either be in 1 of 2 positions. This makes the double pole double throw switch a very versatile switch. With 2 inputs, it can connect to 4 different outputs. It can reroute a circuit into 2 different modes of operation. A Double Pole Single Switch is actually two single pole double (SPDT)switches.
Figure-3.5.1 DPDT Switch
3.6 7805 VOLTAGE REGULATOR
7805 is a voltage regulator integrated circuit. It is a member of 78xx series of fixed linear voltage regulator ICs. The voltage source in a circuit may have fluctuations and would not give the fixed voltage output. The voltage regulator IC maintains the output voltage at a constant value. The xx in 78xx indicates the fixed output voltage it is designed to provide. 7805 provides +5V regulated power supply. Capacitors of suitable values can be connected at input and output pins depending upon the respective voltage levels.
Figure 3.6.1 7805 voltage regulators
Pin No. Function Name
1 Input voltage(5V-18V) Input
2 Ground(0V) Ground
3 Regulated output 5V(4.8V-5.2V) Output
Table No.3.6.1 Pin Detail of 7805 voltage regulator
A capacitor is a two-terminal, electrical component. Along with resistor and inductors, they are one of the most fundamental passive components we use. You would have to look very hard to find a circuit which didn’t have a capacitor in it.
A coupling capacitor is a capacitor which is used to couple or link together only the AC signal from one circuit element to another. The capacitor blocks the DC signal from entering the second element and, thus, only passes the AC signal. Coupling capacitors are useful in many types of circuits where AC signals are the desired signals to be output while DC signals are just used for providing power to certain components in the circuit but should not appear in the output. In order to place a capacitor in a circuit for AC coupling, the capacitor is connected in series with the load.
Figure 3.7.1 coupling capacitor
A capacitor is able to block low frequencies, such as DC, and pass high frequencies, such as AC, because it is a reactive device. It responds to different frequencies in different ways. To low frequency signals, it has a very high impedance, or resistance, so low frequency signals are blocked from going through. To high frequency signals, it has a low impedance or resistance, so high frequency signals are passed through easily.
A resistor is passive two-terminal electrical component that implements electrical resistance as a circuit element. Resistors act to reduce current flow, and, at the same time, act to lower voltage levels within circuits. In electronic circuits, resistors are used to limit current flow, to adjust signal levels, bias active elements, and terminate transmission lines among other uses. High-power resistors, that can dissipate many watts of electrical power as heat, may be used as part of motor controls, in power distribution systems, or as test loads for generators. Fixed resistors have resistances that only change slightly with temperature, time or operating voltage. Variable resistors can be used to adjust circuit elements (such as a volume control or a lamp dimmer), or as sensing devices for heat, light, humidity, force, or chemical activity.
Resistors are common elements of electrical networks and electronic circuits and are ubiquitous in electronic equipment. Practical resistors as discrete components can be composed of various compounds and forms. Resistors are also implemented within integrated.
Figure 3.8.1: Resistor
...(download the rest of the essay above)