SlideShare a Scribd company logo
1 of 29
Mobile Robotics Teaching Using Arduino
and ROS
R. Vilches, I. Martínez, M. L. González, Crespo, J. and Barber, R.
RoboticsLab. Systems Engineering and Automation Department.
7th International Conference of Education, Research and Innovation. ICERI 2014.
(Seville - 17th-19th November 2014)
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
1. Introduction and Objectives
• Develop a low cost platform designed for
mobile robotics teaching.
• Provide a sensor platform with environmental
modeling capability.
• Test map generation for robot navigation.
Universidad Carlos III
de Madrid
1. Introduction and Objectives
• Build a mobile robot with wheel differential
system based on Arduino.
• Communicate remotely through ROS nodes.
• Get a map of the environment using OpenCV
libraries.
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
2. Robotic Platform: Hardware
• Micro servo-motor TowerPro SG90
• 3-Axis magnetometer HMC5883L
• 2 infrared sensors SHARP GP2D12
• 2 DC motors
Universidad Carlos III
de Madrid
2. Robotic Platform: Hardware
• Battery and switch
• Encoders and H-bridge regulator
• Arduino Mega 2560 (16MHz, 256KB)
• Mega SensorShield V1.0
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
3. Robotic Platform: Software
• Arduino platform (hardware and software):
• Open: Great community
• Flexible: Multiple Applications
• Easy to use: Based Programming C / C ++
• Low processing power and memory
Universidad Carlos III
de Madrid
3. Robotic Platform: Software
• ROS: Robotic Operating System:
• Distributed: Graph architecture
• Nodes:
• Publishing and subscribing
to messages
• Services
• Packages
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
4. Control Architecture
• Global architecture scheme
Universidad Carlos III
de Madrid
4. Control Architecture
• PC - ROS:
• Serial Node
• Map Node
• Position Callback
• irLecture Callback
• Wander Node
• Service Callback
Universidad Carlos III
de Madrid
4. Control Architecture
• Arduino:
• ROS
• HMC5883L
• Encoder
• Move
Universidad Carlos III
de Madrid
4. Control Architecture
• Main functionality flow diagram • Loop tasks flow diagram
Universidad Carlos III
de Madrid
4. Control Architecture
• Environment scanning flow diagram (makeDistance):
Universidad Carlos III
de Madrid
4. Control Architecture
• Mapping routine flow diagram (mappingRoutine):
Universidad Carlos III
de Madrid
4. Control Architecture
• Translation
flow diagram
(makeMove):
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
5. Experimental Results
•Map Node – IrLecture
• Depiction
• Robot • Obstacles
Universidad Carlos III
de Madrid
•ROS & Arduino
• ROS architecture working.
• Nodes: Serial + Map+ Wander
• Arduino management
5. Experimental Results
Universidad Carlos III
de Madrid
5. Experimental Results
•Field tests
• Mapping a corridor
• IR Reading errors
• Solution:
• Obtain the median from
multiple readings
• Increase the thickness
of the lines  Fix errors quickly
Universidad Carlos III
de Madrid
5. Experimental Results
•Field tests (II)
• Creation of a specific stage
• The longer the mapping lasts:
• The bigger the error can be accumulated.
• The better the resulting depiction (debugging)
Universidad Carlos III
de Madrid
5. Experimental Results
•Field tests (III)
• Mapping a home hallway:
• Consistent result
• Long time scanning
Universidad Carlos III
de Madrid
Contents
1. Introduction and Objectives
2. Robotic platform: Hardware Components
3. Robotic platform: Software Components
4. Control Architecture
5. Experimental Results
6. Conclusions and Future Work
Universidad Carlos III
de Madrid
6. Conclusions and future work
• Result of a user-friendly robotics platform approach
to teaching.
• Joint use of Arduino and ROS.
• Achieve map generation and autonomous robot
navigation.
Universidad Carlos III
de Madrid
6. Conclusions and future work
•Hardware:
• Bluetooth connection.
• Ultrasonic sensor.
•Robotic applications:
• Mapping
• SLAM
• Other navigation applications
Mobile Robotics Teaching Using Arduino
and ROS
R. Vilches, I. Martínez, M. L. González, J. Crespo, and R. Barber
RoboticsLab. Systems Engineering and Automation Department.
7th International Conference of Education, Research and Innovation. ICERI 2014.
(Seville - 17th-19th November 2014)

More Related Content

Similar to Mobile Robotics Teaching Using Arduino and ROS

