SlideShare a Scribd company logo
1 of 4
Download to read offline
ARCduino™
Youngki Hong (youngkih@buffalo.edu)
Ryan Sandidge (rdsandid@buffalo.edu)
CSE 321 (Realtime and Embedded Systems)
University at Buffalo
1
1) Executive Summary
It’s an RC car, which can detect collision and avoids it by itself. Some major contributions of
our project that come to mind are that the collision detection function in the ARCduino™ can increase
the safety and lifetime of children’s toys. Furthermore, these ideas, technologies, and concepts can
extend to automated driving systems of automobiles in more practical applications. As far as
innovation in this project, we went from using just the ultrasonic sensor, by itself, to using it with some
additional calculation. In other words, using just the sonar sensor sometimes would yet incorrect or
inaccurate results. What we realized is that we can take the distance thrice (very close together), and
we can average them together to correct inaccurate or unintended results.
We are undertaking this project, because we wanted to try something relatively simple, but
powerful using Arduino. We also wanted something to do that reminded us of childhood, and wanted
something to be adapted for a more mature market. As far as advantages go, this project could help
bring some awareness to toy companies, and hopefully can change their approach to making toys, by
making them more durable, interactive, open, and fun. As mentioned previously, this
application/project will be targeted towards young children (preferably those at twelve years of age or
less), and so will help them, too . They will be the users of the system.
On the implementation, my partner and I bought a $100 Arduino starting kit on their website,
which included the Arduino Uno microcontoller, the RC components, the breadboard, and various other
connectors.
2) Project Objectives
ARCduino must meet the following objectives:
 Stop and back up before it hits the wall, under a strict time bound
 Stop the entire unit if it has to rotate 8 times consecutively in a short period of time
 The ARCduino must use a combination of the ultrasonic sensor and the error-correcting average
calculation
3) Project Approach
We designed our prototype to contain basic functions for detecting obstacles in front of it and
avoiding it. The software prototype should be easily accessible by individuals so that the users can add
whatever functions they want, and to tweak sensitivity thresholds (if needed). One of the points for our
project is that we used a simple algorithm for distance sensor. Since the ultrasonic distance sensor
sometimes detected something even though there was nothing in front of it, we had to find a solution
for this kind of error. Therefore, we made an array of distances which is detected by the sensor and
made an average of recent 3 distances. Then, if the average was under certain point, such as 10cm, it
definitely meant there was something in front of it. Therefore, by this, we were able to reduce the errors
caused only by the distance sensor.
2
4 and 5) Project Flow Diagram and Design Details
Figure A (Block diagram)
Figure B (Flow diagram)
3
6) User’s Manual
To those wanting to use this car, the only thing necessary is a power supply via a USB cable.
Afterwards, if there’s any place the user wants to test the ARCduino car, just place it on the floor, and
see how it detects obstacles and acts accordingly. This works better on smooth surfaces.
7) Programmer’s Manual
For programmers, as we can see, there are 5 different functions.
• loop() : after the whole kit is set up, it runs repeatedly until the RC car detects obstacles
8 times. In this function, it calculates distances using the ultrasonic distance sensor, and
based on the average of distances, it calls the run() function.
• run() : According to the distance, if there is an obstacle 20cm away, it calls
goBackward() and turnLeft(). If not, it just calls goForward()
• goBackward(), goForward() : by setting the speed of motors respectively, it can move
backward or forward.
• turnLeft() : by setting the sign of the speed of left motor and right motor opposite, it
will turn left. By changing the values and signs, it can turn right or the angle of turning
can vary.
8) References/Additional Resources
- https://www.sparkfun.com/tutorials/348
- http://duino4projects.com/projects/car-projects/
- https://www.youtube.com/watch?v=t_Za7G38YFU
- http://www.instructables.com/id/Simple-RC-car-for-beginners-Android-control-over-/
- https://blog.miguelgrinberg.com/post/building-an-arduino-robot-part-i-hardware-components

More Related Content

Viewers also liked

Robótica final
Robótica finalRobótica final
Robótica finalileana0706
 
A) evaluacion de impacto_ambiental_i
A) evaluacion de impacto_ambiental_iA) evaluacion de impacto_ambiental_i
A) evaluacion de impacto_ambiental_iEliana Romero
 
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexicoEugenio Hernández
 
Trabajo en clase retos nxt
Trabajo en clase retos nxtTrabajo en clase retos nxt
Trabajo en clase retos nxtflogerito
 
El estado de la tecnología en la educación
El estado de la tecnología en la educaciónEl estado de la tecnología en la educación
El estado de la tecnología en la educaciónWilliam Henry Vegazo Muro
 
