SlideShare a Scribd company logo
1 of 67
Download to read offline
Lego Mindstorms workshop
1
Nikhil Nanivadekar
@nikhilnanivade
Summer 2018
}  TI Sitara AM1808
◦  ARM9, 300Mhz
}  64MB RAM / 16MB Flash
}  Analog to Digital Converter
}  4 Motor Ports
}  4 Sensor Ports
}  Bluetooth / USB
}  MicroSD
2
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
3
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
4
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
5
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
High frequency
sound waves
Measuring mode Vs Presence Mode
6
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
7
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
8
Slide copied from: http://www.slideshare.net/steveonjava/devoxx4kids-lego-workshop?ref=http://steveonjava.com/java-lego-workshop-4-kids/
9
Assemble base
10
Assemble base
11
Assemble base
12
Assemble base
13
Yellow lock nuts on both sides
Assemble base
14
Assemble base
15
Assemble base
16
Assemble base
17
Assemble base
18
Assemble base
19
Assemble base
20
Assemble base
21
Assemble base
22
Assemble base
23
Assemble base
24
Assemble base
25
Assemble base
26
Assemble base
27
Assemble base
28
Assemble base
29
Assemble base
30
Assemble base
31
Assemble base
32
Assemble base
33
Assemble base
34
Assemble base
35
Assemble base
36
Assemble base
37
Assemble base
38
Assemble base
39
Assemble the Leg
40
Assemble the Leg
41
Assemble the Leg
42
Assemble the Leg
43
Assemble the Leg
44
Assemble the Leg
45
Assemble the Leg
46
2 pieces:
one for left
one for right
Assemble the Leg
47
Assemble the Leg
48
Assemble the Brick
49
Assemble the Brick
50
Assemble the Brick
51
Connect IR Sensor
52
Motor/Sensor Port
Left B
Right C
Leg A
IR Sensor 1
53
54
55
}  Ask an instructor for help
}  You can download it from: 

https://www.lego.com/en-us/mindstorms/downloads/
download-software
}  Click on Plus (+) sign at the top to start a blank project
}  You can also follow the instructions to see how to program
from:
https://www.lego.com/en-us/mindstorms/learn-to-program
}  Program is given on the next page which you need to
implement
56
}  Click on File > New Project
57
}  Once the new project opens you are ready to code
}  At the bottom of the screen, choose Flow Control -> Loop
58
}  Add the Switch Cases: At the bottom choose Flow Control -> Switch
}  Change the sensor to Infrared Sensor, mode to be remote
}  Change the port to 1
59
}  Now start adding the cases
60
}  Case 1
◦  Top left button of remote
◦  Change steering to time mode
◦  You can adjust the power. Do not give a lot of power otherwise your
robot will fall. Less power will make it go slow. Choose wisely
61
}  Case 2
◦  Bottom left button of remote
◦  Change steering to time mode
◦  You can adjust the power. Make sure power is of opposite sign that of
case 1. Do not give a lot of power otherwise your robot will fall. Less
power will make it go slow. Choose wisely
62
}  Case 3
◦  Top Right button of remote
◦  Add steering pilot
◦  Change to degree mode. You can change power and angle of rotation.
Choose wisely.
63
}  Case 4
◦  Bottom right button of remote
◦  Add steering pilot
◦  Change to degree mode. You can change power and angle of rotation.
Change the angle of rotation to opposite of Case3. Choose wisely.
64
}  Case 5
◦  Top Left and Top right button of remote at the same time
◦  Add small motor for leg
◦  Make sure that the motor is powerful enough to kick and also add a
return to the leg to come back once kicked
65
66
}  Each match will last 5 minutes
}  Team with the highest goals win
}  One participant from each team can control the remote
}  In case of a tie, additional 2 minutes will be given
}  If there is still a tie, then there will be a penalty shootout
}  If there is still a tie, then a coin toss will decide
67

More Related Content

Similar to Football workshop j_crete4_kids 2018

Twin wheeler modified for arduino simplified serial protocol to sabertooth v22
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22Twin wheeler modified for arduino simplified serial protocol to sabertooth v22
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22josnihmurni2907
 
Ultimaker original assembly_manual_v1.1
Ultimaker original assembly_manual_v1.1Ultimaker original assembly_manual_v1.1
Ultimaker original assembly_manual_v1.1Franck Lecluse
 
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015Super Scooter Brochure; Electric Motorcycles; Dec 8 2015
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015Mark Davis
 
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuii
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuiiqwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuii
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuiiJackieVasquezraymund1
 
