SlideShare a Scribd company logo
Programming your
Lego Mindstorm NXT RobotLego Mindstorm NXT Robot
PAU
Lycée Saint-Cricq
15-21 Mar 2015
MORE – MObile Resources on Education
MORE - MObile Resources on Education 22- PAU: 15-21 Mar 2015 2MORE - MObile Resources on Education 2
First of all…
BUILDING OUR ROBOT!
Prezi presentations
 Domabot
[Domabot on-line]
 9797 basic model
[9797 on-line]
MORE - MObile Resources on Education 33- PAU: 15-21 Mar 2015 3MORE - MObile Resources on Education 3
And our… “ramp”
 Don’t crash the
wall
Ramp version
[Ramp on-line]
MORE - MObile Resources on Education 44- PAU: 15-21 Mar 2015 4MORE - MObile Resources on Education 4
“Find” the problem…
 The Robot is doing
“somethingsomething”…
 In your opinion
which is the
problemproblem it’s
solving?
MORE - MObile Resources on Education 55- PAU: 15-21 Mar 2015 5MORE - MObile Resources on Education 5
Video… problem
 Solve “your” problem…
MORE - MObile Resources on Education 66- PAU: 15-21 Mar 2015 6MORE - MObile Resources on Education 6
We would like…
 A sequence of logical steps – e.g.:
 When you press a button:
 Go forward 3”
 Turn right 90°
 Go backwards 2”
 When you press again a button:
 Enjoy yourselfEnjoy yourself    !!!!!!
Just a…flux diagramJust a…flux diagram
MORE - MObile Resources on Education 77- PAU: 15-21 Mar 2015 7MORE - MObile Resources on Education 7
Flux Diagram (example)
Start
Acquire
distance
Set
distance(=100)
50<distance<100
Set Motors
Backwards
Power 20%
YES
NO
25<distance<49
Set Motors
Backwards
Power 60%
YES
0<distance<24
Set Motors
Backwards
Power 100%
YES
NO
NO
distance>100 Turn Motors off
YES
NO
MORE - MObile Resources on Education 88- PAU: 15-21 Mar 2015 8MORE - MObile Resources on Education 8
See you soon… 
 …talking about youryour and ourour flux
diagram
 …and the robot program!
At the end of our workshopAt the end of our workshop  !
MORE - MObile Resources on Education 99- PAU: 15-21 Mar 2015 9MORE - MObile Resources on Education 9
Programming levels…
Level 2Level 2
1 program
running
Interaction with
the environment
Level 1Level 1
1 program running
NO interaction with
the environment
Level 0Level 0
NO Program running
MORE - MObile Resources on Education 1010- PAU: 15-21 Mar 2015 10MORE - MObile Resources on Education 10
NONO sensor and… NONO program
What is the robot seeing? [programming level_0]
WiFiWiFi
Bluetooth
Bluetooth
MORE - MObile Resources on Education 1111- PAU: 15-21 Mar 2015 11MORE - MObile Resources on Education 11
What do you need?
 Wi Fi ConnectionWi Fi Connection:
 1 Router (IP address, e.g.: 192.168.1.1)
DHCP server
 1 notebook (IP address, e.g.:
192.168.1.55)
 1 smart phone Connected to the
“DLink” network
 Run your “IP Webcam”“IP Webcam” android app
(Your smart phone will be a webcam server)webcam server)
 Please read the IP address given by
the DHCP server (something like:
192.168.1.xxx:8080)
WiFiWiFi
MORE - MObile Resources on Education 1212- PAU: 15-21 Mar 2015 12MORE - MObile Resources on Education 12
And…
 Bluetooth connectionBluetooth connection
 1 Smartphone
 MO_R_E_NXT_Remote_control_V2
 Download your own copy .apk file (from
tablet)
 Install the MO_R_E_NXT_ … program
 Connect to the robot (PAU_3, PAU_5 or
PAU_6)
 Run your software copy
 Drive your Robot
Bluetooth
Bluetooth
MORE - MObile Resources on Education 1313- PAU: 15-21 Mar 2015 13MORE - MObile Resources on Education 13
Programming language (NXT 2.0)
Common
Data
Advanced
Flow
Action
Sensor
MORE - MObile Resources on Education 1414- PAU: 15-21 Mar 2015 14MORE - MObile Resources on Education 14
No sensor [programming level_1]
 The robot is
programmed… It’s
always doing the
same “things”,
with no interaction
with the
environment…
We need:
 1 Domabot