The Catalan Research portal: collecting information from Catalan universities...
The Catalan Research portal: collecting information from Catalan universities...The Catalan Research portal: collecting information from Catalan universities...
The Catalan Research portal: collecting information from Catalan universities...Ricard de la Vega
 
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...Manuel Castro
 
Internet of Things Scalability
Internet of Things ScalabilityInternet of Things Scalability
Internet of Things Scalabilityrrrighi
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)ijseajournal
 
nd209_Robo_syllabus_v2.pdf
nd209_Robo_syllabus_v2.pdfnd209_Robo_syllabus_v2.pdf
nd209_Robo_syllabus_v2.pdfRIchardFRuiz
 
RESUME_VIMAL_01_06_16
RESUME_VIMAL_01_06_16RESUME_VIMAL_01_06_16
RESUME_VIMAL_01_06_16Vimal D
 
computer system architecture
computer system architecturecomputer system architecture
computer system architecturedileesh E D
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)jmicro
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)ClaraZara1
 
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...Laurence Sigler (2023) Content management, ecommerce and interoperability fra...
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...Francisco Javier Mora Serrano
 
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...IJITE
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)gerogepatton
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)ijpla
 
ARLabs:Profile & Training Programs
ARLabs:Profile & Training ProgramsARLabs:Profile & Training Programs
ARLabs:Profile & Training ProgramsAnubhav Seth
 
COSMOS: DevOps for Complex Cyber-physical Systems
COSMOS: DevOps for Complex Cyber-physical SystemsCOSMOS: DevOps for Complex Cyber-physical Systems
COSMOS: DevOps for Complex Cyber-physical SystemsSebastiano Panichella
 
APWiMob 2014 (Bali, 28-30 August 2014) CFP
APWiMob 2014 (Bali, 28-30 August 2014) CFPAPWiMob 2014 (Bali, 28-30 August 2014) CFP
APWiMob 2014 (Bali, 28-30 August 2014) CFPArief Gunawan
 
Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Atul Chounde
 

Similar to Mobile Robotics Teaching Using Arduino and ROS (20)

The Catalan Research portal: collecting information from Catalan universities...
The Catalan Research portal: collecting information from Catalan universities...The Catalan Research portal: collecting information from Catalan universities...
The Catalan Research portal: collecting information from Catalan universities...
 
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...
An Open and Improved VISIR System Through PILAR Federation for Electrical/Ele...
 
Internet of Things Scalability
Internet of Things ScalabilityInternet of Things Scalability
Internet of Things Scalability
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
 
nd209_Robo_syllabus_v2.pdf
nd209_Robo_syllabus_v2.pdfnd209_Robo_syllabus_v2.pdf
nd209_Robo_syllabus_v2.pdf
 
RESUME_VIMAL_01_06_16
RESUME_VIMAL_01_06_16RESUME_VIMAL_01_06_16
RESUME_VIMAL_01_06_16
 