Permettere al cliente di apprezzare l'approccio agile
Permettere al cliente di apprezzare l'approccio agilePermettere al cliente di apprezzare l'approccio agile
Permettere al cliente di apprezzare l'approccio agileSteve Maraspin
 
Bizgram memory card hard disk storage garmin watch nas
Bizgram memory card hard disk storage garmin watch nasBizgram memory card hard disk storage garmin watch nas
Bizgram memory card hard disk storage garmin watch nasBizgram Asia Pte Ltd
 

Similar to Football workshop j_crete4_kids 2018 (8)

Twin wheeler modified for arduino simplified serial protocol to sabertooth v22
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22Twin wheeler modified for arduino simplified serial protocol to sabertooth v22
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22
 
Ultimaker original assembly_manual_v1.1
Ultimaker original assembly_manual_v1.1Ultimaker original assembly_manual_v1.1
Ultimaker original assembly_manual_v1.1
 
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015Super Scooter Brochure; Electric Motorcycles; Dec 8 2015
Super Scooter Brochure; Electric Motorcycles; Dec 8 2015
 
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuii
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuiiqwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuii
qwertyyuuiioiopppdffghhjklñ´ñ´´ghjklljuuii
 
Permettere al cliente di apprezzare l'approccio agile
Permettere al cliente di apprezzare l'approccio agilePermettere al cliente di apprezzare l'approccio agile
Permettere al cliente di apprezzare l'approccio agile
 
Bizgram memory card hard disk storage garmin watch nas
Bizgram memory card hard disk storage garmin watch nasBizgram memory card hard disk storage garmin watch nas
Bizgram memory card hard disk storage garmin watch nas
 
Accelerate performance
Accelerate performanceAccelerate performance
Accelerate performance
 
M8_Manual (1).pdf
M8_Manual (1).pdfM8_Manual (1).pdf
M8_Manual (1).pdf
 

Recently uploaded

Early Modern Spain. All about this period
Early Modern Spain. All about this periodEarly Modern Spain. All about this period
Early Modern Spain. All about this periodSaraIsabelJimenez
 
Chizaram's Women Tech Makers Deck. .pptx
Chizaram's Women Tech Makers Deck.  .pptxChizaram's Women Tech Makers Deck.  .pptx
Chizaram's Women Tech Makers Deck. .pptxogubuikealex
 
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRRINDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRRsarwankumar4524
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGYpruthirajnayak525
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxCarrieButtitta
 
Quality by design.. ppt for RA (1ST SEM
Quality by design.. ppt for  RA (1ST SEMQuality by design.. ppt for  RA (1ST SEM
Quality by design.. ppt for RA (1ST SEMCharmi13
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRachelAnnTenibroAmaz
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.KathleenAnnCordero2
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Escort Service
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...漢銘 謝
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationNathan Young
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
Engaging Eid Ul Fitr Presentation for Kindergartners.pptx
Engaging Eid Ul Fitr Presentation for Kindergartners.pptxEngaging Eid Ul Fitr Presentation for Kindergartners.pptx
Engaging Eid Ul Fitr Presentation for Kindergartners.pptxAsifArshad8
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comsaastr
 

Recently uploaded (20)

Early Modern Spain. All about this period
Early Modern Spain. All about this periodEarly Modern Spain. All about this period
Early Modern Spain. All about this period
 
Chizaram's Women Tech Makers Deck. .pptx
Chizaram's Women Tech Makers Deck.  .pptxChizaram's Women Tech Makers Deck.  .pptx
Chizaram's Women Tech Makers Deck. .pptx
 
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRRINDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptx
 
Quality by design.. ppt for RA (1ST SEM
Quality by design.. ppt for  RA (1ST SEMQuality by design.. ppt for  RA (1ST SEM
Quality by design.. ppt for RA (1ST SEM
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism Presentation
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
Engaging Eid Ul Fitr Presentation for Kindergartners.pptx
Engaging Eid Ul Fitr Presentation for Kindergartners.pptxEngaging Eid Ul Fitr Presentation for Kindergartners.pptx
Engaging Eid Ul Fitr Presentation for Kindergartners.pptx
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
 

Football workshop j_crete4_kids 2018