SlideShare una empresa de Scribd logo
1 de 31
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

Más contenido relacionado

Similar a 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 365NCCOMMS
 
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
 
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 ApproachIosif 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 perspectiveZbyszek Mockun
 
Introduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion BoardsIntroduction to Blackboard Discussion Boards
Introduction to Blackboard Discussion BoardsMatthew 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 2014Paolo 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 businessOmnis Systems
 
Radical Quality From Toyota to Tech
Radical Quality From Toyota to TechRadical Quality From Toyota to Tech
Radical Quality From Toyota to TechFlavian 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 AppsWSO2
 
Creating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPTCreating and Delivering Online Presentations PPT
Creating and Delivering Online Presentations PPTJiveshwar Sharma
 
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 IoTTrayan 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 DuttileFelice 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 ArchitectureSkillspeed
 

Similar a 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
 

Último

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 

Último (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
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.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

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