SlideShare a Scribd company logo
1 of 38
Autonomous RC Car
Using GPS
Members:
Gholamhosseinpour, Ali
Nouripayam, Masoud
Arutshyan , Nonna
Enohnyaket, John Ako
Hosseini, Seyed Alireza
June 1st 2012
1
Table of Content
- Introduction
- Project components
- Schematic and PCB design
- Main Program Algorithm
- Test & result
- Conclusion
2
Introduction
The aim of this project is to control an autonomous RC (Remote Control) car
using GPS systems. The challenge of this project is to use the RC car and
control it autonomously.
An autonomous car is a self-driving car capable of sensing the world with
different techniques plus navigating to a destination without involving human
although human may set destination. In smaller scale like this project RC car
can be used.
This RC car gets destination coordinate from a user, identify its current
position, after calculating which path and direction should be taken navigates
itself from the source to destination in an open environment.
while it’s possible to face obstacles it is capable of detecting them, change its
current path to a new one and continues its way until destination has been
reached.
3
Introduction
In order for a RC car to meet defined objectives, different components and
modules must be interconnected and cooperate with each other which will be
explained in the following parts.
- The Atmega 1281 microcontroller was chosen because it is cheap and
also has the capabilities to process multiple data which is suitable for this
purpose and its flexibilities to be adopted in wide range of applications.
- For sensing the environment ultrasonic sensor was chosen which can
detect obstacles within 5.5 meters range
- For navigation part a Magnetometer used to define the car direction while
a GPS showing car positions with the capability of sending data every one
second.
4
Project
components
5
Project components
- RC Car with 2 DC motors
- Microcontrollers: AVR Atmega1281, AT tiny 2313.
- GPS: Holux GR-213.
- RS232 interface converter: MAX232CPE
- UltraSonic Sensor Module: SRF08.
- CMPS10 - Tilt Compensated Compass Module
- 16x2 Character LCD Display Module HD44780 Controller
- 16 key matrix keypad.
- Futaba S3003 Servo.
- IRF 830APBF N-channel MOSFET.
- Gate driver
6
Project Components
RC car with 2 DC motors
Microcontrollers:
AVR Atmega1281, AT tiny 2313
- Front dc motor used for turning the car, controls front wheels
- Back dc motor used for moving car, controls back wheels
- PWM (Pulse Width Modulation) is used to control motor
- PWM signal with fixed frequency in 200H and variable of duty
cycle of 60-100%
- Atmega1281 used for main program and it runs all necessary drivers
- Attiny2313 runs driver for GPS and sends coordinates out by UART
7
Project Components
RS232 interface converter:
MAX232CPE
- converts signals from an RS-232 serial port to
signals suitable for use in digital logic circuits
- Provides 6 tags of different information
- Coordinates provided in MinDec format
- Driver extracts coordinates and heading from
$GPGGA and $GPVTG tags respectively
GPS:
Holux GR-213
8
Project Components
UltraSonic Sensor Module:
SRF08
- 3-axis magnetometer and a 3-axis accelerometer
- produces a result of 0-3599 representing 0-359.9 in
degrees
- Works with I2C
- Keeps information in degrees in registers 0x02 and 0x03
- Physically able to see obstacle up to 6 metre
- Returns distance from obstacle in cm
- Returns 0, if there is no obstacle
- Works with I2C
- Keeps distance value in registers 0x02 and 0x03
- Was used 2 sonars, one for checking in front of the char,
other for sides
Tilt Compensated Compass Module:
CMPS10
9
Project Components
LCD Display Module HD44780 Controller
16 key matrix keypad
- 16x2 LCD display
- Shows 8 character per line
- Driver gives possibility to write single char,
string and integer on LCD
10
Project Components
Futaba S3003 Servo motor
- Used for fixing sonar in different direction
for checking sides of car
- PWM (Pulse Width Modulation) is used to
control motor
11
Project Components
Schematic
and
PCB design
12
Schematic and PCB design
- Main Board
- ATmega1281
- Attiny2313
- MAX232 circuit
- Oscillator circuit
- Global reset circuit
- Supporting circuits
- Power Board
- H-bridges
- Gate Drivers
- Voltage regulator cricuits
13
Main Board schematic
14
Schematic and PCB design
ATtiny2313 microcontroller connections
schematic
15
Schematic and PCB design
MAX232 connections schematic
16
Schematic and PCB design
Power Board schematic
17
Schematic and PCB design
H-Bridge schematic
18
Schematic and PCB design
Gate Driver schematic
19
Schematic and PCB design
Main Board PCB
20
Schematic and PCB design
Power Board PCB
21
Schematic and PCB design
Final Product
22
Schematic and PCB design
Final Product
23
Schematic and PCB design
Main Program
Algorithm
24
Main Program Algorithm
Two major modules of main program:
- Positioning module
- Obstacle Detection / Driving module
25
Program Algorithms
Positioning Module algorithm
Major points of positioning module:
- Inputing the Destination coordination
- Getting Source coordination by GPS
- Returning Distance to destination
- Retuning Direction and angle
26
Program Algorithms
Obstacle Detection and Driving module
27
Program Algorithms
Obstacle Detection and Driving module
Major points in this module:
- Outputs of positioning module as inputs in this module:
- Distance
- Angle (Direction)
- Defining the car speed with respect to each specific situation
- Information from ultrasonic sensors:
- Detecting the obstacle
- Distance to obstacle
28
Program Algorithms
Possible situations and actions for obstacle
avoidance
There are three different situations and respectively three
different actions to be taken in order to avoid obstacles:
- (A) No detected obstacle by front sensor
- (B) Car in 200 to 600 cm distance to detected obstacle
- (C) Car in less than 200 cm distance to detected obstacle
29
Program Algorithms
(A) No detected obstacle by front sensor
Moving car with:
- Destination angle as Direction angle
- Previous specified speed
30
Program Algorithms
(B) Car in 200-600 cm
distance
to detected obstacle
Moving car with:
- Reducing speed by 10%
- Checking the ‘Destination angle’
- Turning to left/right or taking the
‘Destination Angle’ as ‘Direction
Angle’
31
Program Algorithms
- Stopping the car
- Turn the servo-mounted ultrasonic sensor
with respect to ‘Destination Angle’
- Take the free way as ‘Direction Angle’
- Move the car by 10% speed reduction from
maximum speed of the car
(C) Car in 200 cm distance
to detected obstacle
32
Program Algorithms
Car routing loop
- Going in a loop to positioning
module again after each
‘Obstacle detection / Driving’
instance
- Checking the loop to see
whether the destination has
been reached
33
Program Algorithms
Test
and
results
34
Test and results
The system and its functionality has been tested in these areas:
- Sub systems electrical and logical test
- Compatibility issue test for the whole system
And the following issues came into existence as being challenging or
problematic in the car efficiency functioning:
- ultrasonic installation angle
- strong electromagnetic interference with Magnetometer performance
- GPS drawback
- Battery power insufficiency
35
Test and Results
Conclusion
36
Conclusion
- System functionality:
- Navigation
- Ultrasonic sensor
- Physical car limitation
- System dependency on direction
- Time constraint
37
Conclusion
Thanks for
your Consideration
38

