|
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 Working
with Gearing




|
- Making controlled Turns
& Controlling Speed
-
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 Part 1
Your bot must move around a big box in a square without
crashing.
-
Challenge
#2: Around the block Part 2
You will repeat the challenge in part 1 but this
time, build your bot to include gears so you can
test the effects of slowing/speeding up your
machine!
Overview of Gears
- Differentials &
Transmissions
- For our class,
ratio = driven/driver
-
Construction plans
for adding gears
|
-
Lesson 5
All About Sensors
|
- The NXT Sensory Systems
-
Activity: 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: Switch Blocks Chapter 12
|
-
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.
-
Making Multiple Decisions
Using Cascading
Switches
Video
-
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
|
|
|
-
Working
with Data
Hubs
Video
-
Project
pack
includes:
-
Real-Time sensor
monitoring
-
Control speed via
sound level
Random start-up speed
|
-
Lesson 9
Using Memory: The
Variables and Display Blocks
|
-
Displaying
Stuff
Using the
Display Block Controls
Video
-
Working
with NXT-G Variables
Video
Project
pack includes:
-
Creating and saving one
variable (Tunnel
Runner 1)
-
Creating and saving two
variables
(Tunnel Runner 2)
|
-
Lesson 10
Calculating
Results: The Math block
|
|
-
Lesson 11
Logical
Loops:Compare Block
|
|
-
Lesson 12
Custom Code: My
Blocks, Constants, and File I/O
|
|
|
|
-
Multitasking
Making the Robot
do several things at the same time!
Video
|
|
|
*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:
Sept. 11, 2011
These materials are provided
for the exclusive use of my students. Please contact me for
permission to reproduce or use these presentations. |