0% found this document useful (0 votes)
28 views17 pages

NXT 2

Nxt brick
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views17 pages

NXT 2

Nxt brick
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

BASIC PROGRAMMING

BLOCKS
NXT-G
THE NXT CONTROLLER
The Brick A B C USB

Output Ports
A, B, and C
Three separate
motor ports

Input ports
1, 2, 3, and 4
Where sensors are
attached
1 2 3 4
The Brick
Select Buttons

On and Enter

Back and Off


A B C USB The USB Port

Programs are
downloaded via a USB
cable from the pc to the
NXT
THE NXT-G INTERFACE
Program name

NXT Window
– Access
Programming pallete, each containing a Brick info.
set of blocks, hover over each to see (e.g.,
available blocks memory,
battery, and
so on)

NXT-G Software
Main Working Space

Common, Complete, and


MyBlocks palletes can be
selected here
Starting
point

Add
Program
blocks here.

NXT-G Software Download


and run
Main Working Space immediately

Download
(Run from
the brick)
Robot Educator
A series of 46 lessons split into:
Common – Easier (20)
Complete – Harder (19)

Data Logging – Mixed (7)

Each lesson includes:


Challenge Brief – Video or slides
Building Instructions
Programming Instructions
Pointer and
Selection Tool
(default)
Written
comments
can be
added.

Grab Hand
to move the
work space
around.
Some commonly used blocks
Sound

Move

Display

Wait
For
Touch

Switch (Touch)
Placing Blocks on the working space
Drag (left-click)
block here.

Release
when the
white position
preview Sequence
marks beam
appear.

Change the
settings in the
Configuration
panel.
Say “Hello”

Release when the block is


connected to the sequence

Sound files, tone, volume, repeat, and wait form completion


can be configured. Scroll to find “hello”
Say “Hello”, Display a Smile

Add the display block

Image, text, circle, or line can be configured, offers x,y co-


ordinates for positioning
NXT motors & ControlBlock
• The NXT servo motors have a built-in rotation
sensor block that continuously measure and
monitors the degrees covered by the motor.
• Motors can be manipulated using the move,
motor, and reset blocks.
• The move block synchronizes motor to enable the
robot to move straight.
• The move block can control all 3 motors
simultaneously. However the power is shared
among the 3 motors.
• The block has a built-in system for error
correction.
Move block – Configurationpanel
Amount of power used to
Select ports corresponding to control the motor
the ports on the NXT

Direction
Duration of the action, specified
Steering: shares the power in degrees, duration, time, or
among 2 motors, not reliable unlimited
at low power

Next Action: Brake causes the robot to come to an


immediate stop landing more accurately than coast. The
robot rolls to a coast occasionally overshooting the target.
My First Program

You might also like