Professional Documents
Culture Documents
e-Yantra Team
Embedded Real-Time Systems Lab
Indian Institute of Technology-Bombay
IIT Bombay
January 12, 2016
Various Motions
Various Motions
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Various Motions
Various Motions
Forward
Various Motions
Forward
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Various Motions
Forward
Various Motions
Forward
Backward
Various Motions
Forward
Backward
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Various Motions
Forward
Backward
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Various Motions
Forward Left
Backward
Various Motions
Forward Left
Backward
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Various Motions
Forward Left
Backward
Various Motions
Forward Left
Backward Right
Various Motions
Forward Left
Backward Right
Soft-Right
Soft-Right
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Soft-Right
Soft-Right
Soft-Left
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Soft-Right
Soft-Left
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Soft-Right
Soft-Left
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Soft-Left
Soft-Left
Outline
Motion of Robot
Basic Movements of Robot
Understanding L293D IC
Motor Interfacing on Firebird
Soft-Left
Anti-Clockwise Motion
Anti-Clockwise Motion
Anti-Clockwise Motion
Clockwise Motion
L293D IC
L293D IC
L293D IC (Contd..)
L293D IC (Contd..)
Logic Table
Logic Table
Direction
Logic Table
Logic Table
Logic Table
Logic Table
Logic Table
Logic Table
Logic Table
Logic Table
Main-Program
Main-Program
int main (void)
{
motion_pin_config ();
while(1)
{
forward();
_delay_ms();
stop();
_delay_ms();
}
}
www.e-yantra.org Firebird ATmega2560 Robotics Research Platform 11/14
Outline Pin connections
Basic Movements of Robot Logic Table
Motor Interfacing on Firebird Writing C-Code
Functions
Functions
void forward (void)
{
PORTA = 0x06;
}
Functions
void forward (void)
{
PORTA = 0x06;
}
1 Backward();
1 Backward();
2 Right();
1 Backward();
2 Right();
3 Left();
1 Backward();
2 Right();
3 Left();
4 Soft Right();
1 Backward();
2 Right();
3 Left();
4 Soft Right();
5 Soft Left();
Thank You!