educatenxt enter the name “sound graphing” for your experiment. real-time data logging click the...

14
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner of the NXT-G screen. Then press Go >>.

Upload: mikel-henkin

Post on 14-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Enter the name

“Sound Graphing”

for your experiment.

Real-time Data Logging

Click the Switch to NXT Data Logging icon in the top-left corner of the NXT-G screen.

Then press Go >>.

Page 2: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Real-time Data Logging

Select Sound Sensor.

Click the green Play button.

Plug in a Sound sensor to Port 1 on the NXT Brick.

Page 3: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Real-time Data Logging

Y axis

dB (decibels)

x-axis

Time (sec)

Actual Data readings

Data-logging Tools

Graph should look something like this.

Page 4: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Data-logging Tools

Zoom

Move the graph around.

Predict

Analyze statistics and so forth.

Write on the graph.

Screen shot

Page 5: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Data Logging the EduBot

Start a new experiment.

Select Rotation Sensor.

Select Port B.

The motion of pushing the EduBot can be graphed.

Page 6: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Data Logging the EduBotGraph the movement of the EduBot as it

is being pushed.

Forward – ConstantBackward – ConstantAccelerate and then

decelerate.

Page 7: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Use the Scaling Mode to resize your graph.

Some things to try . . .

Page 8: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Some things to try . . .

Graph two motors at once.

Then try pushing the robot in a curve turn.

Page 9: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Some things to try . . .The Prediction Tool

Create your own graph and try to copy the motion by pushing the EduBot.

Page 10: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Logging the Line Follow

What does a Light sensor see when the EduBot follows the line?

To find out, add a Datalog block to a Line Follow program.

Page 11: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Logging the Line Follow

Single Sensor Line Follow program with Datalog block at the start

Page 12: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Configuration Panel for Line Follow Datalog block

Logging the Line FollowNote: Light Generated box checked

Download the program to the EduBot and run (Orange button x4).

Once run for at least seven seconds, upload the data from the Data Logging screen.

Page 13: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT

Show the Teacher!Try data logging as part of a program:• Line Following with two Light sensors

• The Ultrasonic sensor, attached to the EduBot, approaching a wall

• The Sound sensor, attached to the EduBot, approaching a constant sound source

• A Light sensor, attached to the EduBot, approaching (and facing) a constant light source

Page 14: EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner

EducateNXT