Professional Documents
Culture Documents
2013 Training Slide
2013 Training Slide
Structures
Theory
Hands-on
Programming Skills
WHAT IS A ROBOT?
Lamp, moving
object, noise, wall
ENVIRONMENT
Sensor input
Lamp, moving
object, noise, wall
INPUT
Sensor input
Input
Light,
Touch, Light, Sound,
ultrasonic,
Ultrasonic
sound, touch
Send for process
Lamp, moving
object, noise, wall
PROCESS
Sensor input
Input
Light,
sound, touch
Process
Controller
Choose output
Lamp, moving
object, noise, wall
OUTPUT
Sensor input
Input
Light,
sound, touch
Process
Controller
Choose output
Output
Motor rotation,
brightness, display
Outcome
Lamp, moving
object, noise, wall
RESULT
Sensor input
Input
Light,
sound, touch
Process
Controller
Choose output
Output
Motor rotation,
brightness, display
Outcome
Result
Lamp, moving
object, noise, wall
RESULT
Sensor input
Input
Light,
sound, touch
Process
Controller
Choose output
Output
Motor rotation,
brightness, display
Outcome
Result
Element item
Quantity
in Set
Rechargeable battery
Touch sensor
Sound sensor
Light sensor
Ultrasonic sensor
USB wire
Lamps
Converter cable
437
Tachometer
for Built-in
Rotation
Sensor
Built-in gearing
TOUCH SENSOR
LIGHT SENSOR
This is what you
see
This is what light sensor see
ULTRASONIC SENSOR
SOUND SENSOR
Notes:
32-bit ARM7 microprocessor
(256 Kbytes FLASH, 64 Kbytes RAM)
8-bit AVR microprocessor
(4 Kbytes FLASH, 512 Byte RAM)
MY FILES
Software files Programs you have
downloaded
computer.
from your
SETTINGS
Change Volume: Here
you can adjust the volume
of the speakers in a range
of 0 (Off) to 4 (Loud).
VIEW
TRY ME
Try Sound
Rechargeable Battery
Outputs
3 Motor & 1
Lamp
(Port A, B, C)
Inputs
4 Sensor Inputs
(Port 1, 2, 3, 4)
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
8 Studs Long
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
Wheel
Tire
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
Wheel
Tire
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
Light Sensor
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
5 MINUTE ROBOT
ON
!
!
!
!
E
MOTORS
Port B Left motor
Port C Right motor
USER INTERFACE
Comment tool
Pan tool
Pointer tool
MOVE
RECORD/PLAY
SOUND
DISPLAY
WAIT
LOOP
SWITCH
NXT Window
Check Information In
NXT, battery level &
memory.
Stop
Download
ROBOT MOVEMENT
STEERING CONTROL
DRIVE FORWARD
WAIT BLOCK
SENSORS
TIME
TOUCH
SOUND
LIGHT
DISTANCE
TOUCH SENSOR
Program a robot will drive forward until it detects
a touch, then stop.
TOUCH SENSOR
ULTRASONIC SENSOR
Program a robot will drive forward until it detects
a obstacle, then stop.
ULTRASONIC SENSOR
LIGHT SENSOR
Program a robot will drive forward until it detects
a black line, then stop.
LIGHT SENSOR
MULTI TASKS
Run a difference task at the same time.
Program will run in parallel sequence.
Useful for controlling different motor for different
task .
PARALLEL PROGRAM
MY BLOCK
You can create your own custom programming blocks.
Useful when developing complex programs.
Can re-use.
Before
After
CREATE MY BLOCK
1
2
3
1. Highlight selected
blocks.
2. Click Create My
Block Button.
DONE!!
CUSTOM PLATTE
LINE FOLLOWER
0
DARK
50
100
LIGHT
COMPLETE PALETTE
COMMON
ACTION
SENSO
R
FLOW
DATA
ADVANCED
6 SECTIONS
Section 1: Common Section
SPEED CONTROL
Sensor
Complete Palette
SOUND SENSOR
Sensor Section
Common Section
Power
Data Wire
ULTRASONIC SENSOR
Sensor Section
Common Section
Power
Data Wire
DISPLAY
SETTINGS
IMAGE
TEXT
DRAWING
RESET
DISPLAY IMAGE
DISPLAY IMAGE
REACT TO LIGHT
REACT TO DISTANCE
LIGHT SENSOR
Sensor Section
Common Section
Data Wire
Power
ULTRASONIC SENSOR
Common Section
Sensor Section
Data Section
Data Wire
Power
VARIABLE
LOOPING
BUMP COUNTER
Create robot that can detect input from touch sensor & display
total times touch sensor press by user on the NXT screen.
PROGRAM FLOW
Data Section
Action Section
Flow Section
Advanced Section
EXPLANATION
SET DEFAULT=0
READ
COUNT +1 UPDATE
CONVERT DISPLAY
Convert number to
text for display on
NXT screen
ROTATION SENSOR
Flow Section
Advanced Section
Sensor Section
CALIBRATE SENSOR
Calibrate minimum
Calibrate maximum
Delete calibrate
BLUETOOTH
Common Section
Flow Section
Action Section
OFFICIAL WEBSITE
nrc.sasbadi.com
lego.sasbadi.com