SlideShare a Scribd company logo
PC Controlled ROBOT
This is the robot whose actions are controlled by pressing
predefined keys over PC.
The controlling signals are passed to robot via USB port of PC and
are received at the serial UART port of the microcontroller
mounted on the robot. For this a USB2TTL converter is used and
serial port drivers (X-CTU, TTL driver software) are installed over
PC.
Overview
PC Controlled Robot
Hardware components required and their purpose:
1. Microcontroller (ATMega8) development board
2. PC with a free USB port and X-CTU software
3. USB2TTL converter
4. DC motor
5. Motor driver IC (L293D)
6. Wheels
7. Power adopter
 Microcontroller (ATMega8) development board: This is the
brain of this robot in which the program is loaded to do the
required functioning and is interfaced with Bluetooth module
and the motor driver to make the system work as required.
 PC with a free USB port and X-CTU
software: This software is used to
send the commands to robot using PC
over its USB Port in ASCII format.
These commands are defined in the
program burnt into microcontroller.
Commands are first operated by
USB2TTL converter which then
passes the commands in serial form
over the microcontroller’s UART
port.
X-CTU Software
 USB2TTL converter: This USB-to-Serial converter module
converts USB signals (3.3 or 5V depending on the jumper
setting) to serial TTL level signals (RX,TX, RTS, CTS, RI,
DTR, DSR and DCD).The TTL signals are available on a
single-row, 0.1" spaced, though-hole solder pads. The TX and
RX signals can also be accessed via a mounted male header.
Please note that this module converts the signals to TTL level
and not to RS232 level.
The intended usage of this module is to directly connect it to
microcontroller’s Rx-Tx lines to interface it with the USB port
of a PC.
USB2TTL Converter
 DC Motor: This motor is controlled with DC voltages and can
move in forward and backward direction according to the
polarity of the voltage applied.
 Motor driver IC (L293D): Microcontrollers can’t supply the
current required by DC motor to run. So, to fulfill this
requirement these motor driver ICs are used.
DC motors with Driver IC
 Power adopter: This is used to give appropriate dc power
supply to microcontroller, driver IC sensors and the other
passive components of the robot.
 Wheels: In it three wheels are employed, two at rear end and one
at front end. Rear wheels are attached with the motors and also
control the steering of robot. Front wheel is the loose steered
wheel which moves in the direction of the pressure applied to it.
Block Diagram:
PC Controlled Robot
Description
For designing this robot, PC is first made to be equipped with
required software (X-CTU, TTL driver, AVR compiler and
burner). X-CTU sends commands in ASCII format which are
received at UART port of microcontroller.
The commands are defined in the program burnt into
microcontroller and on getting the specified command; the
microcontroller sends the appropriate signals to the motor driver
IC which in turn make the motor run in forward or backward
direction or take a turn or to stop.
Programming I/O port of ATMega8:
Each port has three i/o registers associated with it which are
designated as DDRx, PORTx, PINx.
Port Registers in ATMega8
DDRx register:
It stands for data direction register. This register is of 8 bits. Value of this
register decides whether the port will act as input port or as output port.
To make any port as input port, the contents of the associated DDRx
register are made 0x00 and to make any port as output port, the contents
of the associated DDRx register are made 0xff.
PORTx register:
This register is responsible for outputting any data to the port. Data to be
outputted to any port is loaded to the corresponding PORTx register after
making the direction of that port as output.
For example:
To send 0x14 to PORTA:-
DDRA=0xFF;
PORTA=0x14;
PINx register:
This register is responsible for inputting data from any port. Data to be
inputted from any port is taken from the corresponding PINx register
after making the direction of that port as input.
For example:
To get data from PORTB:-
DDRA=0x00;
var=PINB; //’var’ is a character type variable

More Related Content

PPTX
Pc controlled robot
PPTX
Microcontroller lec 2
PDF
PIC microcontroller review
PDF
Programming with PIC microcontroller
PPT
Architecture of 8051 microcontroller))
PPTX
PIC16F877A interfacing with LCD
PDF
Introduction to pic microcontroller
Pc controlled robot
Microcontroller lec 2
PIC microcontroller review
Programming with PIC microcontroller
Architecture of 8051 microcontroller))
PIC16F877A interfacing with LCD
Introduction to pic microcontroller

What's hot (19)

