index changing a variable s value, Chime My Block, clearing the screen. See Display block CoastBack program, 54 44

Similar documents
Index. sequencing, 21, 26 starting off, 22 using, 28 code sequence, 28 custom pallete, 28

index Page numbers shown in italic indicate figures. Numbers & Symbols

BEGINNER EV3 PROGRAMMING LESSON 1

Lingenfelter NCC-002 Nitrous Control Center Quick Setup Guide

THE LEGO MINDSTORMS NXT ZOO! an unofficial, kid-friendly guide to building robotic animals with LEGO MINDSTORMS NXT. fay rhodes

Introduction to Elementary and Middle School Robotics. John Heffernan 8/17/2014

Indian Speedometer and Body Control Module Service Tool Users Guide

An ISO 9001:2008 Registered Company

Reliable Reach. Robotics Unit Lesson 4. Overview

ELD DRIVER GUIDE June 21, 2018

Introduction. E-Trac Xchange is versatile and easy to use, so make the most of your E-Trac with this great new feature. Enjoy!

Draft Unofficial description of the UNRC charger menus

8.6 Investigating gear ratios using LEGO

LEGO Education WeDo 2.0 Toolbox

Warning! Before continuing further, please ensure that you have NOT mounted the propellers on the MultiRotor.

The Fischertechnik ACEs (Robo Starter Model kit)

FLL Workshop 1 Beginning FLL Programming. Patrick R. Michaud University of Texas at Dallas September 8, 2016

Index. Calculated field creation, 176 dialog box, functions (see Functions) operators, 177 addition, 178 comparison operators, 178

Instruction Manual. SmarTire Dealer Programming Tool. PN: Revision Copyright 2006 SmarTire Systems Inc.

IDL Dragonfly Manual

Optional Image. PD.4 Installation Instructions

Overview of operation modes

Instruction Manual. Duo-battery Solar Panel Controller EPIP20-DB series For Both 10 and 20 amp. Controllers (for use with solar panels only) + -

Motor Tuning Instructions

Advanced User Manual

ITCEMS950 Idle Timer Controller - Engine Monitor Shutdown Isuzu NPR 6.0L Gasoline Engine

Index A,B,C E,F,G,H I,J. using to program, 41 downloading Design Journal worksheets, Duration values, obtaining during testing, 54

Revision 6, January , Electronics Diversified, Inc.

Begin to Use The New ESC: Before use the new ESC please carefully check every connections are correct or not. Yellow motor wire B Blue motor wire A

User Manual WatchPower App

SI AT A22. English. Printed: Doc-Nr: PUB / / 000 / 01

Mechanical Components and Programming. Ken Youssefi Introduction to Engineering E10 1

Owner s Manual. Made in USA

Idle Timer Controller - ITC Freightliner MT45 Contact InterMotive for additional vehicle applications

CS 420RC. Solid De-icer Controller Configuration and Set-up Manual

ROBOT C CHALLENGE DESIGN DOCUMENT TEAM NAME. Sample Design Document. Bolt EVA. Lightning. RoboGirls. Cloud9. Femmebots

SI AT A22. English. Printed: Doc-Nr: PUB / / 000 / 03

Heli Traffic 2009 User s Manual

Controller Ground (dual black 12awg) should be connected to chassis ground as close as possible to the battery.

EPAS Desktop Pro Software User Manual

Idle Timer Controller - ITC515-A Ford Transit Contact InterMotive for additional vehicle applications

Rand McNally Device Software. What s New (Version )

CONTROL UNIT BIOS2. Manual for installation. Programmable Control board for wings gates.

OWNERS MANUAL GPS RENTAL. All PowaKaddy electric trolleys have been awarded the Quiet Mark by the Noise Abatement Society

Vehicle Programming Instructions

CFM-20/40/100/200/300

RETAINS STEERING WHEEL CONTROLS, SYNC MEDIA PLAYER, SYNC BLUETOOTH AND MORE!

Chapter 12. Formula EV3: a racing robot

CS 430RC. Solid De-icer Controller Configuration and Set-up Manual

Issue 2.0 December EPAS Midi User Manual EPAS35

LPG STARTBOX. Instruction Manual. Rempel Power Systems GmbH

