nxt

25
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University

Upload: graciela-are

Post on 07-Mar-2016

217 views

Category:

Documents


0 download

DESCRIPTION

esto es una prueba

TRANSCRIPT

Page 1: nxt

NXT Basics: Technic Building and NXT-G

Erin Cejka RieckerCenter for Engineering Educational OutreachTufts University

Page 2: nxt

Getting to Know the NXT

Page 3: nxt

Motors and Sensors

Page 4: nxt

Hardware Comparison

Page 5: nxt

Technic or “Studless” Building Pieces:

Studless beams Connectors Axles

Features: Symmetry Sturdy

Page 6: nxt

Build a Two Motor Car

Page 7: nxt

Software Options

ROBOLAB 2.9

LEGO Mindstorms for NXT(NXT-G)

Page 8: nxt

Using ROBOLAB 2.9 with the NXT New sensors

Screen control

Page 9: nxt

Using ROBOLAB 2.9 with the NXT

NXT control panel appears during download

Page 10: nxt

NXT-G Interface

ToolbarWorkspace

Configuration Panel Help & Navigation

ControllerPalettes

Tutorials

Web Portal

Sequence Beam

Page 11: nxt

NXT-G tools Pointer tool: move blocks, select blocks Pan tool: move within workspace Comment tool: add notes to your code

Page 12: nxt

Intro to NXT-G: PalettesCommon: Complete:

Custom:Most All blocks Downloadedcommonly and createdused blocks blocks

Page 13: nxt

Writing a Basic Program Drag and drop block(s) on sequence

beam

Manipulate Configuration Panel & Download

Page 14: nxt

Intro to NXT-G: Controller

Download & Run Selection

Download & Run

NXT Window

Download Stop

Page 15: nxt

ROBOLAB vs. NXT-G

Page 16: nxt

ROBOLAB vs. NXT-GIn ROBOLAB In NXT-G

Icons or VIs Blocks

Modifiers Configuration Panel

Wiring together icons Sequence beams

Need start & stop light

Start is given, no stop needed

Page 17: nxt

NXT Rotation Sensor Built in to motors Measure degrees

or rotations Reads + and - Degrees:

accuracy +/- 1 1 rotation =

360 degrees

Page 18: nxt

Viewing Sensors Connect sensor Turn on NXT Choose “View” Select sensor type Select port

Page 19: nxt

NXT Sound Sensor Sound sensor can measure in dB and dBA

dB: in detecting standard [unadjusted] decibels, all sounds are measured with equal sensitivity. Thus, these sounds may include some that are too high or too low for the human ear to hear.

dBA: in detecting adjusted decibels, the sensitivity of the sensor is adapted to the sensitivity of the human ear. In other words, these are the sounds that your ears are able to hear.

Sound Sensor readings on the NXT are displayed in percent [%]. The lower the percent the quieter the sound.

http://mindstorms.lego.com/Overview/Sound_Sensor.aspx

Page 20: nxt

Challenge: Stop with sound Program your NXT car to drive until you

yell “Stop”

Page 21: nxt

Example Program: Remote Control

Page 22: nxt

NXT Sound NXT can play sound files or notes Sounds take up more memory space

Page 23: nxt

NXT Display Display images, text, or drawings Choose location on display screen 100 x 64 pixels (up to 7 lines of text) Graphics take up memory space

Page 24: nxt

Challenge: Say Hello Have the RCX say hello using sound

and the display screen Don’t forget – the program ends after

the last block. You may need a wait for to see the display.

Caution: one of the options in the configuration panel is Clear – use it to clear screen. Otherwise, uncheck the box!

Page 25: nxt

Example Program: Say Hello