SlideShare uma empresa Scribd logo
1 de 22
ROBOTIC CONTROL
SOLENOID
SPST-RELAY
SWITCH TYPES
SPDT-RELAY
DC MOTOR CONTROL
Autonomous Robot
1.Power Source
2.Sensor
3.Controller(Analogy Human Brain)
4.Actuator:Motor,Hydraulics,Pnuma-
 tics etc
Block Diagram
IR Sensor Ckt Diagram.
Sensors




                       UltraSonic Sensor
IR Sensor.
Microcontroller/Micro-Processor.




                       Pin-diagram of atmega 16
     Atmega-16
Complier:For writing the code as per
• Requirement:
         » WinAVR software:Open Source.
         » Data Sheet of the Respective
           Microntroller:Open source.
         » Programmer:For embedding the hex file into the
           MuC
         » Serial or paralle Port Cable :For interfacing the
           PC to Muc.
         » Development Board :Which carry the
           Supporting Component required by the MuC.
Steps to go for programming:
How to Write the code and complie:
Window for writing the C-Code.
Algorithm for Movement:
Motor Driving Algo:
Sample Code for Line Follower:
•   #include<avr/io.h>
•   Void main()
•   {
•   DDRA=0x00;                //declaring port A to an input port;
•   DDRB=0xFF;                //declaring port B to an output port
•   PORTA=0xFF;               //setting the default voltage of port A high(Pull up)
•   Unsigned Char c;
•   While(1)
•         {
•           c=PINA;                   //taking input from portA antd storing in variable C
•            if(c==0b11111100)         //if left sonsor =0 and right Sensor=0
•             PORTB=0b00001010;         //left motor =FWD and Right Motor=FWD
•              if(c==0b1111101)        //if left sensor=1 and right sensor=0
•               PORTB=0b00001001; //left motor=BCK & Right motor=FWD
•               if(c==0b11111110)       //if left sensor=0 & right Sensor=1
•                PORTB=0b00000110        //left motor=FWD & Right Motor=BCK
•



•          }
•                                                                                       right sensor left Sensor
•   }                                                                              if (c==11111110)
•                                                                                     PORTB=0b000001 10 ;
•                                                                                                 right motor left motor
Burning the Hex code:




   Programmer Board
At last :Our Line Follower is Ready To
                  use.
Website for Reference:

• www.atmel.com
• www.extremeelectronics.com
• www.ikalogic.com

Mais conteúdo relacionado

Mais procurados

Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_a
Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_aCataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_a
Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_aDien Ha The
 
ADC (Analog to Digital conversion) using LPC 1768
ADC (Analog to Digital conversion) using LPC 1768ADC (Analog to Digital conversion) using LPC 1768
ADC (Analog to Digital conversion) using LPC 1768Omkar Rane
 
SPICE Model of TC7USB221FT(TOSHIBA)
SPICE Model of TC7USB221FT(TOSHIBA)SPICE Model of TC7USB221FT(TOSHIBA)
SPICE Model of TC7USB221FT(TOSHIBA)Tsuyoshi Horigome
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 
Fermator door operator_vvvf3
Fermator door operator_vvvf3Fermator door operator_vvvf3
Fermator door operator_vvvf3alconele
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsCorrado Santoro
 
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dDien Ha The
 

Mais procurados (13)

Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_a
Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_aCataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_a
Cataloge ge 3.control and_automation-31_vat300_e_appendix3_5_rev_a
 
Micro
MicroMicro
Micro
 
ADC (Analog to Digital conversion) using LPC 1768
ADC (Analog to Digital conversion) using LPC 1768ADC (Analog to Digital conversion) using LPC 1768
ADC (Analog to Digital conversion) using LPC 1768
 
3dom
3dom3dom
3dom
 
SPICE Model of TC7USB221WBG
SPICE Model of TC7USB221WBGSPICE Model of TC7USB221WBG
SPICE Model of TC7USB221WBG
 
SPICE Model of TC7USB221FT(TOSHIBA)
SPICE Model of TC7USB221FT(TOSHIBA)SPICE Model of TC7USB221FT(TOSHIBA)
SPICE Model of TC7USB221FT(TOSHIBA)
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Electromagnetic flow meter wiring for output
Electromagnetic flow meter wiring for outputElectromagnetic flow meter wiring for output
Electromagnetic flow meter wiring for output
 