computer system architecture
computer system architecturecomputer system architecture
computer system architecture
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
 
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...Laurence Sigler (2023) Content management, ecommerce and interoperability fra...
Laurence Sigler (2023) Content management, ecommerce and interoperability fra...
 
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...
3rd International Conference on Machine Learning, NLP and Data Mining (MLDA 2...
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
 
Qr code.pptx
Qr code.pptxQr code.pptx
Qr code.pptx
 
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
5th International Conference on Machine Learning and Soft Computing (MLSC 2024)
 
ARLabs:Profile & Training Programs
ARLabs:Profile & Training ProgramsARLabs:Profile & Training Programs
ARLabs:Profile & Training Programs
 
AntoineLambertResume
AntoineLambertResumeAntoineLambertResume
AntoineLambertResume
 
COSMOS: DevOps for Complex Cyber-physical Systems
COSMOS: DevOps for Complex Cyber-physical SystemsCOSMOS: DevOps for Complex Cyber-physical Systems
COSMOS: DevOps for Complex Cyber-physical Systems
 
thesis
thesisthesis
thesis
 
APWiMob 2014 (Bali, 28-30 August 2014) CFP
APWiMob 2014 (Bali, 28-30 August 2014) CFPAPWiMob 2014 (Bali, 28-30 August 2014) CFP
APWiMob 2014 (Bali, 28-30 August 2014) CFP
 
Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility Android application- Location Detection For Human Mobility
Android application- Location Detection For Human Mobility
 

Recently uploaded

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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
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
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 

Recently uploaded (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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
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
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 

Mobile Robotics Teaching Using Arduino and ROS

  • 1. Mobile Robotics Teaching Using Arduino and ROS R. Vilches, I. Martínez, M. L. González, Crespo, J. and Barber, R. RoboticsLab. Systems Engineering and Automation Department. 7th International Conference of Education, Research and Innovation. ICERI 2014. (Seville - 17th-19th November 2014)
  • 2. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 3. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 4. Universidad Carlos III de Madrid 1. Introduction and Objectives • Develop a low cost platform designed for mobile robotics teaching. • Provide a sensor platform with environmental modeling capability. • Test map generation for robot navigation.
  • 5. Universidad Carlos III de Madrid 1. Introduction and Objectives • Build a mobile robot with wheel differential system based on Arduino. • Communicate remotely through ROS nodes. • Get a map of the environment using OpenCV libraries.
  • 6. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 7. Universidad Carlos III de Madrid 2. Robotic Platform: Hardware • Micro servo-motor TowerPro SG90 • 3-Axis magnetometer HMC5883L • 2 infrared sensors SHARP GP2D12 • 2 DC motors
  • 8. Universidad Carlos III de Madrid 2. Robotic Platform: Hardware • Battery and switch • Encoders and H-bridge regulator • Arduino Mega 2560 (16MHz, 256KB) • Mega SensorShield V1.0
  • 9. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 10. Universidad Carlos III de Madrid 3. Robotic Platform: Software • Arduino platform (hardware and software): • Open: Great community • Flexible: Multiple Applications • Easy to use: Based Programming C / C ++ • Low processing power and memory
  • 11. Universidad Carlos III de Madrid 3. Robotic Platform: Software • ROS: Robotic Operating System: • Distributed: Graph architecture • Nodes: • Publishing and subscribing to messages • Services • Packages
  • 12. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 13. Universidad Carlos III de Madrid 4. Control Architecture • Global architecture scheme
  • 14. Universidad Carlos III de Madrid 4. Control Architecture • PC - ROS: • Serial Node • Map Node • Position Callback • irLecture Callback • Wander Node • Service Callback
  • 15. Universidad Carlos III de Madrid 4. Control Architecture • Arduino: • ROS • HMC5883L • Encoder • Move
  • 16. Universidad Carlos III de Madrid 4. Control Architecture • Main functionality flow diagram • Loop tasks flow diagram
  • 17. Universidad Carlos III de Madrid 4. Control Architecture • Environment scanning flow diagram (makeDistance):
  • 18. Universidad Carlos III de Madrid 4. Control Architecture • Mapping routine flow diagram (mappingRoutine):
  • 19. Universidad Carlos III de Madrid 4. Control Architecture • Translation flow diagram (makeMove):
  • 20. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 21. Universidad Carlos III de Madrid 5. Experimental Results •Map Node – IrLecture • Depiction • Robot • Obstacles
  • 22. Universidad Carlos III de Madrid •ROS & Arduino • ROS architecture working. • Nodes: Serial + Map+ Wander • Arduino management 5. Experimental Results
  • 23. Universidad Carlos III de Madrid 5. Experimental Results •Field tests • Mapping a corridor • IR Reading errors • Solution: • Obtain the median from multiple readings • Increase the thickness of the lines  Fix errors quickly
  • 24. Universidad Carlos III de Madrid 5. Experimental Results •Field tests (II) • Creation of a specific stage • The longer the mapping lasts: • The bigger the error can be accumulated. • The better the resulting depiction (debugging)
  • 25. Universidad Carlos III de Madrid 5. Experimental Results •Field tests (III) • Mapping a home hallway: • Consistent result • Long time scanning
  • 26. Universidad Carlos III de Madrid Contents 1. Introduction and Objectives 2. Robotic platform: Hardware Components 3. Robotic platform: Software Components 4. Control Architecture 5. Experimental Results 6. Conclusions and Future Work
  • 27. Universidad Carlos III de Madrid 6. Conclusions and future work • Result of a user-friendly robotics platform approach to teaching. • Joint use of Arduino and ROS. • Achieve map generation and autonomous robot navigation.
  • 28. Universidad Carlos III de Madrid 6. Conclusions and future work •Hardware: • Bluetooth connection. • Ultrasonic sensor. •Robotic applications: • Mapping • SLAM • Other navigation applications
  • 29. Mobile Robotics Teaching Using Arduino and ROS R. Vilches, I. Martínez, M. L. González, J. Crespo, and R. Barber RoboticsLab. Systems Engineering and Automation Department. 7th International Conference of Education, Research and Innovation. ICERI 2014. (Seville - 17th-19th November 2014)