MORE - MObile Resources on Education 1515- PAU: 15-21 Mar 2015 15MORE - MObile Resources on Education 15
“No sensor” - Video…
MORE - MObile Resources on Education 1616- PAU: 15-21 Mar 2015 16MORE - MObile Resources on Education 16
“No sensor” – Flux diagram
MORE - MObile Resources on Education 1717- PAU: 15-21 Mar 2015 17MORE - MObile Resources on Education 17
NO Sensor program (1_NO_sensor.rbt)
html Version
MORE - MObile Resources on Education 1818- PAU: 15-21 Mar 2015 18MORE - MObile Resources on Education 18
Sound control [programming level_2]
 The robot is moving
forward, (remote)
controlled by the
intensity of sound…
We needWe need:
1 Domabot
1 Sound
sensor
MORE - MObile Resources on Education 1919- PAU: 15-21 Mar 2015 19MORE - MObile Resources on Education 19
“Sound control” – Video…
MORE - MObile Resources on Education 2020- PAU: 15-21 Mar 2015 20MORE - MObile Resources on Education 20
“Sound control” – Flux diagram
MORE - MObile Resources on Education 2121- PAU: 15-21 Mar 2015 21MORE - MObile Resources on Education 21
Sound control program (2_Sound_control.rbt)
html Version
MORE - MObile Resources on Education 2222- PAU: 15-21 Mar 2015 22MORE - MObile Resources on Education 22
Line follower
 The robot is
following the
black line…
every path is
good to solve
“its” problem…
We needWe need:
 1 9797 robot
 1 Light sensor
 1 black path
MORE - MObile Resources on Education 2323- PAU: 15-21 Mar 2015 23MORE - MObile Resources on Education 23
“Following the black line” – Video…
MORE - MObile Resources on Education 2424- PAU: 15-21 Mar 2015 24MORE - MObile Resources on Education 24
“Line follower” – Flux diagram
MORE - MObile Resources on Education 2525- PAU: 15-21 Mar 2015 25MORE - MObile Resources on Education 25
Line Follower program (3_Line_Follower.rbt)
html Version
MORE - MObile Resources on Education 2626- PAU: 15-21 Mar 2015 26MORE - MObile Resources on Education 26
“Problem solving” – Flux diagram
MORE - MObile Resources on Education 2727- PAU: 15-21 Mar 2015 27MORE - MObile Resources on Education 27
Problem solving program (4_Problem_Solve.rbt)
html Version
MORE - MObile Resources on Education 2828- PAU: 15-21 Mar 2015 28MORE - MObile Resources on Education 28
Something else…
 All sensors at once
 Playing with a… joystick
 http://www.nxtprograms.com/4x4_joystick/steps.html
 Building your Express-botExpress-bot
 http://www.nxtprograms.com/9797/express-bot/steps.html
MORE - MObile Resources on Education 2929- PAU: 15-21 Mar 2015 29MORE - MObile Resources on Education 29
All Sensors
MORE - MObile Resources on Education 3030- PAU: 15-21 Mar 2015 30MORE - MObile Resources on Education 30
All Sensors - Programm
html Version
MORE - MObile Resources on Education 3131- PAU: 15-21 Mar 2015 31MORE - MObile Resources on Education 31
Joystick Drive
html Version
http://www.nxtprograms.com/programs/Joystick_Drive.rbt

More Related Content

Similar to PAU - Intoducing domotics...

Introduction to Robotic Process Automation_EMK_2nd Class
Introduction to Robotic Process Automation_EMK_2nd Class Introduction to Robotic Process Automation_EMK_2nd Class
Introduction to Robotic Process Automation_EMK_2nd Class
Redwan Ferdous
 
O365Engage17 - Ins and outs of monitoring office 365
O365Engage17 - Ins and outs of monitoring office 365O365Engage17 - Ins and outs of monitoring office 365
O365Engage17 - Ins and outs of monitoring office 365
NCCOMMS
 
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
Cyber Security Alliance
 
Portfolio
PortfolioPortfolio
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
Angel Alberici
 
TMPA-2015: Software Engineering Education: The Messir Approach
TMPA-2015: Software Engineering Education: The Messir ApproachTMPA-2015: Software Engineering Education: The Messir Approach
TMPA-2015: Software Engineering Education: The Messir Approach
Iosif Itkin
 
Automation in the world of projects - A few thoughts from business perspective
Automation in the world of projects - A few thoughts from business perspectiveAutomation in the world of projects - A few thoughts from business perspective
Automation in the world of projects - A few thoughts from business perspective
Zbyszek Mockun
 
Introduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion BoardsIntroduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion Boards
Matthew Deeprose
 
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
Yann Gourvennec
 