REMOVAL OF FACTORY GAUGE ULTRA FLHT & FLHX (STREET GLIDE

QUICK START GUIDE. (407) /

Part Number: kW 800 Incoloy Element kW 800 Incoloy Element With 4kW Titanium Element kW 800 Titanium Element

NO PART OF THIS DOCUMENT MAY BE REPRODUCED WITHOUT PRIOR AGREEMENT AND WRITTEN PERMISSION OF FORD PERFORMANCE PARTS.

Thank you for buying an Alien Power System (APS) product. WARNING: Product Features:

ZEPHYR FAQ. Table of Contents

Smart Spinner. Age 7+ Teacher s Notes. In collaboration with NASA

Contents Getting Started with PrePass ELD...4 Starting a Trip...7 During a Trip Co-Driver Features... 14

Wallbox Commander. User Guide WBCM-UG-002-EN 1/11

Pulsar EXtreme 2200C / 3200C

Welcome to ABB machinery drives training. This training module will introduce you to the ACS850-04, the ABB machinery drive module.

CurveMaker DFS v2.0 Dyna FS Ignition Programming Software

Idle Timer Controller - A-ITC520-A Ford E Series Ford F250 - F Ford F250 - F550 (*B-ITC520-A) F650/F750

SNMP dedicated to ORVALDI Solar Infini

Rally computer 3 Rally computer 3.GPS *

ROBOTICS BUILDING BLOCKS

Table of Contents. Product Registration 18 FAQ 19 Troubleshooting 20 Customer Support / Warranty 21

Lesson 1: Introduction to PowerCivil

Error Code List for ecash & Nanocash

Introduction to 3D Printing

RaceROM Features Subaru FA20 DIT

HDS GEN Software Update. Release Notes

Release notes for Scania Diagnos & Programmer 3, version 1.17

USER GUIDE incardoc ios

Robotic Vehicle Challenge

Superchips Model 2704 MAX MicroTuner GM Trucks with 6.6L Duramax Diesel Engines Vehicle Programming Instructions

Pulsar Evolution 1500 / 1500 Rack 1100 / 1100 Rack 800 / 800 Rack 500 Rack

CAN-Translator. User s guide

User Manual Back-UPS BX650CI-MS 230 Vac with AVR

Cirtix series Brushless Speed Controller manual For RS1/RS A/ Page - 1 -

ProMax Progressive Controller Installation and Operation Instructions

RR Concepts. The StationMaster can control DC trains or DCC equipped trains set to linear mode.

2016 CIVIC PERSONALIZED SETTINGS CHART Color Audio models:

Service Bulletin Immobilizer System (Type 6) (Supersedes , dated February 20, 2009; see REVISION SUMMARY) February 22, 2013

Scout II Operation Instructions

DA-ST512 (Suspension Calibration Application) User s Manual

Tube Bender. Machine Type - Tube Bender

If your vehicle is not equipped with the DIC steering wheel buttons not all of the features listed will be available on your vehicle.

SP PRO ABB Managed AC Coupling

GENERAL MOTORS SERVICE PARTS OPERATION 6200 Grand Pointe Drive, Grand Blanc, MI 48439

CenterLine Filter Wheel

REVISION HISTORY REVISION HISTORY

Abrites Diagnostics for Peugeot/ Citroën User Manual abrites.com

CurveMaker HD v1.0 2Ki Programmable Ignition programming software

MAXIMIZER-II Progressive Nitrous Controller INSTALLATION AND USER MANUAL. MAXIMIZER-II rev A

HOS Mobile App Driver s Guide. pg 1

There is a Certification menu option that indicates that the mobile APP, mobile device used were self-certified according to federal requirement.

DMR Series User Guide

User Guide Electronic Logging Device

Transcription:

index A absolute value, 103, 159 adding labels to a displayed value, 108 109 adding a Sequence Beam to a Loop of Switch block, 223 228 algorithm, defined, 86 ambient light, measuring, 63 analyzing data, 210, 214 and, logic operation, 186 AroundTheBlock program, 50, 221 223, 230 art and engineering, 4 assumptions, 88, 233 automatic routing of data wires, 101 A-weighted decibel (dba), 62 B backup copies of programs, 11 beep while moving, 71 72 blocks, 5, 9. See also individual block names connecting with data wires, 97 98 copying, 137, 198 in NXT-G 1.1 vs. NXT-G 2.0, 255 256 running, 73 selecting 66 67 BlockStartTest program, 229 Bluetooth, 11 Brick. See NXT Intelligent Brick bugs, 12 bumped, Touch Sensor, 58 BumperBot program, 59 61 BumperBot2 program, 71 72, 80 BumperBot3 program, 80 83, 184 185, 186 188 BumperBotWithSound program, 62 63 busy loop, 223 buttons. See NXT buttons C changing a variable s value, 135 136 Chime My Block, 161 164 clearing the screen. See Display block CoastBack program, 54 44 CoastTest program, 53 55 collecting brightness data, 210 211 Color Lamp block, 227 Configuration Panel, 227 Color Sensor, 2, 63 64 Color Sensor mode, 67 color values, 67 feedback box, 64, 67 Light Sensor mode, 64 View menu, 64 Color Sensor block, 142 Configuration Panel, 142 light intensity value, 142 colors, identifying, 64, 67 comma-separated values, 212 214 comments, 13 15 adding, 14, 51 comment tool, 14 15 defined, 13 program description, 14 rules for working with, 15 and the Switch block, 78 common palette, 8 Compare block, 127, 142 Configuration Panel, 127 compiling, 9 complete palette, 8 computer math, 179 concatenate, 107 conditional, 73 configuration icons, 16 Configuration Panel, 9, 15 16 changing panels, 15 disabled items, 16 general layout, 15 Constant block, 145 146 choose from list, 145 146 Configuration Panel, 145 custom, 146 constants, 144 146 changing a constant s value, 145 146 managing, 145 control algorithm, 243 Controller, 9, 11 converting numbers to text, 105 counting objects, 135 136 Create My Block button, 162 Create New Program, 7, 10 Create Pack and Go, 175 crowbar and pin technique, 224 228 custom palette, 8, 163, 174 175 D data, 97 data collection. See data logging data hub, 99 opening and closing, 99 101 data logging, 209 220 collecting sensor data, 210 211 controlling the amount of data, 216 217 gaps in the data, 214 216 timestamp, 212 214 using LEGO MINDSTORMS Education NXT Software 2.0, 217 220 data plug, 100 pass-through, 105 106, 109 restoring pass-through data plugs, 106 107 data types, 104 105 data wires, 97 110 broken, 109 cycles, 109 and data types, 104 105 deleting, 101 drawing, 100 101 and the Loop block, 123 129, 229 organizing, 157 routing, 101 and Sequence Beams, 229 and starting blocks, 229 and the Switch block, 111 121, 229 and time values, 126 db (decibel), 62 dba (A-weighted decibel), 62 debugging, 12 13, 95, 208, 237 steps, 12 using Sound blocks, 95

decibel (db), 62 design process, 86 88 detecting a clap, 62 an obstacle, 60, 91, 112 a person, 69 70 Display block, 11, 152 155 clearing the screen, 156 158 controlling image location, 154 controlling the line setting, 166 167 drawing, 155 a circle, 155 a line, 155, 156 158 images, 152 point, 155 text, 12 X and Y values, 152, 154 displaying instructions, 235 238 displaying a number, 105, 136 floating-point numbers, 183 displaying the tone frequency, 105 displaying the volume using text, 117 121 DisplayNumber My Block, 166 174, 205 building, 167 172 configuration items, 166, 171 172 testing, 170 using, 173, 204, 222, 243, 251 Don t Repeat Yourself (DRY) principle, 138, 206 DoorChime program, 68 70, 161 164, 223 228, 230 232 Download and Run Selected button, 50 downloading a program, 9, 11 drawing. See Display block DRY (Don t Repeat Yourself) principle, 138, 206 E Edit Constants dialog, 145 Edit Variables dialog, 131 132 edit-compile-test cycle, 13 ending a program. See Stop block engineering, 4 error value, 244 calculating, 246 247 percent error, 245 exclusive or (xor), logic operation, 186 Exit button, 59, 147 F feedback box, 48, 58 File Access block, 195 196, 200, 255 Configuration Panel, 195 196 and data types, 196, 200 operations, 196 FileReader program, 200 201, 237 238 files, 195 208 closing, 196, 197, 202, 208 common problems, 208 common uses for, 195 creating, 196, 215 deleting, 196, 197, 207, 208 downloading, 208 errors in, 199 200 gaps in, 214 216 initial size, 215 216 managing, 207 208 naming, 196, 198 reading, 196, 200, 208, 238 uploading, 208, 212 uses, 195 writing, 196, 197, 200, 208 finding a light source, 140, 141 firmware, 5, 9 updates, 5 flashing the light, 227 228 floating-point math, 183 and the Number to Text block, 183 range, 183 following a wall, 89 91 G gain, 248 gears, 45 generating a random number, 184 GentleStop program, 97 101, 112 113 Getting Started window, 7, 11 grouping common settings, 138 H hard-coded values, 234 hardware, 5 Hello program, 10 11 HelloDisplay program, 11 12 help file, 6, 103 help panel, 9 hertz (Hz), 103 HiTechnic, 3 I IDE (integrated development environment), 5, 7 initializing the display, 135 initializing variables, 140, 201 204 integer math, 179 180 division, 180 order of operations, 180, 181 range of values, 179 scaling values, 180, 181 integrated development environment (IDE), 5, 7 K Keep Alive block, 79 80 L LabVIEW, 5 Light Sensor, 2, 63 64 Configuration Panel, 63 feedback box, 64 trigger value, 64, 76 View menu, 64 Light Sensor block, 142, 241 light source, finding, 140, 141 LightPointer program, 138 144 line following, 75 78, 233 251 control algorithm, 243 controlling the motors, 248 error value, 244 247 how far from the edge, 244 247 trigger values, 234 235, 239 242 LineFollower program, 75 78, 233 243 LineFollower2 program, 244 251 LineFollowerConfig program, 235 238 Logic block, 185 186 Configuration Panel, 186 logic operations, 186. See also individual operations logic value, 104 LogicToText progam, 113 116 Loop block, 51 52, 79 checking the condition at the beginning of the loop, 129 checking two conditions, 187 258 index

Condition data plug, 125 Configuration Panel, 79 control options, 79 Count data plug, 123 and data wires, 123 129 expanding, 226 227 the final loop count value, 124 and multiple Sequence Beams, 229 nested, 124 restarting a loop, 124 setting the loop condition, 125 loop body, 79 loop condition, 79 LoopCountTest program, 123, 229 LoopCountTest2 program, 124 LoopCountTest3 program, 124 LoopStartTest program, 229 M managing constants, 144 146 managing the custom palette, 174 175 managing memory, 207 208 managing variables, 131 132 magnifying glass tab, 9 manual routing of data wires, 101 math computer, 179 floating-point, 183 and the Number to Text block, 183 range, 183 integer, 179 180 division, 180 order of operations, 180, 181 range of values, 179 scaling values, 180, 181 Math block, 103, 255 maze, solving, 86 88 following a wall, 89 91 going through an opening, 93 95 testing, 95 turning a corner, 91 93 memory tab, 207 millisecond, 126 mindsensors, 3 MINDSTORMS NXT Kit, 1 building pieces, 2 versions, 3 MINDSTORMS software sections, 7 9 versions, 3, 255 256 more help link, 9 Motor block, 52 53, 248 comparison with Move block, 53, 248 steering, 248 251 three phases of a motion, 52 motors, 2, 45 power, 45 speed, 45 Move block, 46 48, 248 comparison with Motor block, 53, 248 controlling the Power setting, 97 98 degrees and rotations, 47 determining duration, 49 feedback boxes, 48 following a curve, 50 next action, 48 problem with coasting, 53 55 random duration, 184 185 spinning the robot, 49 synchronized motion, 46 multiple Sequence Beams. See Sequence Beams multitasking, 221 My Block, 161 177. See also individual My Block names broken, 176 Builder window, 162 configuration settings, 164 166, 177 names, 165 166 copying, 175, 230 creating, 161 163 and data plugs, 164 166 adding, 177 and data wires, 164 deleting, 174 editing, 163 164 icons for, 162 moving, 174 175 nested, 176 organizing, 174 175 renaming, 174 and Sequence Beams, 230 sharing, 175 testing, 170 and variables, 176 My Portal, 8 MyBlockTest program, 230 N National Instruments, 5 Navigation Panel, 9 nested blocks, 78 not, logic operation, 186 Number to Text block, 105, 255 Configuration Panel, 105 and floating-point numbers, 183 NXT Button block, 148 Configuration Panel, 148 NXT buttons, 147 adjusting a value, 150 clearing the screen, 156 158 controlling a loop, 149 pressed vs. bumped, 151 152, 237 NXT Data Logging application, 219 220 NXT Intelligent Brick, 3 NXT-G, 5 moving from 1.1 to 2.0, 255 side-by-side installation,256 NXTSketch program, 155 159 O Odometer program, 181 182 off-by-one error, 124 old programs, using, 256 online community. See websites, NXT-G or, logic operation, 186 out of memory error, 207 P percent error, 245 persistence, 195 pixel, 152 Play button, 11 pointer tool, 15 port, 58 PowerSetting program, 148 152, 173 PowerSettingWithImages program, 153 155 program flow, 73 and multiple Sequence Beams, 229 230 programmable timers, 126 129 index 259

programming palettes, 8, 9 programming structures, 73 programs. See also individual program names assumptions, 88, 233 copying, 175 downloading, 9 initial condition, 88 instructions, 235-238 practices, 6, 61, 93, 95, 137, 138, 166, 232 qualities of good, 4 requirements, 86, 233 running, 11 sharing, 174 testing, 90 writing, 9 ProgTimer1 My Block, 164 165 prompting the user, 235-238 proportional controller, 244 pseudocode, 83 85 Q question mark tab, 9 R Random block, 184 Configuration Panel, 184, 185 limits, 184 Range block, 189 reading a program configuration file, 238 241 Record/Play block, 55 56 RedOrBlue program, 64 67, 189 192 RedOrBlueColorMode program, 64 67, 192 194 RedOrBlueCount program, 133 137, 197 199, 201 206 refactoring, 206 reflected light, measuring, 63 remembering, a position, 140 remote control tool, 56 requirements, 4 for programs, 86, 233 Reset Motor block, 55 returning to a position, 143 144 right-hand rule algorithm, 86 Robo Center, 8 Rotation Sensor, 2, 45, 70 71 Configuration Panel, 70 Rotation Sensor block, 70 71 NXT-G 1.1 vs. NXT-G 2.0, 103, 158 159, 256 S saving your work, 10 scaling values, 180 Sensor blocks, 57, 99, 113 advantages of, 113 sensors, 2, 57. See also individual sensor names selecting a port, 61 Sequence Beams, 9, 73 adding, 221 223, 225 226 keeping out of trouble, 232 multiple, 221 232 and My Blocks, 230 and program flow, 229 230 synchronizing, 230 232 side-by-side installation, 256 SimpleMove program, 46 simplifying assumption, 64 sleep timer, 79 software, 5 Sound block, 10, 69, 103 controlling tone with, 103 104 controlling volume with, 102, 117 and debugging, 95 playing sound file with, 10 playing tone with, 69 Sound Sensor, 2, 61 62 Configuration Panel, 61 trigger value, 61 View menu, 62 SoundMachine program, 101 109, 117 121 source code, 9, 83 for example programs, 6 square root, 103 stall, motor, 47 Start Data Logging block, 217 218 Start New Program. See Create New Program steering, 47 48 Stop block, 80 Stop Data Logging block, 217 218 storing program data, 195, 197 199, 201 205 program settings, 195, 235 238 Switch block, 64 65, 73 75, 255 and comments, 78 conditions list, 116 117 adding a condition, 116, the default condition, 117, 119 fixing the order, 119 120 removing a condition, 116 Configuration Panel, 74 75 and data types, 111 and data wires 111 121 connecting data wires, 111, 114 116, 120 input data plug, 111 multiple Sequence Beams, 229 passing data in, 113 passing data out, 113 114 Flat and Tabbed View, 74, 78, 113 more than two choices, 76, 116 117 nested, 77 numbers as input, 117 NXT-G 1.1 vs. NXT-G 2.0, 117 tabs, 74, 121 trigger, 74 value control, 111 T target value, 239 Temperature Sensor, 3 testing, 13, 52, 93, 137, 242 single block, 50 Text block, 107 combining values, 212 214 Configuration Panel, 107 text value, 104 ThereAndBack program, 49 50 three-state controller, 243 time values, 126 Timer block, 125 126 Configuration Panel, 125 range of values, 126 trigger, 126 Timer1 program, 126 Timer2 program, 127 Timer3 program, 129 timers, 125 260 index

timestamp, 212 Touch Sensor, 2, 58 Configuration Panel, 58 feedback box, 58 View menu, 59 waiting for the user, 66 Touch Sensor block, 114 TriBot, building instructions, 17 alternate placement for Color Sensor, 42 alternate placement for Ultrasonic Sensor, 43 wires, 41 trigger, 58, 74, 234 235 truth table, 186 tuning a controller, 248 W Wait block Sensor, 57 Time, 13 Wait for Completion, 13 WallFollower program, 83 96 websites, NXT-G, 2, 253 wheel circumference, 181 wheels as dials, 101 102, 155 158 NXT-G 2.0, 158 whole numbers. See integer math work area, 8 X xor. See exclusive or (xor), logic operation U Ultrasonic Sensor, 2, 68 Configuration Panel, 68 feedback box, 68 inches and centimeters, 99 range, 68 trigger, 68, 69 View menu, 68 Ultrasonic Sensor block, 99 undo, 10 USB, 11 V Variable block, 132 Configuration Panel, 132 variables, 131 144, 243 creating, 131 132, 133 134 and data types, 132 deleting, 132 in place of long data wires, 138, 243 initializing, 140, 201 204 and My Blocks, 176 naming, 132, 133 VerifyLightPointer program, 209 217 VerifyLightPointer2 program, 218 219 Vernier, 3 View menu, 48, 59 Index 261