contents in detail

acknowledgments

introduction

why this book?

is this book for you?

how does this book work?

the discoveries

what to expect in each chapter

getting help: the companion website

conclusion

PART I     GETTING STARTED

1
collecting the equipment for your robot

what’s in the box

the NXT brick

the NXT-G programming software

the test pad

inserting batteries

conclusion

2
building your first robot

building the explorer

building tip: beams and axles

building tip: friction and nonfriction pins

connecting the cables

using the NXT buttons to navigate on the NXT brick

turning on the brick

selecting and choosing items

turning off the brick

running a program

conclusion

3
creating and modifying programs

a quick first program

creating a basic program

1. programming palette

2. work area

3. start area

4. NXT controller

working with the NXT-G software

5. configuration panel

6. little help window

7. program navigation bar

8. toolbar

9. robo center

controlling the robot remotely

conclusion

4
working with programming blocks: move, sound, and display

what do programming blocks do?

using blocks to create programs

using different programming blocks

the move block

seeing the move block in action

understanding the configuration panel

Discovery #1: Accelerate!

understanding the configuration icons

making accurate turns

Discovery #2: Looking Back!

Discovery #3: Move That ’Bot!

Discovery #4: RoboSpeller!

the sound block

understanding the sound block configurations

seeing the sound block in action

Discovery #5: Which Direction Did You Say?!

Discovery #6: Be the DJ!

the display block

understanding the display block configurations

seeing the display block in action

further exploration

Discovery #7: Subtitles!

Discovery #8: Navigator!

Discovery #9: Circle Time!

Discovery #10: W8 for the Explorer!

Discovery #11: RoboDancer!

Building Discovery #1: Exploring Art!

5
waiting, repeating, and other programming techniques

the wait block

understanding the wait block settings

seeing the wait block in action

Discovery #12: Count Down!

more on the move block: moving unlimited

the unlimited option

the duration unlimited setting in action

problems with moving unlimited

the loop block

using the loop block

understanding the loop block settings

seeing the loop block in action

Discovery #13: Guard the Room!

Discovery #14: Triangle!

using loop blocks within loop blocks

making your own blocks: the my block

creating my blocks

using my blocks in programs

Discovery #15: My Triangle!

Discovery #16: My Tune!

editing my blocks

parallel sequences of blocks

using parallel sequences in a program

Discovery #17: Let’s Multitask!

Discovery #18: Complex Figures!

Building Discovery #2: Mr. Explorer!

further exploration

PART II     BUILDING AND PROGRAMMING ROBOTS WITH SENSORS

6
understanding sensors

what are sensors?

understanding the sensors in the NXT 2.0 kit

Discovery #19: Mind Your Head!

understanding the ultrasonic sensor

creating the ultrasonic sensor attachment

polling sensors

programming with sensors

sensors and the wait block

Discovery #20: Hello and Goodbye!

sensors and the loop block

Discovery #21: Avoid Walls and a Bad Mood!

Discovery #22: Follow Me!

Discovery #23: Happy Tunes!

sensors and the switch block

Discovery #24: See the Distance!

Discovery #25: Stop or Turn?

Discovery #26: Intruder Alarm!

Discovery #27: Ultrasound!

Building Discovery #3: Railroad Crossing!

further exploration

7
using the touch, color, and rotation sensors

the touch sensor

creating the bumper attachment with touch sensors

programming with the touch sensor

avoiding walls with touch sensors

Discovery #28: Only Two Is Enough!

Discovery #29: Smart Decisions!

the color sensor

creating the color sensor attachment

using the view mode to poll the color sensor

programming with the color sensor

Building Discovery #4: Clean That Test Pad!

Discovery #30: Tell Me What You See!

Discovery #31: Expert Line Following!

Discovery #32: Which Button Did You Press?!

Discovery #33: SoundBot!

using the NXT buttons as sensors

the rotation sensors

using the view mode to poll the rotation sensor

making programs with rotation sensors

Discovery #34: Circling Degrees!

Discovery #35: Rotational Music!

further exploration

Discovery #36: Color the Ball!

Discovery #37: Ultrasonic Line Following!

Building Discovery #5: Automatic House!

8
shot-roller: a robotic defense system

building the shot-roller

connecting the cables

programming the shot-roller

the complete palette

the color lamp block

Discovery #38: A Colored Voice!

the motor block

Discovery #39: A Motor Block Task!

autonomous mode

light sensor mode

Discovery #40: Dangerous Intruder Alarm!

remote-control mode

Discovery #41: Combining Sensor Power!

further exploration

Discovery #42: Research with the NXT!

Building Discovery #6: Look Before You Shoot!

Building Discovery #7: Catapult!

9
strider: the six-legged walking creature