Political Spectrum Lecture
Political Spectrum LecturePolitical Spectrum Lecture
Political Spectrum Lectureljhsblog
 
La educación inclusiva a través de las Tic. Recursos para trabajar en el aula.
La educación inclusiva a través de las Tic.  Recursos para trabajar en el aula.La educación inclusiva a través de las Tic.  Recursos para trabajar en el aula.
La educación inclusiva a través de las Tic. Recursos para trabajar en el aula.Soraya Jura
 
Creación de prototipo para la generación de reportes a partir de Twitter
Creación de prototipo para la generación de reportes a partir de TwitterCreación de prototipo para la generación de reportes a partir de Twitter
Creación de prototipo para la generación de reportes a partir de TwitterFranco Navea
 
Verhaal av e eefde
Verhaal av e eefdeVerhaal av e eefde
Verhaal av e eefdehermsentheo
 
Introducción a la administración f03
Introducción a la administración  f03Introducción a la administración  f03
Introducción a la administración f03Skepper63
 
The Industrial Revolution (simple)
The Industrial Revolution (simple)The Industrial Revolution (simple)
The Industrial Revolution (simple)xxy yxx
 
Monografìa las TIC- Tecnología de la información y la comunicación
Monografìa las TIC- Tecnología de la información y la comunicaciónMonografìa las TIC- Tecnología de la información y la comunicación
Monografìa las TIC- Tecnología de la información y la comunicaciónLorena López Chuquimango
 
Variance Analysis in Standard Costing
Variance Analysis in Standard CostingVariance Analysis in Standard Costing
Variance Analysis in Standard CostingVivek Mahajan
 

Viewers also liked (19)

Robótica final
Robótica finalRobótica final
Robótica final
 
A) evaluacion de impacto_ambiental_i
A) evaluacion de impacto_ambiental_iA) evaluacion de impacto_ambiental_i
A) evaluacion de impacto_ambiental_i
 
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico
15 01-08 tamaulipas supera metas dice hernandez flores - sol de mexico
 
Trabajo en clase retos nxt
Trabajo en clase retos nxtTrabajo en clase retos nxt
Trabajo en clase retos nxt
 
Preparing for winter driving mb
Preparing for winter driving mbPreparing for winter driving mb
Preparing for winter driving mb
 
El estado de la tecnología en la educación
El estado de la tecnología en la educaciónEl estado de la tecnología en la educación
El estado de la tecnología en la educación
 
Political Spectrum Lecture
Political Spectrum LecturePolitical Spectrum Lecture
Political Spectrum Lecture
 
Corel draw x5
Corel draw x5Corel draw x5
Corel draw x5
 
La educación inclusiva a través de las Tic. Recursos para trabajar en el aula.
La educación inclusiva a través de las Tic.  Recursos para trabajar en el aula.La educación inclusiva a través de las Tic.  Recursos para trabajar en el aula.
La educación inclusiva a través de las Tic. Recursos para trabajar en el aula.
 
Creación de prototipo para la generación de reportes a partir de Twitter
Creación de prototipo para la generación de reportes a partir de TwitterCreación de prototipo para la generación de reportes a partir de Twitter
Creación de prototipo para la generación de reportes a partir de Twitter
 
Teoría Oceanica
Teoría OceanicaTeoría Oceanica
Teoría Oceanica
 
Verhaal av e eefde
Verhaal av e eefdeVerhaal av e eefde
Verhaal av e eefde
 
Introducción a la administración f03
Introducción a la administración  f03Introducción a la administración  f03
Introducción a la administración f03
 
The Industrial Revolution (simple)
The Industrial Revolution (simple)The Industrial Revolution (simple)
The Industrial Revolution (simple)
 
Taller 10.
Taller 10.Taller 10.
Taller 10.
 
Monografìa las TIC- Tecnología de la información y la comunicación
Monografìa las TIC- Tecnología de la información y la comunicaciónMonografìa las TIC- Tecnología de la información y la comunicación
Monografìa las TIC- Tecnología de la información y la comunicación
 
LA FAMILIA COMO GRUPO SOCIAL
LA FAMILIA COMO GRUPO SOCIALLA FAMILIA COMO GRUPO SOCIAL
LA FAMILIA COMO GRUPO SOCIAL
 
Variance Analysis in Standard Costing
Variance Analysis in Standard CostingVariance Analysis in Standard Costing
Variance Analysis in Standard Costing
 
Proyecto de vida - Dácil Domínguez
Proyecto de vida - Dácil DomínguezProyecto de vida - Dácil Domínguez
Proyecto de vida - Dácil Domínguez
 

Similar to ARCDuino_Documentation_FINAL