Ports 0f 8051
Ports 0f 8051Ports 0f 8051
Ports 0f 8051
 
Fermator door operator_vvvf3
Fermator door operator_vvvf3Fermator door operator_vvvf3
Fermator door operator_vvvf3
 
Ece221 Ch7 Part1
Ece221 Ch7 Part1Ece221 Ch7 Part1
Ece221 Ch7 Part1
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUs
 
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_dCataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
 

Destaque

Game Based Learning Part Ii
Game Based Learning Part IiGame Based Learning Part Ii
Game Based Learning Part IiKaren Brooks
 
Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Droidcon Eastern Europe
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robotElmo Motion Control
 
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)raj.kamal13
 
Robot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSRobot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSarunjps
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBebe Bilguun
 
Connecting Arduino and Android
Connecting Arduino and AndroidConnecting Arduino and Android
Connecting Arduino and AndroidMichał Tuszyński
 
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotDisha Akash
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinJames Montemagno
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsAlejandro Ruiz Varela
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controllSumit Saini
 
Sensor based motion control of mobile car robot
Sensor based motion control of mobile car robotSensor based motion control of mobile car robot
Sensor based motion control of mobile car robotNaidu P
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsEdgefxkits & Solutions
 
Bluetooth controlled android car
Bluetooth controlled android car Bluetooth controlled android car
Bluetooth controlled android car doaamarzook
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetoothSonam M
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robotSathish Raju
 
Presentation slides of android controlled robot
Presentation slides of android controlled robotPresentation slides of android controlled robot
Presentation slides of android controlled robotankit8743
 

Destaque (20)

Game Based Learning Part Ii
Game Based Learning Part IiGame Based Learning Part Ii
Game Based Learning Part Ii
 
Robotics sensor topic
Robotics sensor topicRobotics sensor topic
Robotics sensor topic
 
Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
 
Android meets Arduino
Android meets ArduinoAndroid meets Arduino
Android meets Arduino
 
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
 
Robot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSRobot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRS
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phone
 
Connecting Arduino and Android
Connecting Arduino and AndroidConnecting Arduino and Android
Connecting Arduino and Android
 
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robot
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarin
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking Robots
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controll
 
Sensor based motion control of mobile car robot
Sensor based motion control of mobile car robotSensor based motion control of mobile car robot
Sensor based motion control of mobile car robot
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applications
 
Image sensor
Image sensorImage sensor
Image sensor
 
Bluetooth controlled android car
Bluetooth controlled android car Bluetooth controlled android car
Bluetooth controlled android car
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetooth
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robot
 
Presentation slides of android controlled robot
Presentation slides of android controlled robotPresentation slides of android controlled robot
Presentation slides of android controlled robot
 

Semelhante a Robotic control

DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfsatyamsinha37
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converterMohamed Ali
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower RobotroboVITics club
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha Patil
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16Ramadan Ramadan
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarGauravRaikar3
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfVikasMahor3
 
Pc based wire less data aquisition system using rf(1)
Pc based wire less data aquisition system using rf(1)Pc based wire less data aquisition system using rf(1)
Pc based wire less data aquisition system using rf(1)Vishalya Dulam
 
Digital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerDigital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerSaylee joshi
 

Semelhante a Robotic control (20)

DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdf
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
 
Edge detector robot
Edge detector robotEdge detector robot
Edge detector robot
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
 
Presentation
PresentationPresentation
Presentation
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu book
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 
Traffic signal design study
Traffic signal design studyTraffic signal design study
Traffic signal design study
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
 
AVRTIMER.pptx
AVRTIMER.pptxAVRTIMER.pptx
AVRTIMER.pptx
 
Pc based wire less data aquisition system using rf(1)
Pc based wire less data aquisition system using rf(1)Pc based wire less data aquisition system using rf(1)
Pc based wire less data aquisition system using rf(1)
 
Digital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerDigital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontroller
 
Question Bank Programmable Logic Controller
Question Bank Programmable Logic ControllerQuestion Bank Programmable Logic Controller
Question Bank Programmable Logic Controller
 
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 

Robotic control