building strider

connecting the sensor cables

understanding strider’s walking technique

programming strider

creating the walk-forward my block

creating the walk-left and walk-right my blocks

using the my blocks in an interactive program

Discovery #43: Triangle Time, Again!

Discovery #44: Walking in Six Directions!

creating the scared strider program

further exploration

Discovery #45: Walking at the Speed of Light!

Building Discovery #8: Tired of Walking?!

Discovery #46: Remote Control!

Building Discovery #9: A Pair of Eyes in the Back!

PART III     CREATING ADVANCED PROGRAMS

10
using data hubs and data wires

building SmartBot

a program to get started with data wires

understanding the sample program

how do data hubs and data wires work?

creating a second example program with data wires and data hubs

using data plugs: input and output

block configurations when using data wires

deleting data wires

Discovery #47: Growing Circles!

Discovery #48: Dynamic Speed!

Discovery #49: Motor Input!

sensor blocks

configuring a sensor block

configuring a touch sensor block

configuring a color sensor block

configuring a rotation sensor block

data wire types

the number data wire

the logic data wire

Discovery #50: Touch Sensor Wires!

the text data wire

Discovery #51: Read the Sensor Readings!

the broken data wire

multiple data wire connections

connecting multiple wires to different plugs

connecting multiple wires to one data plug

using settings with both input and output plugs

Discovery #52: Multifunctional Wires!

using help for data plugs

tips for managing data wires

hiding unused data plugs

using data wires across your program

Discovery #53: Looking for Help!

Discovery #54: Turn Up the Volume!

Discovery #55: Control the Throttle!

Discovery #56: SmartBot Is Watching You!

Building Discovery #10: A Polite SmartBot!

further exploration

11
using data blocks and using data wires with loops and switches

data blocks

the math block

Discovery #57: Math Practice!

Discovery #58: Random Sound!

the random block

the compare block

the logic block

switch blocks and data wires

Discovery #59: And, Or, XOr, or Not?

Discovery #60: Total or Else!

configuring switch blocks with data wires

using number and text data wires and switch blocks

connecting data wires to inside switch blocks

loop blocks and data wires

Discovery #61: Press Any Key to Continue!

Discovery #62: Arithmetic Rotations!

Building Discovery #11: Bionic Hand!

further exploration

12
using variables, constants, and playing games on the NXT

using variables

defining a variable

using the variable block

creating a program with a variable

Discovery #63: Old vs. New!

Discovery #64: Smarter Count Program!

using constants

using the constant block

creating a program with constants

playing a game on the NXT

defining the variables

step 1: displaying a target randomly

step 2: waiting until a button is pressed

step 3: storing which button is pressed

step 4: comparing the position and button variables

step 5: adjusting the score

step 6: displaying the current score

step 7: making the program repeat for 30 seconds

expanding the program

Discovery #65: Smart-Game Program Advanced!

Discovery #66: Brain Trainer!

Building Discovery #12: Whack-a-Mole!

further exploration

PART IV     ADVANCED ROBOT PROJECTS

13
snatcher: the autonomous robotic arm

understanding the grabber

the grabbing mechanism

the lifting mechanism

building the snatcher

creating objects

programming the snatcher

creating the my blocks

creating the final program

troubleshooting the snatcher

further exploration

Discovery #67: I Don’t Like Blue!

Discovery #68: Light in a Corner!

Building Discovery #13: Tabletop Cleaner!

14
hybrid brick sorter: sort bricks by color and size

understanding the sorting technique

the driving module

the scanning module

identifying a brick’s size

building the hybrid brick sorter

connecting the cables

finding bricks to use with your sorter

finding buckets

programming the hybrid brick sorter

creating the my blocks

creating the final program

Discovery #69: High-Speed Sorting!

Discovery #70: Quatro Brick Sorter!

Discovery #71: Intelligent Sorting!

Building Discovery #14: Hybrid Brick Shooter!

further exploration

15
CCC: the compact chimney climber

understanding the climbing technique

staying balanced on the x-axis

balancing on the y-axis

building the compact chimney climber

preparing a chimney

programming the compact chimney climber

step 1: extending the arms

step 2: climbing and staying balanced

step 3: going down, staying balanced, and stopping

troubleshooting the CCC

further exploration

Discovery #72: Altimeter!

Building Discovery #15: Aerial Tram!

appendix
troubleshooting and solving connection problems

using the NXT controller to download programs to the NXT

using the NXT window

problems connecting to an NXT with USB

problems downloading programs to the NXT

using Bluetooth to download programs to the NXT

finding a Bluetooth dongle

connecting to the NXT with Bluetooth

problems connecting to an NXT with Bluetooth

conclusion

index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.129.194