More Related Content

What's hot

Google Driverless Cars
Google Driverless Cars Google Driverless Cars
Google Driverless Cars Gopikrishna VM
 
Lifi based automation of toll gate
Lifi based automation of toll gateLifi based automation of toll gate
Lifi based automation of toll gateSachin MS
 
Presentation automatic speed controller
Presentation automatic speed controllerPresentation automatic speed controller
Presentation automatic speed controllerVikrant Verma
 
Autonomous car
Autonomous carAutonomous car
Autonomous carAnil kale
 
Traffic laws, rules and regulation
Traffic laws, rules and regulationTraffic laws, rules and regulation
Traffic laws, rules and regulationDannica Agbayani
 
Electric Vehicle-The Future of transportation
Electric Vehicle-The Future of transportationElectric Vehicle-The Future of transportation
Electric Vehicle-The Future of transportationTHINK WITH NICHE
 
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET Journal
 
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptx
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptxJOSHUA SEMINAR FINAL (ADAS) (4) (2).pptx
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptxFREDYJoy2
 
E-Scooter sharing solutions 20180930
E-Scooter sharing solutions  20180930E-Scooter sharing solutions  20180930
E-Scooter sharing solutions 20180930AndersonChan10
 
Real time Driverless vehicles
Real time Driverless vehiclesReal time Driverless vehicles
Real time Driverless vehiclesram rawat
 
Autonomous or self driving cars
Autonomous or self driving carsAutonomous or self driving cars
Autonomous or self driving carsSandeep Nayak
 
