Title: Mindstorms
1Mindstorms
2Presentatie Lego Mindstorms
12 april 2001
- Arjen de Waard
- Hugo Wesseling
- Emile Hobo
3Indeling Presentatie
- Introductie
- Lego Mindstorms Componenten
- Programmeren van Lego Mindstorms
- Toepassingsgebied
- Lego Mindstorms Projecten uit de Praktijk
4Introductie
- Lego Technic
- Mechanieken
- Aandrijving dmv motor / pneumatiek
- Lego Mindstorms
- Programmeerbare bouwstenen
- Autonome robots
5Overzicht Componenten
PC
Programmeerbare Controller
Sensoren
Actuatoren
6Lego Sensoren
- Touch Sensor
- Light Sensor
- Rotation Sensor
- Temperature Sensor
7Lego Sensoren
- Lego Cam (Vision Command)
- Videobeelden opnemen
- Detecteren van licht
- Detecteren van kleur
- Detecteren van bewegingen
- Beeldherkenning
8Lego Actuatoren
- Gear Motor
- Lamp
- Fiber Optics Strands
9Lego Controllers
- Micro Scout (Dark Side Developerkit / Droid
Developerkit) - ingebouwde licht sensor
- ingebouwde motor
- 7 programma's
10Lego Controllers
- Scout (Robotics Discovery Set)
- ingebouwde licht sensor
- 2 ingangen voor sensoren
- 2 uitgangen voor actuatoren
- infrarood communicatie
11Lego Controllers
- RCX (Robotics Invention System)
- 3 ingangen voor sensoren
- 3 uitgangen voor actuatoren
- infrarood communicatie
12IR Communicatie
IR Transmitter voor communicatie met PC Remote
Control
13Alternatieve Componenten
- Handy Board (Fred Martin, MIT)
- 7 ingangen voor analoge sensoren
- 9 ingangen voor digitale sensoren
- 4 uitgangen voor DC motoren
14Alternatieve Componenten
- Ultrasonische Afstand Bepaling
15Alternatieve Componenten
- Sensors van DCP Microdevelopments
- Vochtigheid Sensor
- Luchtdruk Sensor
- Beweging Sensor
- Geluid Sensor
- ph Sensor
- Spanning Sensor
16Programmeren van controllers
- Personal Computer nodig (Ruputer)
- Communicatie tussen computer en controller
- Taal nodig voor programmeren
- Mogelijk door CPU in controllers
- Talen nodig voor verschillende doelgroepen
17Programmeertalen
- Programmeren in verschillende talen
- Not Quite C
- Grafisch programmeren
- Forth for the RCX
- legOS
18Not Quite C
- Lijkt op C (java)
- Tasks en subs
- Gebruik van variabelen
- Sensoren lezen
XSENSOR_1
19Not Quite C
Setoutput( OUT_AOUT_B, OUT_ON)
- Compileren
- Uploaden naar controller
20Grafisch programmeren
- Simpel ? Drag en drop
- Bouwstenen
- Commands
- Sensor watchers
- Stack controllers
- User commands
21Grafisch programmeren
- Event handling (parallel)
- Geen variabelen
- Snel programmas
- bouwen
22Toepassingen
- Speelgoed
- Educatief
- Onderzoek
23Mindstorms in de praktijk
- Constructie van robots
- Voortbeweging
- - Lopen
- - Rijden
- - Obstakelontwijking
- Artificial life
24Een lopende spin
- Voortbewegen als insect
- Eenvoudige constructie
- - Weinig motoren
- - Weinig sensoren
- - Makkelijk uitbreidbaar
- Onderzoeksobject
Fig. 1 Een eerste prototype
25De voortbeweging
- Niet elke poot afzonderlijk
- Omcirkelde poten worden opgetild
Fig. 2 De voortbeweging
26Resultaat
- Druksensoren
- - Lichtsensoren
- Poten multiterrein
- Afstandsbediening
Fig. 3 Uiteindelijke robot
27Rijdende robot
- Gegroepeerde wielbesturening
- Manouvreren in elke richting
- Model voor toekomst
- - Kantoren
- - Precisie robots
Fig. 4 Het rijmechanisme
28De vectorrover
- Rijdende robot
- Neemt omgeving waar
- - Ziet
- - Tast
- Moet intelligent de weg zoeken
Fig. 5 De vectorrover
29The jungle cube
- Artificial life
- Zwak en sterk
- Dag en nacht
- Emoties
- Survival
Fig. 6 De jungle
30 en zijn bewoners
- Zelfstandige agents
- Eigen persoonlijkheid
- - Wil om te overleven
- - Vijandig / Vriendelijk
- - Kan geluid maken
- Synchronisatie
Fig. 7 VOER!
31(No Transcript)
32Mindstorms on the Net
- Excellent facility to overcome any obstacles that
may be encountered - Common questions answered
- Program tuition
- Additional products introduced
33Touch and light sensors
- Very easy to assemble
- Very sensitive to external stimuli
34Rotation and temperature sensors
- Temperature sensor would be of particular use in
conducting potentially dangerous science
experiments via robotics
35Robotic Command Explorer
- RCX
- program downloaded via infra red beam
- 3 output terminal- used for motors
- 3 in/out terminals for touch, light, temperature
sensors
36My model
- Lego construction enjoyable, however the
integration of the motors seemed a little
difficult in terms of design - The motors should snap together
37It works
38Using both sensors
39RCX as Find Command Simulator
- Translating Abstract Computing Concepts into
Physical Form
40(or) the True Story of..
41..Young, successful, blonde-haired, blue-eyed,
charming I.T. professional seeks HOT STUFFPlease
contact HARRY at P.O. Box 1591.
42Scenario I End of File (Face it, Harry, she
just aint out there!)
Starting Point Execute Find Command
Correct Record not found/ E.O.F. Program ends
after 30 Seconds
RECORD 1
RECORD 2
RECORD 3
Incorrect Records
RECORD 4
Correct Record
43Scenario II Timeout (Only one step short of
Heaven.)
RCX Find Command Simulator Timeout Scenario
Starting Point Execute Find Command
Starting Point Execute Find Command
FindProgram (30 Seconds Duration) ends
without record being found Timeout!
FindProgram (30 Seconds Duration) ends
without record being found Timeout!
RECORD 1
RECORD 1
RECORD 2
RECORD 2
RECORD 3
RECORD 3
Incorrect Record
Incorrect Record
RECORD 4
RECORD 4
Correct Record
Correct Record
44Scenario III Successful Record Retrieval (and
their eyes met across a crowded room)
Starting Point Execute Find Command
Find ends when correct record found
RECORD 1
Message sent to second RCX
RECORD 2
RECORD 3
Incorrect Records
RECORD 4
Correct Record
45How the Find Command Simulator Works
- Running RCX Program as a Metaphor for Execution
of Find Command (Search Engine query). - Physical Environment as Database Table.
- Obstacles Within Environment as Records in
Database Table. - Touch Sensors Locate Incorrect Records
46How the Find Command Simulator Works
- 4. Light Sensor Locates Correct Record.
- 5. On Retrieval of Correct Record, Find Output
Delivered on Screen via Infra-Red Message to
Second RCX
47How the Find Command Simulator Works
- 6. Motors Off to Signify End of Search.
- 7. Correct Record Not Found Within 30 Seconds
Search Timeout/ End of File.
48Disadvantages/Limitations of Lego Mindstorms 1
-
- Criticism Aurally-impaired Users or Users
without a Soundcard excluded from Software
Tutorial. - Recommendation Voice-over should be accompanied
by additional sub-titled Text. - Criticism No Obvious Means of Skipping Tutorial
results in many Users going through Process each
time Software is installed - Recommendation There should be better
Signposting of Skip Tutorial Option.
49Disadvantages/Limitations of Lego Mindstorms 2
-
- Criticism There is more Emphasis on Mechanical
Skills than is Necessary for our Purpose,
although this in itself is not a bad thing. - Recommendation For Non-Engineering Students, a
Pre-Assembled Model might be of more Use. - Criticism If one uses the Software Guide
without having IR transmitter connected to PC,
one is forced to exit the Application. - Recommendation Independence of Software Guide
IR Transmitter/ RCX.
50Disadvantages/Limitations of Lego Mindstorms
- Criticism Difficulty in identifying where
Process is failing, e.g., whether it is Software
or Hardware-related - Recommendation Debugger tool should be included
in Package. - Criticism Conflict between Interrupt Handlers
means that event-oriented Program will not run. - Recommendation Better Troubleshooting for
Programming (as opposed to Construction). - Criticism Built-in Obsolence.
- For Example Rubber-Bands last an average of 5
Minutes, therefore, after one has run out of the
supply included in the kit, it is no longer
possible to test.
51Advantages of Lego Mindtools 1
- Easy Introduction to Computer Programming.
- Opportunity to show abstract Concepts in
concrete Form. - Opportunity for Multi-Faceted Learning, e.g.,
Programming/ Mechanics/ Engineering/ etc.
52Advantages of Lego Mindtools 2
-
- Instructions are self-explanatory, logical and
intuitive. - Positive Feedback provided throughout Tutorial
which is encouraging for the Beginner.
53Program screenshot
Example of one Program that didnt work because
of conflict between stacks
54Academic Evaluation
Hugobos
- Excellent means of introducing basic programming
concepts such as loops, nested loops and
conditional statements, in an environment where
effects on an end product can easily be viewed - Excellent teaching tool for In/ Out devices and
interfacing - Robotics is put easily within the grasp of a
teenager
- The integration of both software and hardware
gives a very balanced education - The complementary relationship between hardware
and software can be seen at a glance, as opposed
to the traditional approach of introducing both
as separate disjointed topics in IT
55- Biped 1
-
-
- This is the biped robot "Biped 1". This robot
has an ankle motor each leg,and can walk by
switching own center of balance.
56(No Transcript)
57(No Transcript)
58(No Transcript)
59(No Transcript)
60(No Transcript)
61(No Transcript)
62(No Transcript)
63(No Transcript)
64(No Transcript)
65(No Transcript)
66(No Transcript)
67(No Transcript)
68(No Transcript)
69(No Transcript)
70(No Transcript)
71(No Transcript)
72(No Transcript)
73(No Transcript)
74(No Transcript)
75(No Transcript)
76(No Transcript)
77(No Transcript)
78(No Transcript)
79(No Transcript)
80(No Transcript)
81(No Transcript)
82(No Transcript)
83(No Transcript)
84(No Transcript)
85(No Transcript)
86(No Transcript)
87(No Transcript)
88(No Transcript)
89(No Transcript)
90(No Transcript)
91(No Transcript)
92(No Transcript)
93(No Transcript)
94(No Transcript)
95(No Transcript)
96(No Transcript)
97(No Transcript)
98(No Transcript)
99(No Transcript)
100(No Transcript)
101(No Transcript)
102(No Transcript)
103(No Transcript)