Product Owner Challenge 3.0 (Agile Cambridge 2016)
Product Owner Challenge 3.0 (Agile Cambridge 2016)Product Owner Challenge 3.0 (Agile Cambridge 2016)
Product Owner Challenge 3.0 (Agile Cambridge 2016)
Michael Tarnowski
 
OpenBrighton Event - Nov 2014
OpenBrighton Event - Nov 2014OpenBrighton Event - Nov 2014
OpenBrighton Event - Nov 2014
Paolo Vecchi
 
Open Brighton - Open Source and your business
Open Brighton - Open Source and your businessOpen Brighton - Open Source and your business
Open Brighton - Open Source and your business
Omnis Systems
 
Radical Quality From Toyota to Tech
Radical Quality From Toyota to TechRadical Quality From Toyota to Tech
Radical Quality From Toyota to Tech
Flavian Hautbois
 
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsEnterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and Apps
WSO2
 
Creating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPTCreating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPT
Jiveshwar Sharma
 
MmIT webinar 2018 - Essential tools and technologies for the library and info...
MmIT webinar 2018 - Essential tools and technologies for the library and info...MmIT webinar 2018 - Essential tools and technologies for the library and info...
MmIT webinar 2018 - Essential tools and technologies for the library and info...
MmIT - Multimedia Information Technology Group for CILIP
 
IPT Workshops on Java Robotics and IoT
IPT Workshops on Java Robotics and IoTIPT Workshops on Java Robotics and IoT
IPT Workshops on Java Robotics and IoT
Trayan Iliev
 
Agile meets IoT: AgileIoT and Eclipse Duttile
Agile meets IoT: AgileIoT and Eclipse DuttileAgile meets IoT: AgileIoT and Eclipse Duttile
Agile meets IoT: AgileIoT and Eclipse Duttile
Felice Pescatore
 
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
Joakim Lindbom
 
Python and BIG Data analytics | Python Fundamentals | Python Architecture
Python and BIG Data analytics | Python Fundamentals | Python ArchitecturePython and BIG Data analytics | Python Fundamentals | Python Architecture
Python and BIG Data analytics | Python Fundamentals | Python Architecture
Skillspeed
 

Similar to PAU - Intoducing domotics... (20)

Introduction to Robotic Process Automation_EMK_2nd Class
Introduction to Robotic Process Automation_EMK_2nd Class Introduction to Robotic Process Automation_EMK_2nd Class
Introduction to Robotic Process Automation_EMK_2nd Class
 
O365Engage17 - Ins and outs of monitoring office 365
O365Engage17 - Ins and outs of monitoring office 365O365Engage17 - Ins and outs of monitoring office 365
O365Engage17 - Ins and outs of monitoring office 365
 
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
ASFWS 2013 - Cryptocat: récents défis en faisant la cryptographie plus facile...
 
Portfolio
PortfolioPortfolio
Portfolio
 
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
20210428 - Sustainable Engineering practices & API Communities: Adoption Best...
 
TMPA-2015: Software Engineering Education: The Messir Approach
TMPA-2015: Software Engineering Education: The Messir ApproachTMPA-2015: Software Engineering Education: The Messir Approach
TMPA-2015: Software Engineering Education: The Messir Approach
 
Automation in the world of projects - A few thoughts from business perspective
Automation in the world of projects - A few thoughts from business perspectiveAutomation in the world of projects - A few thoughts from business perspective
Automation in the world of projects - A few thoughts from business perspective
 
Introduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion BoardsIntroduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion Boards
 
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
[En] The Web Doesn't Matter ... Well Maybe It Does A Little After All...
 
Product Owner Challenge 3.0 (Agile Cambridge 2016)
Product Owner Challenge 3.0 (Agile Cambridge 2016)Product Owner Challenge 3.0 (Agile Cambridge 2016)
Product Owner Challenge 3.0 (Agile Cambridge 2016)
 
OpenBrighton Event - Nov 2014
OpenBrighton Event - Nov 2014OpenBrighton Event - Nov 2014
OpenBrighton Event - Nov 2014
 
Open Brighton - Open Source and your business
Open Brighton - Open Source and your businessOpen Brighton - Open Source and your business
Open Brighton - Open Source and your business
 
Radical Quality From Toyota to Tech
Radical Quality From Toyota to TechRadical Quality From Toyota to Tech
Radical Quality From Toyota to Tech
 
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and AppsEnterprise Architecture in Practice: from Datastore to APIs and Apps
Enterprise Architecture in Practice: from Datastore to APIs and Apps
 