Design of Lane Keeping Assist
Design of Lane Keeping AssistDesign of Lane Keeping Assist
Design of Lane Keeping Assistssuserd30ca11
 

What's hot (18)

Google Driverless Cars
Google Driverless Cars Google Driverless Cars
Google Driverless Cars
 
Robot cars
Robot carsRobot cars
Robot cars
 
Lifi based automation of toll gate
Lifi based automation of toll gateLifi based automation of toll gate
Lifi based automation of toll gate
 
Presentation automatic speed controller
Presentation automatic speed controllerPresentation automatic speed controller
Presentation automatic speed controller
 
Autonomous car
Autonomous carAutonomous car
Autonomous car
 
Traffic laws, rules and regulation
Traffic laws, rules and regulationTraffic laws, rules and regulation
Traffic laws, rules and regulation
 
Autonomous car
Autonomous carAutonomous car
Autonomous car
 
Electric Vehicle-The Future of transportation
Electric Vehicle-The Future of transportationElectric Vehicle-The Future of transportation
Electric Vehicle-The Future of transportation
 
Autonomous vehicle
Autonomous vehicleAutonomous vehicle
Autonomous vehicle
 
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using Arduino
 
Self driving car
Self driving carSelf driving car
Self driving car
 
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptx
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptxJOSHUA SEMINAR FINAL (ADAS) (4) (2).pptx
JOSHUA SEMINAR FINAL (ADAS) (4) (2).pptx
 
E-Scooter sharing solutions 20180930
E-Scooter sharing solutions  20180930E-Scooter sharing solutions  20180930
E-Scooter sharing solutions 20180930
 
Adaptive cruise control acc
Adaptive cruise control accAdaptive cruise control acc
Adaptive cruise control acc
 
Real time Driverless vehicles
Real time Driverless vehiclesReal time Driverless vehicles
Real time Driverless vehicles
 
Autonomous or self driving cars
Autonomous or self driving carsAutonomous or self driving cars
Autonomous or self driving cars
 
Design of Lane Keeping Assist
Design of Lane Keeping AssistDesign of Lane Keeping Assist
Design of Lane Keeping Assist
 
Autonomous vehicles
Autonomous vehiclesAutonomous vehicles
Autonomous vehicles
 

Similar to Autonomous RC car using gps

DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdf
DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdfDESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdf
DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdfASEPRIZKIFIRDAUS1
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management systemEcway Technologies
 
Improving safety with obstacle detection and track following car using sensor...
Improving safety with obstacle detection and track following car using sensor...Improving safety with obstacle detection and track following car using sensor...
Improving safety with obstacle detection and track following car using sensor...eSAT Publishing House
 
Adaptivecruisecontrolsystem 140429150505-ppt
Adaptivecruisecontrolsystem 140429150505-pptAdaptivecruisecontrolsystem 140429150505-ppt
Adaptivecruisecontrolsystem 140429150505-pptswamyRishi
 
Adaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RAdaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RNikhil Kashyap
 
Microcontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerMicrocontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerNexus
 
Final Slot Car Report
Final Slot Car ReportFinal Slot Car Report
Final Slot Car ReportKyle Avery
 
Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd Iaetsd
 
Automatic gate control
Automatic gate controlAutomatic gate control
Automatic gate controlDipankar Haloi
 
IRJET - Construction of "One Belt and One Road" Intelligent Analysis System
IRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis SystemIRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis System
IRJET - Construction of "One Belt and One Road" Intelligent Analysis SystemIRJET Journal
 
cers_jack_nur_2016
cers_jack_nur_2016cers_jack_nur_2016
cers_jack_nur_2016Jack Yuan
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOPulkit Singhal
 
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry PiTCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry PiIRJET Journal
 
automatic railway gate control system using arduino
automatic railway gate control system using arduinoautomatic railway gate control system using arduino
automatic railway gate control system using arduinoantivirusspam
 
autonomousvehicles-161212101224-converted.pptx
autonomousvehicles-161212101224-converted.pptxautonomousvehicles-161212101224-converted.pptx
autonomousvehicles-161212101224-converted.pptxhuzefa ansari
 
Mini project review 2 ppt gps[1].pdf
Mini project review 2 ppt gps[1].pdfMini project review 2 ppt gps[1].pdf
Mini project review 2 ppt gps[1].pdfVaishnaviRavella
 

Similar to Autonomous RC car using gps (20)

project report
project reportproject report
project report
 
