• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Robotic control
 

Robotic control

on

  • 396 views

 

Statistics

Views

Total Views
396
Views on SlideShare
396
Embed Views
0

Actions

Likes
1
Downloads
18
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Robotic control Robotic control Presentation Transcript

    • ROBOTIC CONTROL
    • SOLENOID
    • SPST-RELAY
    • SWITCH TYPES
    • SPDT-RELAY
    • DC MOTOR CONTROL
    • Autonomous Robot1.Power Source2.Sensor3.Controller(Analogy Human Brain)4.Actuator:Motor,Hydraulics,Pnuma- tics etc
    • Block Diagram
    • IR Sensor Ckt Diagram.
    • Sensors UltraSonic SensorIR 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