Few days Arduino based project to develop sound (frequency) dependent haptic interface for simulated instruments on touch-screen devices like tablets or phones. Input is simply the audio signal. Could be expanded to real instruments for the enhancement of the feeling by using a microphone.
Few days Arduino based project to develop sound (frequency) dependent haptic interface for simulated instruments on touch-screen devices like tablets or phones. Input is simply the audio signal. Could be expanded to real instruments for the enhancement of the feeling by using a microphone.
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 monthsindustrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
BASIC COURSE
2 Contence | Cursus Basiskennis LEGO MINDSTORMS
C ON T E N C E
CONTENTS ....................................................................................................................................... 2
PREFACE .......................................................................................................................................... 3
USE OF SENSORS ............................................................................................................................. 4
INTRODUCTION ................................................................................................................................... 4
TASK 1 : USING MOTORS ....................................................................................................................... 4
WHEN DO YOU USE A MOTOR? ...................................................................................................................... 4
HOW TO USE A LEGO MOTOR ......................................................................................................................... 5
HOW TO USE THE “DISPLAY”SCREEN ................................................................................................................ 5
TASK .......................................................................................................................................................... 5
TASK 2 : USING THE TOUCH SENSOR ......................................................................................................... 7
WHAT IS A TOUCH SENSOR AND WHAT CAN YOU USE IT FOR? .............................................................................. 7
HOW TO USE THE LEGO TOUCH SENSOR ........................................................................................................... 7
TASK .......................................................................................................................................................... 8
TASK 3 : USING A LICHTSENSOR ............................................................................................................. 9
WHAT DO YOU USE THE LIGHT SENSOR FOR? .................................................................................................... 9
HOW DO YOU USE THE LEGO LIGHTSENSOR? ................................................................................................... 10
HOW TO CALIBRATE THE LIGHT SENSOR .......................................................................................................... 11
TASK ........................................................................................................................................................ 11
TASK 4 : USING THE ULTRASONIC SENSOR ................................................................................................ 13
WHAT IS AN ULTRASONIC SENSOR AND WHAT IS IT USED FOR? ..................................... ...
Multisim Software Programming Training Phagwara JalandharE2Matrix
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 months industrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
Multisim Software Programming Training Jalandhar ChandigarhE2Matrix
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 monthsindustrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 monthsindustrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
BASIC COURSE
2 Contence | Cursus Basiskennis LEGO MINDSTORMS
C ON T E N C E
CONTENTS ....................................................................................................................................... 2
PREFACE .......................................................................................................................................... 3
USE OF SENSORS ............................................................................................................................. 4
INTRODUCTION ................................................................................................................................... 4
TASK 1 : USING MOTORS ....................................................................................................................... 4
WHEN DO YOU USE A MOTOR? ...................................................................................................................... 4
HOW TO USE A LEGO MOTOR ......................................................................................................................... 5
HOW TO USE THE “DISPLAY”SCREEN ................................................................................................................ 5
TASK .......................................................................................................................................................... 5
TASK 2 : USING THE TOUCH SENSOR ......................................................................................................... 7
WHAT IS A TOUCH SENSOR AND WHAT CAN YOU USE IT FOR? .............................................................................. 7
HOW TO USE THE LEGO TOUCH SENSOR ........................................................................................................... 7
TASK .......................................................................................................................................................... 8
TASK 3 : USING A LICHTSENSOR ............................................................................................................. 9
WHAT DO YOU USE THE LIGHT SENSOR FOR? .................................................................................................... 9
HOW DO YOU USE THE LEGO LIGHTSENSOR? ................................................................................................... 10
HOW TO CALIBRATE THE LIGHT SENSOR .......................................................................................................... 11
TASK ........................................................................................................................................................ 11
TASK 4 : USING THE ULTRASONIC SENSOR ................................................................................................ 13
WHAT IS AN ULTRASONIC SENSOR AND WHAT IS IT USED FOR? ..................................... ...
Multisim Software Programming Training Phagwara JalandharE2Matrix
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 months industrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
Multisim Software Programming Training Jalandhar ChandigarhE2Matrix
The main motive of industrial training institute is to educate desired students about the industry and the online trends in the world of IT. As we know, IT industry keeps on changing – and it always is a good idea to learn and grow in a great ambiance where you can learn better about the field regarding different prospects.
Why to Enroll for Industrial Training Courses?
Create & Develop a LIVE Project
Enhance your skills and become employable by hands-on training
Get Corporate Exposure & interact with industry experts
Get Technology Certification & Project Experience
Project based training is an important aspect of any training program and an integral part of the curriculum of all engineering and technical courses. Moreover, a student gets a chance to work on live project to sharpen his knowledge and skills. Many prestigious universities have included 6 months training program in their curriculum to help students learning and reaching their goals.
E2MATRIX Provide industrial training for all those students who want to learn software languages and methodology. We have all types of training programs as per the requirements of students. Our 6 Months Industrial Training Program is especially for last semester students of MCA, B. Tech., BE, M.sc, B.sc. Diploma etc. Students will work on LIVE PROJECTS during their 6 monthsindustrial training. So why just go to any institute for training if you have an opportunity to learn from it experts
iTALC (Intelligent Teaching And Learning with Computers) es una poderosa herramienta de uso didáctico para docentes desarrollada por Tobias Doerffel y Andrei Krueger. Es de uso libre y gratuito distribuido bajo licencia GPL. PNTE
Amaiurko Haur eta Lehen Hezkuntzako Ikastetxe Publikoa
Oronozko Haur eta Lehen Hezkuntzako Ikastetxe Publikoa
Iruritako Haur eta Lehen Hezkuntzako Ikastexe Publikoa
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Modelo oficial del Kit Base 9580 de LEGO WeDo. Enlace original https://education.lego.com/es-es/lesi/support/product-support/wedo/wedo-base-set-9580/building-instructions.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
1. Configuring a Sensor
http://enchanting.robotclub.ab.ca
Suppose we have an NXT with a light sensor connected on port 3. How do we tell Enchanting this?
0
(tell your NXT what is plugged into it, and where)
1. Click on the
“Sensing” palette.
2. Click on the
“Configure Sensors”
button. A dialog
comes up.
3. Find the light sensor
configuration block on
the left-hand side of the
dialog. Drag it to
“Sensor Port 3” and
drop it there.
4. Choose what sort of
light sensor you have.
5. Optionally, give it a descriptive name.
6. Press “OK”.
7. You now have
new blocks to use!
2. Morse Key
Select the palette, and click on the
button [it is above all
the light blue blocks].
Configure a touch sensor, like this:
Make sure that your touch sensor is
on port 1 on the actual robot.
Click the and wait for the program to
run on the robot. Press and release the
touch sensor. What happens?
GET
READY
TRY
THIS
CODE
DO
IT!
What would happen if you changed the note or the
duration?
Where could you use or ?
GO
FARTHER
YOU
NEED
An NXT with a touch sensor
connected to port 1.
Press a button to make a sound.
Morse Key
http://enchanting.robotclub.ab.ca1
Name it.
Beep!
3. Range Finder
From the palette, choose the
button.
Configure a ultrasonic sensor.
Make sure the port you configure it for
matches the port the real ultrasonic sensor
is plugged into!
Click the and wait for the program to run.
Point the ultrasonic sensor at different objects.
What do you see on the screen?
GET
READY
TRY
THIS
CODE
DO
IT!
What are the largest and smallest values you see?
Are there any gaps where you get no numbers?
GO
FARTHER
YOU
NEED
An NXT with an ultrasonic sensor
connected to port 4.
See how far away something is.
Range Finder
http://enchanting.robotclub.ab.ca2
4. Sound Meter
From the palette, choose
the button.
Configure a sound sensor.
Paint a new costume for the sprite -- make it a dot!
Click the and wait
for the program to run.
Whisper, talk, sing, shout, or blow on
the sound sensor.
GET
READY
TRY
THIS
CODE
DO
IT!
YOU
NEED
An NXT with a sound sensor*
connected to port 2.
* Not included in all NXT sets.
Create a sound-level meter.
Sound Meter
http://enchanting.robotclub.ab.ca3
Draw a
gauge on the
background.
Adjust how far the meter
moves back and forth.
GO
FARTHER
quiet
LOUD!
5. Differential Drive
http://enchanting.robotclub.ab.ca
From the palette, choose the button. Configure a differential drive.
The first number embossed on a
LEGO tire is the tire’s diameter in
millimeters. This tire is 56 mm across.
The track width is how far apart the
wheels are. Measure from a place on
the left wheel to that same place on
the right wheel. Here, measuring from
the left-most point of the left wheel to
the left-most point of the right wheel,
the track width is about 9.4 cm.
PortA
Rightmotor
PortC
Leftmotor
9.4 cm
4
If you tell the robot to drive forwards
and it goes backwards, swap the
direction that you’ve configured the
motors to drive in the drive type.
The robot needs
to know which
ports the left and
right motors are
on so it can
steer!
If your robot has two
wheels, it is using a
differential drive!
(lets your two-wheel robot drive around)
6. Square Dance
From the palette, choose the
button. Configure a differential drive, using the instructions on Card
#4. Measure numbers to match your robot.
Click the and wait for the program to run. Unplug the
USB cable and place the robot where you want it to
start. Press the orange “enter” button on the NXT.
Does the robot “dance” in a square? (Is it configured properly?)
Note that you’ll never get 100% accurate motion.
Press the orange “enter” and dark grey “exit” buttons on the NXT to
quit the program before plugging it back into the computer.
GET
READY
TRY
THIS
CODE
DO
IT!
What other shapes and patterns could you make the
robot “dance”? Could you have one robot “dance” a square inside a
square being “danced” by another robot, at different speeds?
GO
FARTHER
YOU
NEED
An NXT with two driving wheels.
Drive in a square.
Square Dance
http://enchanting.robotclub.ab.ca5
7. Crash Test
➔ as on Card #4.
➔ .
Configure a touch sensor for use as a
bumper.
Click the and wait for the program to run. Unplug the
USB cable and place the robot where you want it to
start. Press the orange “enter” button on the NXT.
The robot drives until it hits something. Pick it up and press the
“enter” button again. It drives until it hits something.
GET
READY
TRY
THIS
CODE
DO
IT!
Can you make the robot say something when it hits a
wall, such as, “Ouch, my nose” or “Ooof”? Could you
draw eyes on it and make it wince?
How would you make the robot explore a room? Try it out!
GO
FARTHER
YOU
NEED
An NXT with two driving wheels and a
bumper (touch sensor) on port 1.
Drive into a wall and then stop.
Crash Test
http://enchanting.robotclub.ab.ca6
8. Mexican Wave
➔ as on Card #4.
➔ .
Configure a sound sensor to listen for
the start command.
This works best if
you have a whole line up of
robots. The delay for each
robot is a couple of seconds
longer for the one before it in
line.
On each robot, click the
and wait for the program to
run. Unplug the USB cable
and place the robot in line.
Then, on a signal, you all
shout “go” together, and
then, one by one, the robots
do the same wave maneuver!
GET
READY
TRY
THIS
CODE DO
IT!
What other displays can you “choreograph”?
(“Choreography” is the art of designing of movements, and comes
from Greek words meaning “dance writing”).
GO
FARTHER
YOU
NEED
1+ NXTs, each with two driving wheels
and a sound sensor* on port 2.
* Not included with all NXT sets.
Shout “go”, and each robot, in turn,
drives forwards, backwards and
forwards again.
Mexican Wave
http://enchanting.robotclub.ab.ca7
9. Shy Puppy
➔ as on Card #4.
➔ .
Configure an ultrasonic sensor.
Click the and wait
for the program to run. Unplug
the USB cable and press the
orange “enter” button on the
NXT.
Try walking away from the robot.
Does it follow? Try going towards
it. Does it shy away? Does it
ever stand still?
GET
READY
TRY
THIS
CODE DO
IT!
What would happen
if you made the robot turn?
What do two or more robots
together do?
Add a face to the robot, make it
“speak”, or dress it up!
GO
FARTHER
YOU
NEED
An NXT with two driving wheels and an
ultrasonic sensor pointing forwards
Robot follows you around and
wants to be close, but not too close!
Shy Puppy
http://enchanting.robotclub.ab.ca8
Too far!
Too close!
Just right!
10. Sparkline In , choose the
button. Configure a
light or colour
sensor, choosing
the one you
have.
GET
READY
TRY
THIS
CODE
YOU
NEED
An NXT with a light or colour
sensor on port 3.
Graph a changing value.
Sparkline
http://enchanting.robotclub.ab.ca9
Click the to start.
Move the light sensor
over different colours and shades.
Move it closer and farther from a
surface. Point it at a light. Change
the angle. What happens?
DO
IT!
What happens
if you add in the auto-
calibration blocks?
Try drawing a white line on a
black background.
Change the lamp colour.
GO
FARTHER
11. Follow That Line!
➔ as on Card #4.
➔ .
Configure and name a
light or colour sensor,
choosing the type that
matches your sensor.
Click the and wait
for the program to run.
Unplug the USB cable, place
the robot on or beside a line,
and press the orange “enter”
button on the NXT.
Press the dark grey “exit”
button to stop the robot.
GET
READY
TRY
THIS
CODE DO
IT!
What happens if
you adjust the numbers?
Does the line-following course
make a difference? Can you
follow the edge of a table?
Where is the best place to put
your light sensor? What
would you do with a second or
third sensor? Draw eyes and
make them look left and right!
GO
FARTHER
YOU
NEED
An NXT with two driving wheels and a
light/colour sensor pointing downwards.
Follow a line around.
Follow That Line!
http://enchanting.robotclub.ab.ca10
12. Locator
➔ as on Card #4.
➔ .
Configure an ultrasonic sensor.
Click the and wait
for the program to run. Unplug
the USB cable and press the
orange “enter” button on the
NXT.
Move an object around in front of
the robot. Does it turn to follow
it?
GET
READY
TRY
THIS
CODE DO
IT!
How does it work?
How would you do this with two
sensors?
Can you make the robot ignore a
wall (and anything else as far
away as it)?
Try making it scan in a full circle
and point at the closest item.
GO
FARTHER
YOU
NEED
An NXT with two driving wheels
and an ultrasonic sensor on port 4.
Find a nearby object.
Locator
http://enchanting.robotclub.ab.ca11
13. Sumo
➔ as on
Card #5.
➔ . Configure
an ultrasonic sensor and a light/colour
sensor.
Create a bunch of costumes for your sprite,
using the text tool to display the following
words in large letters, “Countdown”,
“Wander”, “Attack”, “Retreat” and “Press
Button to Start”.
➔ . Create
variables named “next action”, “foe ahead”,
and “sees edge”.
YOU
NEED
Each competitor needs an NXT with two
driving wheels, an ultrasonic sensor, and
a light or colour sensor.
Push your opponent out of a ring.
Sumo
http://enchanting.robotclub.ab.ca12A
Trigger Behaviour
Sees edge Retreat
Foe ahead Attack
Wander
Arbiter
GET
READY
THE
PLAN
If it has nothing better to do,
the robot wanders around. If
it sees a foe ahead of it, the
robot attacks, trying to push
the enemy out of the ring.
Most importantly, if it sees
the edge, the robot retreats
from it, in an effort to stay in
the ring.
(card 1 of 2)
14. Sumo
Click
the and wait
for the program
to run.
Unplug the USB cable and
place the robot on the sumo
board. When you are told to
start your robot, press the
orange “enter” button on the
NXT.
DO
IT!
Can you add other behaviours
to the robot, or change some
of the existing ones? What
could you do to make your
sumo robot better?
Would this method of
programming work for other
robots?
GO
FARTHER
➔ . You’ll make blocks called “Attack”, “Retreat”,
“Wander”, and “Startup”.
TRY
THIS
CODE
http://enchanting.robotclub.ab.ca12B
DO
IT!
(card 2 of 2)