Gesture_control_car.pptx
Gesture_control_car.pptxGesture_control_car.pptx
Gesture_control_car.pptx
 
Final Slot Car Report
Final Slot Car ReportFinal Slot Car Report
Final Slot Car Report
 
DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdf
DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdfDESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdf
DESIGN OF AUTOMATIC DOORLOCK CONTROL SYSTEM.pdf
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management system
 
Improving safety with obstacle detection and track following car using sensor...
Improving safety with obstacle detection and track following car using sensor...Improving safety with obstacle detection and track following car using sensor...
Improving safety with obstacle detection and track following car using sensor...
 
Adaptivecruisecontrolsystem 140429150505-ppt
Adaptivecruisecontrolsystem 140429150505-pptAdaptivecruisecontrolsystem 140429150505-ppt
Adaptivecruisecontrolsystem 140429150505-ppt
 
Adaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL RAdaptive cruise control system by NIKHIL R
Adaptive cruise control system by NIKHIL R
 
Microcontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerMicrocontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum Odometer
 
Final Slot Car Report
Final Slot Car ReportFinal Slot Car Report
Final Slot Car Report
 
Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5
 
Automatic gate control
Automatic gate controlAutomatic gate control
Automatic gate control
 
IRJET - Construction of "One Belt and One Road" Intelligent Analysis System
IRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis SystemIRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis System
IRJET - Construction of "One Belt and One Road" Intelligent Analysis System
 
cers_jack_nur_2016
cers_jack_nur_2016cers_jack_nur_2016
cers_jack_nur_2016
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNO
 
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry PiTCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
TCP/IP Protocol Based Adaptive Cruise Control using Raspberry Pi
 
automatic railway gate control system using arduino
automatic railway gate control system using arduinoautomatic railway gate control system using arduino
automatic railway gate control system using arduino
 
autonomousvehicles-161212101224-converted.pptx
autonomousvehicles-161212101224-converted.pptxautonomousvehicles-161212101224-converted.pptx
autonomousvehicles-161212101224-converted.pptx
 
DIGITAL FARE METER
DIGITAL FARE METERDIGITAL FARE METER
DIGITAL FARE METER
 
Mini project review 2 ppt gps[1].pdf
Mini project review 2 ppt gps[1].pdfMini project review 2 ppt gps[1].pdf
Mini project review 2 ppt gps[1].pdf
 

Recently uploaded

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxsomshekarkn64
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptx
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 

