SlideShare una empresa de Scribd logo
1 de 13
Wireless Video Detection Vehicle In A
Robot Platform With Multiple Functions

Jiabao Jin
ECE student
Colorado State University
Instructor: Sudeep Pasricha
FINAL PROJECT REPORT

Introduction
This project proposed a
mobile platform with video
detection for a robot. This
vehicle can transfer videos to a
computer or a mobile device
and also be controlled by
wireless. The vehicle can avoid
obstacles through its motion
planning programs. The
writer utilizes Arduino Mega
2560 as its microcontroller.
FINAL PROJECT REPORT

Hardware Design

Microcontroller - Arduino Mega 2560

It needs 6.5 V ~ 12 V power and at the same
time it can produces 3.3 V and 5 V power
supplying for other devices or sensors that
are connected to it. There are 54 digital I/Os,
fourteen of which can be used as PWM
output and it is able to hold many devices.
Therefore, it is exceedingly adaptive to build
up a experiment platform. Otherwise, it has
six interruptions that are I/O 2(interruption
0), 3(interruption 1), 18(interruption 2),
19(interruption 3), 20(interruption 4),
21(interruption 5) respectively.
FINAL PROJECT REPORT

Hardware Design

Wireless Camera
FINAL PROJECT REPORT

Hardware Design

Ultrasonic Distance-Detection Sensors

I/O: VCC Trig Echo GND
distance=(sound velocity * time high level lasting)/2.
FINAL PROJECT REPORT

Hardware Design

L298N Control Actuators

Sensor Shield for Arduino
FINAL PROJECT REPORT

Hardware Design
Overall
FINAL PROJECT REPORT