BATCH 28 PHASE 3.pptx
BATCH 28 PHASE 3.pptxBATCH 28 PHASE 3.pptx
BATCH 28 PHASE 3.pptxZuberAhmedV
 
LANE DETECTION USING IMAGE PROCESSING IN PYTHON
LANE DETECTION USING IMAGE PROCESSING IN PYTHONLANE DETECTION USING IMAGE PROCESSING IN PYTHON
LANE DETECTION USING IMAGE PROCESSING IN PYTHONIRJET Journal
 
Simultaneous Mapping and Navigation For Rendezvous in Space Applications
Simultaneous Mapping and Navigation For Rendezvous in Space ApplicationsSimultaneous Mapping and Navigation For Rendezvous in Space Applications
Simultaneous Mapping and Navigation For Rendezvous in Space ApplicationsNandakishor Jahagirdar
 
Autonomous navigation robot
Autonomous navigation robotAutonomous navigation robot
Autonomous navigation robotIRJET Journal
 
Design and Fabrication of Obstacle Avoiding Robotic Vehicle
Design and Fabrication of Obstacle Avoiding Robotic VehicleDesign and Fabrication of Obstacle Avoiding Robotic Vehicle
Design and Fabrication of Obstacle Avoiding Robotic VehicleIRJET Journal
 
Bluetooth Controlled Garbage Collection Robot Arm
Bluetooth Controlled Garbage Collection Robot ArmBluetooth Controlled Garbage Collection Robot Arm
Bluetooth Controlled Garbage Collection Robot ArmIRJET Journal
 
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS  SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS Nandakishor Jahagirdar
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSIRJET Journal
 
Cs project ppt
Cs project pptCs project ppt
Cs project pptEngr umar
 
Arduino Obstacle Avoiding and voice control car
Arduino Obstacle Avoiding and voice control carArduino Obstacle Avoiding and voice control car
Arduino Obstacle Avoiding and voice control carvrpagar45
 
Automatic Car Parking
Automatic Car ParkingAutomatic Car Parking
Automatic Car ParkingIRJET Journal
 
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...IRJET Journal
 
Design and implementation of an sms based robotic system for hole- detection ...
Design and implementation of an sms based robotic system for hole- detection ...Design and implementation of an sms based robotic system for hole- detection ...
Design and implementation of an sms based robotic system for hole- detection ...eSAT Journals
 
diploma major project ppt for ultrasonnic
diploma major project ppt for ultrasonnicdiploma major project ppt for ultrasonnic
diploma major project ppt for ultrasonnicPavan367172
 
final project presentation.pptx
final project presentation.pptxfinal project presentation.pptx
final project presentation.pptxPoornimak52
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...csandit
 

Similar to ARCDuino_Documentation_FINAL (20)

Arduino_Project_Report
Arduino_Project_ReportArduino_Project_Report
Arduino_Project_Report
 
BATCH 28 PHASE 3.pptx
BATCH 28 PHASE 3.pptxBATCH 28 PHASE 3.pptx
BATCH 28 PHASE 3.pptx
 
LANE DETECTION USING IMAGE PROCESSING IN PYTHON
LANE DETECTION USING IMAGE PROCESSING IN PYTHONLANE DETECTION USING IMAGE PROCESSING IN PYTHON
LANE DETECTION USING IMAGE PROCESSING IN PYTHON
 
Simultaneous Mapping and Navigation For Rendezvous in Space Applications
Simultaneous Mapping and Navigation For Rendezvous in Space ApplicationsSimultaneous Mapping and Navigation For Rendezvous in Space Applications
Simultaneous Mapping and Navigation For Rendezvous in Space Applications
 
Autonomous navigation robot
Autonomous navigation robotAutonomous navigation robot
Autonomous navigation robot
 
Design and Fabrication of Obstacle Avoiding Robotic Vehicle
Design and Fabrication of Obstacle Avoiding Robotic VehicleDesign and Fabrication of Obstacle Avoiding Robotic Vehicle
Design and Fabrication of Obstacle Avoiding Robotic Vehicle
 
Bluetooth Controlled Garbage Collection Robot Arm
Bluetooth Controlled Garbage Collection Robot ArmBluetooth Controlled Garbage Collection Robot Arm
Bluetooth Controlled Garbage Collection Robot Arm
 
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS  SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 
DDD_ML.docx
DDD_ML.docxDDD_ML.docx
DDD_ML.docx
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
 
Cs project ppt
Cs project pptCs project ppt
Cs project ppt
 
Arduino Obstacle Avoiding and voice control car
Arduino Obstacle Avoiding and voice control carArduino Obstacle Avoiding and voice control car
Arduino Obstacle Avoiding and voice control car
 
project2presentation.pptx
project2presentation.pptxproject2presentation.pptx
project2presentation.pptx
 