Autonomous RC car using gps

  • 1. Autonomous RC Car Using GPS Members: Gholamhosseinpour, Ali Nouripayam, Masoud Arutshyan , Nonna Enohnyaket, John Ako Hosseini, Seyed Alireza June 1st 2012 1
  • 2. Table of Content - Introduction - Project components - Schematic and PCB design - Main Program Algorithm - Test & result - Conclusion 2
  • 3. Introduction The aim of this project is to control an autonomous RC (Remote Control) car using GPS systems. The challenge of this project is to use the RC car and control it autonomously. An autonomous car is a self-driving car capable of sensing the world with different techniques plus navigating to a destination without involving human although human may set destination. In smaller scale like this project RC car can be used. This RC car gets destination coordinate from a user, identify its current position, after calculating which path and direction should be taken navigates itself from the source to destination in an open environment. while it’s possible to face obstacles it is capable of detecting them, change its current path to a new one and continues its way until destination has been reached. 3
  • 4. Introduction In order for a RC car to meet defined objectives, different components and modules must be interconnected and cooperate with each other which will be explained in the following parts. - The Atmega 1281 microcontroller was chosen because it is cheap and also has the capabilities to process multiple data which is suitable for this purpose and its flexibilities to be adopted in wide range of applications. - For sensing the environment ultrasonic sensor was chosen which can detect obstacles within 5.5 meters range - For navigation part a Magnetometer used to define the car direction while a GPS showing car positions with the capability of sending data every one second. 4
  • 6. Project components - RC Car with 2 DC motors - Microcontrollers: AVR Atmega1281, AT tiny 2313. - GPS: Holux GR-213. - RS232 interface converter: MAX232CPE - UltraSonic Sensor Module: SRF08. - CMPS10 - Tilt Compensated Compass Module - 16x2 Character LCD Display Module HD44780 Controller - 16 key matrix keypad. - Futaba S3003 Servo. - IRF 830APBF N-channel MOSFET. - Gate driver 6 Project Components
  • 7. RC car with 2 DC motors Microcontrollers: AVR Atmega1281, AT tiny 2313 - Front dc motor used for turning the car, controls front wheels - Back dc motor used for moving car, controls back wheels - PWM (Pulse Width Modulation) is used to control motor - PWM signal with fixed frequency in 200H and variable of duty cycle of 60-100% - Atmega1281 used for main program and it runs all necessary drivers - Attiny2313 runs driver for GPS and sends coordinates out by UART 7 Project Components
  • 8. RS232 interface converter: MAX232CPE - converts signals from an RS-232 serial port to signals suitable for use in digital logic circuits - Provides 6 tags of different information - Coordinates provided in MinDec format - Driver extracts coordinates and heading from $GPGGA and $GPVTG tags respectively GPS: Holux GR-213 8 Project Components
  • 9. UltraSonic Sensor Module: SRF08 - 3-axis magnetometer and a 3-axis accelerometer - produces a result of 0-3599 representing 0-359.9 in degrees - Works with I2C - Keeps information in degrees in registers 0x02 and 0x03 - Physically able to see obstacle up to 6 metre - Returns distance from obstacle in cm - Returns 0, if there is no obstacle - Works with I2C - Keeps distance value in registers 0x02 and 0x03 - Was used 2 sonars, one for checking in front of the char, other for sides Tilt Compensated Compass Module: CMPS10 9 Project Components
  • 10. LCD Display Module HD44780 Controller 16 key matrix keypad - 16x2 LCD display - Shows 8 character per line - Driver gives possibility to write single char, string and integer on LCD 10 Project Components
  • 11. Futaba S3003 Servo motor - Used for fixing sonar in different direction for checking sides of car - PWM (Pulse Width Modulation) is used to control motor 11 Project Components
  • 13. Schematic and PCB design - Main Board - ATmega1281 - Attiny2313 - MAX232 circuit - Oscillator circuit - Global reset circuit - Supporting circuits - Power Board - H-bridges - Gate Drivers - Voltage regulator cricuits 13
  • 20. Main Board PCB 20 Schematic and PCB design
  • 25. Main Program Algorithm Two major modules of main program: - Positioning module - Obstacle Detection / Driving module 25 Program Algorithms
  • 26. Positioning Module algorithm Major points of positioning module: - Inputing the Destination coordination - Getting Source coordination by GPS - Returning Distance to destination - Retuning Direction and angle 26 Program Algorithms
  • 27. Obstacle Detection and Driving module 27 Program Algorithms
  • 28. Obstacle Detection and Driving module Major points in this module: - Outputs of positioning module as inputs in this module: - Distance - Angle (Direction) - Defining the car speed with respect to each specific situation - Information from ultrasonic sensors: - Detecting the obstacle - Distance to obstacle 28 Program Algorithms
  • 29. Possible situations and actions for obstacle avoidance There are three different situations and respectively three different actions to be taken in order to avoid obstacles: - (A) No detected obstacle by front sensor - (B) Car in 200 to 600 cm distance to detected obstacle - (C) Car in less than 200 cm distance to detected obstacle 29 Program Algorithms
  • 30. (A) No detected obstacle by front sensor Moving car with: - Destination angle as Direction angle - Previous specified speed 30 Program Algorithms
  • 31. (B) Car in 200-600 cm distance to detected obstacle Moving car with: - Reducing speed by 10% - Checking the ‘Destination angle’ - Turning to left/right or taking the ‘Destination Angle’ as ‘Direction Angle’ 31 Program Algorithms
  • 32. - Stopping the car - Turn the servo-mounted ultrasonic sensor with respect to ‘Destination Angle’ - Take the free way as ‘Direction Angle’ - Move the car by 10% speed reduction from maximum speed of the car (C) Car in 200 cm distance to detected obstacle 32 Program Algorithms
  • 33. Car routing loop - Going in a loop to positioning module again after each ‘Obstacle detection / Driving’ instance - Checking the loop to see whether the destination has been reached 33 Program Algorithms
  • 35. Test and results The system and its functionality has been tested in these areas: - Sub systems electrical and logical test - Compatibility issue test for the whole system And the following issues came into existence as being challenging or problematic in the car efficiency functioning: - ultrasonic installation angle - strong electromagnetic interference with Magnetometer performance - GPS drawback - Battery power insufficiency 35 Test and Results
  • 37. Conclusion - System functionality: - Navigation - Ultrasonic sensor - Physical car limitation - System dependency on direction - Time constraint 37 Conclusion