Software Design
Firstly, if there is a human operation, the
microcontroller will choose to execute it
preferentially. Afterwards, it will judge if there
are obstacles or cliff based on the returning
values from the two ultrasonic distance detection
sensors. If yes, it will execute to turn left or turn
right or stop according to the parameter
condition. If no, it forwards. In the situations
without human`s control, it will turn right
preferentially and then forward. There is no
switch on the vehicle.
FINAL PROJECT REPORT

Software Design
Turning Directions

volatile int condition = 0;
void setup()
{
pinMode(31, OUTPUT);
pinMode(32, OUTPUT);
pinMode(33, OUTPUT);
pinMode(34, OUTPUT);
pinMode(48, INPUT);
pinMode(49, INPUT);
}
void turn _left()
{
digitalWrite(33,HIGH);
digitalWrite(34,HIGH);
digitalWrite(31,LOW);
digitalWrite(32,LOW);
analogWrite(5,240);
analogWrite(6,240);
}

Speed Differential Method

void turn_ right()
{
digitalWrite(33,LOW);
digitalWrite(34,LOW);
digitalWrite(31,HIGH);
digitalWrite(32,HIGH);
analogWrite(5,240);
analogWrite(6,240);
}
void stop()
{
digitalWrite(31,LOW);
digitalWrite(32,LOW);
digitalWrite(33,LOW);
digitalWrite(34,LOW);
analogWrite(5,0);
analogWrite(6,0);
}
void forward()
{
digitalWrite(33,HIGH);
digitalWrite(34,HIGH);
digitalWrite(31,HIGH);
digitalWrite(32,HIGH);
analogWrite(5,250);
analogWrite(6,250);
}

void loop()
{
if(digitalRead(2) == LOW || digitalRead(3) == LOW)
{
if(condition == 1)
{
turn _left();
}
else if(condition == 2)
{
turn_ right();
}
else
{
stop();
}}
else
{
condition = 0;
if(digitalRead(49) == 0)
{
forward();
}
else
{
stop();
}}}
FINAL PROJECT REPORT

Software Design

Ultrasonic Distance Detection
tan (90-a) =d/OA
-0.1<=tan(90-a)-distance2/OA<=0.1

digitalWrite(41, LOW);
digitalWrite(43, LOW);
delayMicroseconds(2);
digitalWrite(41, HIGH);
digitalWrite(43, HIGH);
delayMicroseconds(10);
digitalWrite(40, LOW);
digitalWrite(42, LOW);
float distance1 = pulseIn(41, HIGH);
float distance2 = pulseIn(43, HIGH);
//record time
distance1= distance1*170;
distance2= distance2*170;
//convert time to distances
Serial.print(" distance1:");
Serial.print(" distance2:"); // output distances
Serial.println(distance1);
Serial.println(distance2); //show distances
FINAL PROJECT REPORT

Testing Results
The speed will not cause things on the vehicle fall down. To slow down
the vehicle, it becomes a two-actuator one by setting both
digitalWrite(32,LOW) and digitalWrite(34,LOW) permanently.
FINAL PROJECT REPORT

Future Work
Transplant the whole work to a flying platform.
Transfer both audio and video concurrently and wirelessly.

Conclusion
In this final report, the I claim a wireless video-detection vehicle
based on a mobile robot platform with different functions extended. The
vehicle can transfer images to other mobile devices by wireless and also can
be controlled remotely. Afterwards, I proposed the hardware design and
software design of this vehicle and the platform. Finally, I talk about future
work and some places that can be improved.
FINAL PROJECT REPORT

References
[1] Arduino, official website,
http://www.arduino.cc/
[2] Kaicong Camera Forum, official website,
http://www.kaicong.cc/forum.php
[3] Robotic Fan, official website,
http://www.roboticfan.com/
[4] SuperDroid Robots, official website,
http://www.superdroidrobots.com/
[5] Chinese Arduino Community, official website,
http://www.arduino123.com/
[6] McComb. G, Predko. M. Design and Implementation of
Robot. Kexue Press. 2011.
[7] Begnning Arduino Programming. Arduino official tutorial.

Más contenido relacionado

La actualidad más candente

OPAL-RT RT14: New hardware presentation
OPAL-RT RT14: New hardware presentationOPAL-RT RT14: New hardware presentation
OPAL-RT RT14: New hardware presentationOPAL-RT TECHNOLOGIES
 
Arduino mega-schematic
Arduino mega-schematicArduino mega-schematic
Arduino mega-schematicJose Gomez
 
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.comLogic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com燕 欧
 
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.comLogic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com燕 欧
 
8051 development board project report
8051 development board project report8051 development board project report
8051 development board project reportNt Arvind
 
Scheme logic implement pwr plant cntrl
Scheme logic implement pwr plant cntrlScheme logic implement pwr plant cntrl
Scheme logic implement pwr plant cntrlmichaeljmack
 
FSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAGFSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAGDobrica Pavlinušić
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AArkhom Jodtang
 
Microprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsMicroprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsArkhom Jodtang
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformSHIMI S L
 
Galil ladder catalog
Galil ladder catalogGalil ladder catalog
Galil ladder catalogElectromate
 
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.comPMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com燕 欧
 
automation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorautomation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorshubham9929
 
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.comPMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com燕 欧
 

La actualidad más candente (20)

OPAL-RT RT14: New hardware presentation
OPAL-RT RT14: New hardware presentationOPAL-RT RT14: New hardware presentation
OPAL-RT RT14: New hardware presentation
 
Ar drones
Ar dronesAr drones
Ar drones
 
Arduino mega-schematic
Arduino mega-schematicArduino mega-schematic
Arduino mega-schematic
 
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.comLogic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
 
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.comLogic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
Logic - Gates and Inverters -Integrated Circuits (ICs) - componentship.com
 
8051 development board project report
8051 development board project report8051 development board project report
8051 development board project report
 
Scheme logic implement pwr plant cntrl
Scheme logic implement pwr plant cntrlScheme logic implement pwr plant cntrl
Scheme logic implement pwr plant cntrl
 
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSPSwitch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
 
Elm 327 Obd
Elm 327 ObdElm 327 Obd
Elm 327 Obd
 
Feedback ud6.
Feedback ud6. Feedback ud6.
Feedback ud6.
 
7486
74867486
7486
 
FSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAGFSEC 2014 - I can haz your board with JTAG
FSEC 2014 - I can haz your board with JTAG
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016A
 
Microprocessor Week 10: Applications
Microprocessor Week 10: ApplicationsMicroprocessor Week 10: Applications
Microprocessor Week 10: Applications
 
Assignment#4a
Assignment#4aAssignment#4a
Assignment#4a
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
 
Galil ladder catalog
Galil ladder catalogGalil ladder catalog
Galil ladder catalog
 
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.comPMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
 
automation of street light using 8085 microprocessor
automation of street light using 8085 microprocessorautomation of street light using 8085 microprocessor
automation of street light using 8085 microprocessor
 
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.comPMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
PMIC - Display Drivers -Integrated Circuits (ICs) - componentship.com
 

Similar a Final project presentation

Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding RobotRasheed Khan
 
Robotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle AvoidanceRobotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle Avoidancekiet group of institution
 
Gesture control robot using by Ardiuno
Gesture control robot using by ArdiunoGesture control robot using by Ardiuno
Gesture control robot using by ArdiunoSudhir Kumar
 
Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseAlfonso Crisci
 
Zigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemZigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemSidharth Mohapatra
 
I made some more expansion board for M5Stack
I made some more expansion  board for M5StackI made some more expansion  board for M5Stack
I made some more expansion board for M5StackMasawo Yamazaki
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2srknec
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa馬 萬圳
 
Line following robot
Line following robotLine following robot
Line following robotTahirBaig10
 
Design and Development of a prototype of AGV
Design and Development of a prototype of AGVDesign and Development of a prototype of AGV
Design and Development of a prototype of AGVKUNJBIHARISINGH5
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robotUVSofts Technologies
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerMujahid Hussain
 
Arduino IoT (shared)
Arduino IoT (shared)Arduino IoT (shared)
Arduino IoT (shared)jongminshi
 
Raspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentRaspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentCorley S.r.l.
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxJayashreeSelvam5
 

Similar a Final project presentation (20)

Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
 
Robotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle AvoidanceRobotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle Avoidance
 
Gesture control robot using by Ardiuno
Gesture control robot using by ArdiunoGesture control robot using by Ardiuno
Gesture control robot using by Ardiuno
 
Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro Matese
 
Zigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemZigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering system
 
CHART FOR PROJECT
CHART FOR PROJECTCHART FOR PROJECT
CHART FOR PROJECT
 
Arduino tutorial A to Z
Arduino tutorial A to ZArduino tutorial A to Z
Arduino tutorial A to Z
 
I made some more expansion board for M5Stack
I made some more expansion  board for M5StackI made some more expansion  board for M5Stack
I made some more expansion board for M5Stack
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
quadcopter
quadcopterquadcopter
quadcopter
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa
 
Line following robot
Line following robotLine following robot
Line following robot
 
Design and Development of a prototype of AGV
Design and Development of a prototype of AGVDesign and Development of a prototype of AGV
Design and Development of a prototype of AGV
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
 
Arduino IoT (shared)
Arduino IoT (shared)Arduino IoT (shared)
Arduino IoT (shared)
 
A TRAFFIC LIGHT CONTROL SYSTEM USING PROGRAMMABLE LOGIC CONTROLLER
A TRAFFIC LIGHT CONTROL SYSTEM USING PROGRAMMABLE LOGIC CONTROLLERA TRAFFIC LIGHT CONTROL SYSTEM USING PROGRAMMABLE LOGIC CONTROLLER
A TRAFFIC LIGHT CONTROL SYSTEM USING PROGRAMMABLE LOGIC CONTROLLER
 
Raspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentRaspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application Development
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Último (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Final project presentation

  • 1. Wireless Video Detection Vehicle In A Robot Platform With Multiple Functions Jiabao Jin ECE student Colorado State University Instructor: Sudeep Pasricha
  • 2. FINAL PROJECT REPORT Introduction This project proposed a mobile platform with video detection for a robot. This vehicle can transfer videos to a computer or a mobile device and also be controlled by wireless. The vehicle can avoid obstacles through its motion planning programs. The writer utilizes Arduino Mega 2560 as its microcontroller.
  • 3. FINAL PROJECT REPORT Hardware Design Microcontroller - Arduino Mega 2560 It needs 6.5 V ~ 12 V power and at the same time it can produces 3.3 V and 5 V power supplying for other devices or sensors that are connected to it. There are 54 digital I/Os, fourteen of which can be used as PWM output and it is able to hold many devices. Therefore, it is exceedingly adaptive to build up a experiment platform. Otherwise, it has six interruptions that are I/O 2(interruption 0), 3(interruption 1), 18(interruption 2), 19(interruption 3), 20(interruption 4), 21(interruption 5) respectively.
  • 4. FINAL PROJECT REPORT Hardware Design Wireless Camera
  • 5. FINAL PROJECT REPORT Hardware Design Ultrasonic Distance-Detection Sensors I/O: VCC Trig Echo GND distance=(sound velocity * time high level lasting)/2.
  • 6. FINAL PROJECT REPORT Hardware Design L298N Control Actuators Sensor Shield for Arduino
  • 8. FINAL PROJECT REPORT Software Design Firstly, if there is a human operation, the microcontroller will choose to execute it preferentially. Afterwards, it will judge if there are obstacles or cliff based on the returning values from the two ultrasonic distance detection sensors. If yes, it will execute to turn left or turn right or stop according to the parameter condition. If no, it forwards. In the situations without human`s control, it will turn right preferentially and then forward. There is no switch on the vehicle.
  • 9. FINAL PROJECT REPORT Software Design Turning Directions volatile int condition = 0; void setup() { pinMode(31, OUTPUT); pinMode(32, OUTPUT); pinMode(33, OUTPUT); pinMode(34, OUTPUT); pinMode(48, INPUT); pinMode(49, INPUT); } void turn _left() { digitalWrite(33,HIGH); digitalWrite(34,HIGH); digitalWrite(31,LOW); digitalWrite(32,LOW); analogWrite(5,240); analogWrite(6,240); } Speed Differential Method void turn_ right() { digitalWrite(33,LOW); digitalWrite(34,LOW); digitalWrite(31,HIGH); digitalWrite(32,HIGH); analogWrite(5,240); analogWrite(6,240); } void stop() { digitalWrite(31,LOW); digitalWrite(32,LOW); digitalWrite(33,LOW); digitalWrite(34,LOW); analogWrite(5,0); analogWrite(6,0); } void forward() { digitalWrite(33,HIGH); digitalWrite(34,HIGH); digitalWrite(31,HIGH); digitalWrite(32,HIGH); analogWrite(5,250); analogWrite(6,250); } void loop() { if(digitalRead(2) == LOW || digitalRead(3) == LOW) { if(condition == 1) { turn _left(); } else if(condition == 2) { turn_ right(); } else { stop(); }} else { condition = 0; if(digitalRead(49) == 0) { forward(); } else { stop(); }}}
  • 10. FINAL PROJECT REPORT Software Design Ultrasonic Distance Detection tan (90-a) =d/OA -0.1<=tan(90-a)-distance2/OA<=0.1 digitalWrite(41, LOW); digitalWrite(43, LOW); delayMicroseconds(2); digitalWrite(41, HIGH); digitalWrite(43, HIGH); delayMicroseconds(10); digitalWrite(40, LOW); digitalWrite(42, LOW); float distance1 = pulseIn(41, HIGH); float distance2 = pulseIn(43, HIGH); //record time distance1= distance1*170; distance2= distance2*170; //convert time to distances Serial.print(" distance1:"); Serial.print(" distance2:"); // output distances Serial.println(distance1); Serial.println(distance2); //show distances
  • 11. FINAL PROJECT REPORT Testing Results The speed will not cause things on the vehicle fall down. To slow down the vehicle, it becomes a two-actuator one by setting both digitalWrite(32,LOW) and digitalWrite(34,LOW) permanently.
  • 12. FINAL PROJECT REPORT Future Work Transplant the whole work to a flying platform. Transfer both audio and video concurrently and wirelessly. Conclusion In this final report, the I claim a wireless video-detection vehicle based on a mobile robot platform with different functions extended. The vehicle can transfer images to other mobile devices by wireless and also can be controlled remotely. Afterwards, I proposed the hardware design and software design of this vehicle and the platform. Finally, I talk about future work and some places that can be improved.
  • 13. FINAL PROJECT REPORT References [1] Arduino, official website, http://www.arduino.cc/ [2] Kaicong Camera Forum, official website, http://www.kaicong.cc/forum.php [3] Robotic Fan, official website, http://www.roboticfan.com/ [4] SuperDroid Robots, official website, http://www.superdroidrobots.com/ [5] Chinese Arduino Community, official website, http://www.arduino123.com/ [6] McComb. G, Predko. M. Design and Implementation of Robot. Kexue Press. 2011. [7] Begnning Arduino Programming. Arduino official tutorial.