Mobile Controller Robot using Atmega8
Robot controlled via Mobile/Cellphone with the help of DTMF (Dual Tone Multi Frequency) module is very essential.
Mobile keypad  is used as input control unit of the microcontroller. For controlling the robot, 2 mobile phones are used. One is Connected with robot (it act as call receiver) and another is call sending like remote control.

mobile robot circuit
1. Place one mobile to robot.
2. Connect cell phone audio jag pin to DTMF input jag.
3. Set mobile phone in auto answering mode.
4. Dial that number correctly.
Now the robot can be controlled from receiving call mobile attached circuit and by pressing the calling mobile keypads of command keys through DTMF module is activated the command of the micro controller to run the robot motor drive circuits.
1. Forward = Press Key  2.
2. Backward = Press Key  8.
3. Left = Press Key 4.
4. Right = Press Key  6.
5. Stop = Press Key 5.
Required components.
1. Robot with Atmega8 circuit.
2. AVR Programmer.
3. DTMF Module.
4. Audio cable(Jag to Jag)
cell robot
#include <avr/io.h>
#define F_CPU 16000000UL
#include <util/delay.h>
int main(void)

DDRB=0X0F; //PB0, PB1, PB2, PB3 as output
DDRD=0X00; //PD7, PD6, PD5, PD4 connected to DTMF input bits
int Mobile=0;

while(1) // infinite loop

if(Mobile==0X20) //Key 2 of cell phone pressed
PORTB=0X09; // Forward direction

if(Mobile==0X40) // Key 4 of cell phone pressed
PORTB=0X01; // Turn left


if(Mobile==0X60) // Key 6 of cell phone pressed
PORTB=0X08; // Turn right

if(Mobile==0X80) // Key 8 of cell phone pressed
PORTB=0X06; // Backward Direction

if(Mobile==0X50) // Key 5 of cell phone pressed
PORTB=0X00; //stop
}                     //main closed

About the Author


Hello! My Dear Friends. I am Subramanian. I am writing posts on androiderode about Electronics testing and equipments.

View All Articles