Creating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPTCreating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPT
 
MmIT webinar 2018 - Essential tools and technologies for the library and info...
MmIT webinar 2018 - Essential tools and technologies for the library and info...MmIT webinar 2018 - Essential tools and technologies for the library and info...
MmIT webinar 2018 - Essential tools and technologies for the library and info...
 
IPT Workshops on Java Robotics and IoT
IPT Workshops on Java Robotics and IoTIPT Workshops on Java Robotics and IoT
IPT Workshops on Java Robotics and IoT
 
Agile meets IoT: AgileIoT and Eclipse Duttile
Agile meets IoT: AgileIoT and Eclipse DuttileAgile meets IoT: AgileIoT and Eclipse Duttile
Agile meets IoT: AgileIoT and Eclipse Duttile
 
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
2015 10 dev ops n-fi - why it's a good idea to deploy 10 times per day v1.0 -...
 
Python and BIG Data analytics | Python Fundamentals | Python Architecture
Python and BIG Data analytics | Python Fundamentals | Python ArchitecturePython and BIG Data analytics | Python Fundamentals | Python Architecture
Python and BIG Data analytics | Python Fundamentals | Python Architecture
 

Recently uploaded

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 

Recently uploaded (20)

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 

PAU - Intoducing domotics...

  • 1. Programming your Lego Mindstorm NXT RobotLego Mindstorm NXT Robot PAU Lycée Saint-Cricq 15-21 Mar 2015 MORE – MObile Resources on Education
  • 2. MORE - MObile Resources on Education 22- PAU: 15-21 Mar 2015 2MORE - MObile Resources on Education 2 First of all… BUILDING OUR ROBOT! Prezi presentations  Domabot [Domabot on-line]  9797 basic model [9797 on-line]
  • 3. MORE - MObile Resources on Education 33- PAU: 15-21 Mar 2015 3MORE - MObile Resources on Education 3 And our… “ramp”  Don’t crash the wall Ramp version [Ramp on-line]
  • 4. MORE - MObile Resources on Education 44- PAU: 15-21 Mar 2015 4MORE - MObile Resources on Education 4 “Find” the problem…  The Robot is doing “somethingsomething”…  In your opinion which is the problemproblem it’s solving?
  • 5. MORE - MObile Resources on Education 55- PAU: 15-21 Mar 2015 5MORE - MObile Resources on Education 5 Video… problem  Solve “your” problem…
  • 6. MORE - MObile Resources on Education 66- PAU: 15-21 Mar 2015 6MORE - MObile Resources on Education 6 We would like…  A sequence of logical steps – e.g.:  When you press a button:  Go forward 3”  Turn right 90°  Go backwards 2”  When you press again a button:  Enjoy yourselfEnjoy yourself    !!!!!! Just a…flux diagramJust a…flux diagram
  • 7. MORE - MObile Resources on Education 77- PAU: 15-21 Mar 2015 7MORE - MObile Resources on Education 7 Flux Diagram (example) Start Acquire distance Set distance(=100) 50<distance<100 Set Motors Backwards Power 20% YES NO 25<distance<49 Set Motors Backwards Power 60% YES 0<distance<24 Set Motors Backwards Power 100% YES NO NO distance>100 Turn Motors off YES NO
  • 8. MORE - MObile Resources on Education 88- PAU: 15-21 Mar 2015 8MORE - MObile Resources on Education 8 See you soon…   …talking about youryour and ourour flux diagram  …and the robot program! At the end of our workshopAt the end of our workshop  !
  • 9. MORE - MObile Resources on Education 99- PAU: 15-21 Mar 2015 9MORE - MObile Resources on Education 9 Programming levels… Level 2Level 2 1 program running Interaction with the environment Level 1Level 1 1 program running NO interaction with the environment Level 0Level 0 NO Program running
  • 10. MORE - MObile Resources on Education 1010- PAU: 15-21 Mar 2015 10MORE - MObile Resources on Education 10 NONO sensor and… NONO program What is the robot seeing? [programming level_0] WiFiWiFi Bluetooth Bluetooth
  • 11. MORE - MObile Resources on Education 1111- PAU: 15-21 Mar 2015 11MORE - MObile Resources on Education 11 What do you need?  Wi Fi ConnectionWi Fi Connection:  1 Router (IP address, e.g.: 192.168.1.1) DHCP server  1 notebook (IP address, e.g.: 192.168.1.55)  1 smart phone Connected to the “DLink” network  Run your “IP Webcam”“IP Webcam” android app (Your smart phone will be a webcam server)webcam server)  Please read the IP address given by the DHCP server (something like: 192.168.1.xxx:8080) WiFiWiFi
  • 12. MORE - MObile Resources on Education 1212- PAU: 15-21 Mar 2015 12MORE - MObile Resources on Education 12 And…  Bluetooth connectionBluetooth connection  1 Smartphone  MO_R_E_NXT_Remote_control_V2  Download your own copy .apk file (from tablet)  Install the MO_R_E_NXT_ … program  Connect to the robot (PAU_3, PAU_5 or PAU_6)  Run your software copy  Drive your Robot Bluetooth Bluetooth
  • 13. MORE - MObile Resources on Education 1313- PAU: 15-21 Mar 2015 13MORE - MObile Resources on Education 13 Programming language (NXT 2.0) Common Data Advanced Flow Action Sensor
  • 14. MORE - MObile Resources on Education 1414- PAU: 15-21 Mar 2015 14MORE - MObile Resources on Education 14 No sensor [programming level_1]  The robot is programmed… It’s always doing the same “things”, with no interaction with the environment… We need:  1 Domabot
  • 15. MORE - MObile Resources on Education 1515- PAU: 15-21 Mar 2015 15MORE - MObile Resources on Education 15 “No sensor” - Video…
  • 16. MORE - MObile Resources on Education 1616- PAU: 15-21 Mar 2015 16MORE - MObile Resources on Education 16 “No sensor” – Flux diagram
  • 17. MORE - MObile Resources on Education 1717- PAU: 15-21 Mar 2015 17MORE - MObile Resources on Education 17 NO Sensor program (1_NO_sensor.rbt) html Version
  • 18. MORE - MObile Resources on Education 1818- PAU: 15-21 Mar 2015 18MORE - MObile Resources on Education 18 Sound control [programming level_2]  The robot is moving forward, (remote) controlled by the intensity of sound… We needWe need: 1 Domabot 1 Sound sensor
  • 19. MORE - MObile Resources on Education 1919- PAU: 15-21 Mar 2015 19MORE - MObile Resources on Education 19 “Sound control” – Video…
  • 20. MORE - MObile Resources on Education 2020- PAU: 15-21 Mar 2015 20MORE - MObile Resources on Education 20 “Sound control” – Flux diagram
  • 21. MORE - MObile Resources on Education 2121- PAU: 15-21 Mar 2015 21MORE - MObile Resources on Education 21 Sound control program (2_Sound_control.rbt) html Version
  • 22. MORE - MObile Resources on Education 2222- PAU: 15-21 Mar 2015 22MORE - MObile Resources on Education 22 Line follower  The robot is following the black line… every path is good to solve “its” problem… We needWe need:  1 9797 robot  1 Light sensor  1 black path
  • 23. MORE - MObile Resources on Education 2323- PAU: 15-21 Mar 2015 23MORE - MObile Resources on Education 23 “Following the black line” – Video…
  • 24. MORE - MObile Resources on Education 2424- PAU: 15-21 Mar 2015 24MORE - MObile Resources on Education 24 “Line follower” – Flux diagram
  • 25. MORE - MObile Resources on Education 2525- PAU: 15-21 Mar 2015 25MORE - MObile Resources on Education 25 Line Follower program (3_Line_Follower.rbt) html Version
  • 26. MORE - MObile Resources on Education 2626- PAU: 15-21 Mar 2015 26MORE - MObile Resources on Education 26 “Problem solving” – Flux diagram
  • 27. MORE - MObile Resources on Education 2727- PAU: 15-21 Mar 2015 27MORE - MObile Resources on Education 27 Problem solving program (4_Problem_Solve.rbt) html Version
  • 28. MORE - MObile Resources on Education 2828- PAU: 15-21 Mar 2015 28MORE - MObile Resources on Education 28 Something else…  All sensors at once  Playing with a… joystick  http://www.nxtprograms.com/4x4_joystick/steps.html  Building your Express-botExpress-bot  http://www.nxtprograms.com/9797/express-bot/steps.html
  • 29. MORE - MObile Resources on Education 2929- PAU: 15-21 Mar 2015 29MORE - MObile Resources on Education 29 All Sensors
  • 30. MORE - MObile Resources on Education 3030- PAU: 15-21 Mar 2015 30MORE - MObile Resources on Education 30 All Sensors - Programm html Version
  • 31. MORE - MObile Resources on Education 3131- PAU: 15-21 Mar 2015 31MORE - MObile Resources on Education 31 Joystick Drive html Version http://www.nxtprograms.com/programs/Joystick_Drive.rbt