Automatic Car Parking
Automatic Car ParkingAutomatic Car Parking
Automatic Car Parking
 
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
 
Design and implementation of an sms based robotic system for hole- detection ...
Design and implementation of an sms based robotic system for hole- detection ...Design and implementation of an sms based robotic system for hole- detection ...
Design and implementation of an sms based robotic system for hole- detection ...
 
diploma major project ppt for ultrasonnic
diploma major project ppt for ultrasonnicdiploma major project ppt for ultrasonnic
diploma major project ppt for ultrasonnic
 
final project presentation.pptx
final project presentation.pptxfinal project presentation.pptx
final project presentation.pptx
 
THIRD EYE FOR BLIND
THIRD EYE FOR BLINDTHIRD EYE FOR BLIND
THIRD EYE FOR BLIND
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
 

ARCDuino_Documentation_FINAL

  • 1. ARCduino™ Youngki Hong (youngkih@buffalo.edu) Ryan Sandidge (rdsandid@buffalo.edu) CSE 321 (Realtime and Embedded Systems) University at Buffalo
  • 2. 1 1) Executive Summary It’s an RC car, which can detect collision and avoids it by itself. Some major contributions of our project that come to mind are that the collision detection function in the ARCduino™ can increase the safety and lifetime of children’s toys. Furthermore, these ideas, technologies, and concepts can extend to automated driving systems of automobiles in more practical applications. As far as innovation in this project, we went from using just the ultrasonic sensor, by itself, to using it with some additional calculation. In other words, using just the sonar sensor sometimes would yet incorrect or inaccurate results. What we realized is that we can take the distance thrice (very close together), and we can average them together to correct inaccurate or unintended results. We are undertaking this project, because we wanted to try something relatively simple, but powerful using Arduino. We also wanted something to do that reminded us of childhood, and wanted something to be adapted for a more mature market. As far as advantages go, this project could help bring some awareness to toy companies, and hopefully can change their approach to making toys, by making them more durable, interactive, open, and fun. As mentioned previously, this application/project will be targeted towards young children (preferably those at twelve years of age or less), and so will help them, too . They will be the users of the system. On the implementation, my partner and I bought a $100 Arduino starting kit on their website, which included the Arduino Uno microcontoller, the RC components, the breadboard, and various other connectors. 2) Project Objectives ARCduino must meet the following objectives:  Stop and back up before it hits the wall, under a strict time bound  Stop the entire unit if it has to rotate 8 times consecutively in a short period of time  The ARCduino must use a combination of the ultrasonic sensor and the error-correcting average calculation 3) Project Approach We designed our prototype to contain basic functions for detecting obstacles in front of it and avoiding it. The software prototype should be easily accessible by individuals so that the users can add whatever functions they want, and to tweak sensitivity thresholds (if needed). One of the points for our project is that we used a simple algorithm for distance sensor. Since the ultrasonic distance sensor sometimes detected something even though there was nothing in front of it, we had to find a solution for this kind of error. Therefore, we made an array of distances which is detected by the sensor and made an average of recent 3 distances. Then, if the average was under certain point, such as 10cm, it definitely meant there was something in front of it. Therefore, by this, we were able to reduce the errors caused only by the distance sensor.
  • 3. 2 4 and 5) Project Flow Diagram and Design Details Figure A (Block diagram) Figure B (Flow diagram)
  • 4. 3 6) User’s Manual To those wanting to use this car, the only thing necessary is a power supply via a USB cable. Afterwards, if there’s any place the user wants to test the ARCduino car, just place it on the floor, and see how it detects obstacles and acts accordingly. This works better on smooth surfaces. 7) Programmer’s Manual For programmers, as we can see, there are 5 different functions. • loop() : after the whole kit is set up, it runs repeatedly until the RC car detects obstacles 8 times. In this function, it calculates distances using the ultrasonic distance sensor, and based on the average of distances, it calls the run() function. • run() : According to the distance, if there is an obstacle 20cm away, it calls goBackward() and turnLeft(). If not, it just calls goForward() • goBackward(), goForward() : by setting the speed of motors respectively, it can move backward or forward. • turnLeft() : by setting the sign of the speed of left motor and right motor opposite, it will turn left. By changing the values and signs, it can turn right or the angle of turning can vary. 8) References/Additional Resources - https://www.sparkfun.com/tutorials/348 - http://duino4projects.com/projects/car-projects/ - https://www.youtube.com/watch?v=t_Za7G38YFU - http://www.instructables.com/id/Simple-RC-car-for-beginners-Android-control-over-/ - https://blog.miguelgrinberg.com/post/building-an-arduino-robot-part-i-hardware-components