|
Lessons |
Projects, Slides, & Videos
|
-
Lesson 1
Introduction to Robotics
|
-
Learning about
robotics & the
NXT
- Robotic Design Options
Choose a
robot to build and get going!
|
-
Lesson 2
Introduction To the Lego Programming Editor
|
-
Introduction to LEGO-G Programming: How to move
your robot
Thinking as a programmer...
Ideas about how to "talk" to a machine
Learning about the Lego Editor
Video
-
Motor Basics
Programming
Moving the Robot
Video
Compare
Motor Blocks & Move Blocks
-
Pre-challenge: Testing your sensors
and moving your robot.
Program the bot to move forward 5 wheel
rotations then go backwards the same amount
using the MOVE block.
Also figure out how to make the robot turn 90
degrees left and right. Be sure to record your
results.
Now, do the same thing but use the MOTOR
block.
-
Learning about Wait
controls
Video
|
-
Lesson
3
Your robots specifications
|
- Determining Your Robots
Abilities
-
Pre-challenge: Climbing and Sliding!
How well can your
bot climb, go downhill, etc? Use my ramp to test your
machine.
-
Inside your NXT
slides
-
Wheels & Distance Calculation
slides
Compile & record your
robots capabilities in your team packet.
|
-
Lesson 4
Making Turns & Avoiding Obstacles
|
-
Pre-challenge:
Left & Right
Programming
Compute & record the
turning
specifications in your packet.
Make your bot move forward about 3 feet and then turn left
for about 2 feet and stop.
Now make it go forward about 2 feet and then turn right for
about 2 feet.
- Challenge
#1: Hill Climb
Your bot must go up my ramp, turn
around at the blue line, and come back down without
crashing!
- Challenge
#2: Around the block
Your bot must move around a big box in a square without
crashing.
|
-
Lesson 5
All About Sensors
|
- The NXT Sensory Systems
-
Activity 4: Test your sensors.
Use the NXT View Me program to test your sensors.
Record the readings for the light sensor as it is over red,
white, black, & Green colors on the test pad.
|
-
Lesson 6
Using Loop Blocks & Wait blocks
|
- More Programming Concepts: Introduction to Loops
|
-
Lesson 7
Decision Structures
|
- Making
Decisions
-
Introduction to
the Switch Block
Video
- Programming with the Switch
block:
A
Simple Switch example
Switch inside a loop
"TouchNSee" (Two switches manage sonar &
touch sensors)
Get all three switch programs
here.
-
Challenge
#4: Watch Out!
Build a bot to
move around the room without crashing into
anything. It must run for 3 minutes. (Sonar sensor detects objects 0-255 cm or about 8
feet within 1.5")
-
Challenge
#5: Amaze Me!
Make your robot run
my maze Recall that 1 inch = 2.54cm cm x 0.39* = in in x 2.54 = cm
|
-
Lesson 8
Advanced
NXT Programming
|
- Displaying
Stuff
Using the
Display Block Controls
Video
Check out "Working with
Data Hubs" below
- Working
with NXT-G Variables
Video
Project
pak includes:
- Creating and saving one
variable (Tunnel
Runner 1)
- Creating and saving two
variables
(Tunnel Runner 2)
Introduction To
VB Variables Project
Slides
Custom Code
Using "My Block"
as subroutines
Video
Advanced "My Block Custom Code"
Expanding on
"My Block" subroutines
Video
Making Multiple Decisions
Using Cascading
Switches
Video
Multitasking
Making the Robot
do several things at the same time!
Video
Working
with Data
Hubs Video
Project
pak
includes:
-
Real-Time sensor
monitoring
-
Control speed via
sound level
Random start-up speed
Working with Logical
Conditions
Project
pak
includes:
- Distance, light, & touch
-
Using a logical OR
test
- Motion detector using the Compare Block
Using Math blocks
|
|
|
- Introduction to
Robotics Studio Visual Programming Language
(VPL)
|
|
|
*The NXT videos were developed by
Dale Yocum, Head Robotics Coach at Catlin Gabel
School in Portland, Oregon. The exercise animations
are provided courtesy of Skye Sweeney. This version
of the tutorial may be freely distributed and used
for noncommercial purposes. |
|
Too
cool!
RPKessler@hotmail.com
Copyright © 1999-2010 Ronald P. Kessler, Ph.D.
All rights reserved. Revised: August 23, 2010
These materials are provided
for the exclusive use of my students. Please contact me for
permission to reproduce or use these presentations. |