PPTX
PIC 16F877 micro controller by Gaurav raikar
PDF
Pic microcontroller architecture
PPT
PIC 16F877A by PARTHIBAN. S.
PPTX
Architecture of 16C6X
PPTX
Pic microcontroller architecture
PPTX
8051 microcontroller and embedded training (sahil gupta 9068557926)
PPTX
PIC Microcontrollers
PPTX
Atmel and pic microcontroller
PPSX
GSM 1308 MODEM CONTROL USING PIC-16F877A MICROCONTROLLER
PPT
Embedded System
PPTX
Pic16cxx instruction set
PPT
PIC Microcontroller
PDF
PIC CONTROLLERS
PPT
Chp4 introduction to the pic microcontroller copy
DOCX
Applications of 8051 microcontrollers
PPTX
RF based Wireless Robot using 8051 Microcontroller
PDF
174085193 pic-prgm-manual
PPTX
PIC introduction + mapping
PIC 16F877 micro controller by Gaurav raikar
Pic microcontroller architecture
PIC 16F877A by PARTHIBAN. S.
Architecture of 16C6X
Pic microcontroller architecture
8051 microcontroller and embedded training (sahil gupta 9068557926)
PIC Microcontrollers
Atmel and pic microcontroller
GSM 1308 MODEM CONTROL USING PIC-16F877A MICROCONTROLLER
Embedded System
Pic16cxx instruction set
PIC Microcontroller
PIC CONTROLLERS
Chp4 introduction to the pic microcontroller copy
Applications of 8051 microcontrollers
RF based Wireless Robot using 8051 Microcontroller
174085193 pic-prgm-manual
PIC introduction + mapping
Ad

Viewers also liked (20)

DOCX
Bluetooth controlled robot
DOCX
Pankaj project report
PDF
Home Automation using DTMF
DOCX
Arduino dtmf controlled robot
PDF
Smart phone based robotic control for surveillance applications
PDF
Final Report11
PDF
Report
DOCX
Wireless robo Report
DOCX
DTMF BASED MOBILE CONTROLL ROBOT SYSTEM
DOCX
Cell Phone Operated Vehicle
DOC
Final Report
PDF
DTMF based Home Automation System
PDF
Android Operated Wireless Robot Using 8051 MCU
PDF
Home Automation
DOCX
Cell Phone Controlled Home Automation System using DTMF Technology
PDF
Dtmf home automation_report
PPT
Arduino Based Home Automation System with Android and
PDF
Home Automation System using Arduino and Android
PPT
android controlled robot
DOCX
Home automation using dtmf
Bluetooth controlled robot
Pankaj project report
Home Automation using DTMF
Arduino dtmf controlled robot
Smart phone based robotic control for surveillance applications
Final Report11
Report
Wireless robo Report
DTMF BASED MOBILE CONTROLL ROBOT SYSTEM
Cell Phone Operated Vehicle
Final Report
DTMF based Home Automation System
Android Operated Wireless Robot Using 8051 MCU
Home Automation
Cell Phone Controlled Home Automation System using DTMF Technology
Dtmf home automation_report
Arduino Based Home Automation System with Android and
Home Automation System using Arduino and Android
android controlled robot
Home automation using dtmf
Ad

Similar to Pc controlled robot (20)

DOCX
Line follower robot
PDF
IRJET- Explosive Ordinanace Disposal Robot
PDF
Rf controlled pick up and drop robot
PPTX
Fire Fighter Robot with Night Vision Camera (1).pptx
PDF
ACCELEROMETER BASED GESTURE ROBO CAR
DOCX
Mobile controll robot
PPTX
Hand Gesture Controlled Wireless Robot
DOCX
Edge detector robot
PPTX
BATCH 4 ppt presentation.pptx industrial
DOC
Industrial training report of embedded system and robotics
PPTX
RF Controlled Robotic Vehicle With Laser Beam Arrangement
PPTX
WIRELESS GESTURED CONTROLLED ROBOT USING ACCELEROMETER
PDF
Dp31778783
PPTX
MAJOR PROJECT PPT
PPTX
Line Following Robot
PDF
Stepper motor controller using c
PDF
IRJET- Navigation Camp – Bot
PPTX
IoT Based Flood Monitoring and Alerting System for Smart Cities
PPTX
Group no 6
PPTX
Tunnel robot ppt
Line follower robot
IRJET- Explosive Ordinanace Disposal Robot
Rf controlled pick up and drop robot
Fire Fighter Robot with Night Vision Camera (1).pptx
ACCELEROMETER BASED GESTURE ROBO CAR
Mobile controll robot
Hand Gesture Controlled Wireless Robot
Edge detector robot
BATCH 4 ppt presentation.pptx industrial
Industrial training report of embedded system and robotics
RF Controlled Robotic Vehicle With Laser Beam Arrangement
WIRELESS GESTURED CONTROLLED ROBOT USING ACCELEROMETER
Dp31778783
MAJOR PROJECT PPT
Line Following Robot
Stepper motor controller using c
IRJET- Navigation Camp – Bot
IoT Based Flood Monitoring and Alerting System for Smart Cities
Group no 6
Tunnel robot ppt

More from UVSofts Technologies (11)

DOCX
Arduino bluetooth controlled robot
DOCX
Vehicle tracting system
PPTX
GPS based tracking system
PPTX
Password based door locksystem
PPTX
DOCX
Basic standard calculator
DOCX
Password based door locksystem
PPTX
Bluetooth controlled robot
PPTX
Mobile controlled robot
PPTX
Line follower robot
PPTX
Edge detector & avoider robot
Arduino bluetooth controlled robot
Vehicle tracting system
GPS based tracking system
Password based door locksystem
Basic standard calculator
Password based door locksystem
Bluetooth controlled robot
Mobile controlled robot
Line follower robot
Edge detector & avoider robot

Recently uploaded (20)

PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Geodesy 1.pptx...............................................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
PPT on Performance Review to get promotions
DOCX
573137875-Attendance-Management-System-original
PPT
introduction to datamining and warehousing
PDF
Digital Logic Computer Design lecture notes
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Internet of Things (IOT) - A guide to understanding
Geodesy 1.pptx...............................................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT on Performance Review to get promotions
573137875-Attendance-Management-System-original
introduction to datamining and warehousing
Digital Logic Computer Design lecture notes
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Sustainable Sites - Green Building Construction
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Operating System & Kernel Study Guide-1 - converted.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Automation-in-Manufacturing-Chapter-Introduction.pdf

Pc controlled robot

  • 1. PC Controlled ROBOT This is the robot whose actions are controlled by pressing predefined keys over PC. The controlling signals are passed to robot via USB port of PC and are received at the serial UART port of the microcontroller mounted on the robot. For this a USB2TTL converter is used and serial port drivers (X-CTU, TTL driver software) are installed over PC. Overview PC Controlled Robot
  • 2. Hardware components required and their purpose: 1. Microcontroller (ATMega8) development board 2. PC with a free USB port and X-CTU software 3. USB2TTL converter 4. DC motor 5. Motor driver IC (L293D) 6. Wheels 7. Power adopter  Microcontroller (ATMega8) development board: This is the brain of this robot in which the program is loaded to do the required functioning and is interfaced with Bluetooth module and the motor driver to make the system work as required.  PC with a free USB port and X-CTU software: This software is used to send the commands to robot using PC over its USB Port in ASCII format. These commands are defined in the program burnt into microcontroller. Commands are first operated by USB2TTL converter which then passes the commands in serial form over the microcontroller’s UART port. X-CTU Software
  • 3.  USB2TTL converter: This USB-to-Serial converter module converts USB signals (3.3 or 5V depending on the jumper setting) to serial TTL level signals (RX,TX, RTS, CTS, RI, DTR, DSR and DCD).The TTL signals are available on a single-row, 0.1" spaced, though-hole solder pads. The TX and RX signals can also be accessed via a mounted male header. Please note that this module converts the signals to TTL level and not to RS232 level. The intended usage of this module is to directly connect it to microcontroller’s Rx-Tx lines to interface it with the USB port of a PC. USB2TTL Converter  DC Motor: This motor is controlled with DC voltages and can move in forward and backward direction according to the polarity of the voltage applied.  Motor driver IC (L293D): Microcontrollers can’t supply the current required by DC motor to run. So, to fulfill this requirement these motor driver ICs are used.
  • 4. DC motors with Driver IC  Power adopter: This is used to give appropriate dc power supply to microcontroller, driver IC sensors and the other passive components of the robot.  Wheels: In it three wheels are employed, two at rear end and one at front end. Rear wheels are attached with the motors and also control the steering of robot. Front wheel is the loose steered wheel which moves in the direction of the pressure applied to it.
  • 5. Block Diagram: PC Controlled Robot Description For designing this robot, PC is first made to be equipped with required software (X-CTU, TTL driver, AVR compiler and burner). X-CTU sends commands in ASCII format which are received at UART port of microcontroller.
  • 6. The commands are defined in the program burnt into microcontroller and on getting the specified command; the microcontroller sends the appropriate signals to the motor driver IC which in turn make the motor run in forward or backward direction or take a turn or to stop. Programming I/O port of ATMega8: Each port has three i/o registers associated with it which are designated as DDRx, PORTx, PINx. Port Registers in ATMega8
  • 7. DDRx register: It stands for data direction register. This register is of 8 bits. Value of this register decides whether the port will act as input port or as output port. To make any port as input port, the contents of the associated DDRx register are made 0x00 and to make any port as output port, the contents of the associated DDRx register are made 0xff. PORTx register: This register is responsible for outputting any data to the port. Data to be outputted to any port is loaded to the corresponding PORTx register after making the direction of that port as output. For example: To send 0x14 to PORTA:- DDRA=0xFF; PORTA=0x14; PINx register: This register is responsible for inputting data from any port. Data to be inputted from any port is taken from the corresponding PINx register after making the direction of that port as input. For example: To get data from PORTB:- DDRA=0x00; var=PINB; //’var’ is a character type variable