5M T Beam, 36, 280 9M Steering Link, 40, 283 Abe UB
Total Page:16
File Type:pdf, Size:1020Kb
index 5M T beam, 36, 280 angled structures, 47–48 dongle, 10 9M steering link, 40, 283 animal projects, 193 submenu, 24, 96 antennae attachments, for Table-Bot, web resources, 300 A 148–154 .bmp file type, 115 The Art of LEGO MINDSTORMS NXT_G BOM (Bill of Materials) Abe UB 22S, 10 Programming (Griffin), 107 for Inventor-Bot, 126 absolute value, 100 Atmel 8-bit AVR processor, 21 for the Jeep, 162 acceleration of motor, 95 Atmel 32-bit ARM7 processor, 21 for the Lizard, 195 accelerometer sensor, 26 axle accessories, 38, 282 for the Printer, 233 Action blocks, 94–96, 291, 293 axle ball peg, 36–37, 282 brainstorming, 122 Color Lamp block, 96–97 axle extender, 36–37, 284 BrickCon, 302 Display block, 95 axles, 35, 36–38, 280–282 BrickFest, 302 Motor block, 94–95 bricks, 3 Send Message block, 95–96 B Brickset, 299 Sound block, 95 Brickshelf, 299 sub-palette, 94 backlash, 54 BrickWorld, 302 Action parameter ball magazine, 43, 287 broken data wires, 92–93 for Color Lamp block, 97 balls, 43, 288–289 broken My Blocks, 109 for Display block, 82 ball shooter, 43, 287 building robot, 3–5 for File Access block, 106 base for the Printer, 232 web resources, 301 for Loop block, 85 base speed, 161 bushings, 36–37, 38, 282 for Motor block, 95 batteries, 9 buying LEGO pieces, 301 for Record/Play block, 80 power conservation, 16 for Sound block, 81 battery level indicator, 15 C for Switch block, 86 beams, 33–36, 277–280 for Variable block, 102 angled, 35–36 cables, 4, 28–29, 277 for Wait block, 84 extending, 45–46 converter, 23 activating robot, 7 right-angled, 36 for Inventor-Bot, 137 active sensors, 25 sequence, 73–74 for the Jeep, 175, 181 addition, 100 straight, 34–35 for the Lizard, 214–215 Advanced blocks, 104–107, 291, 297 widening, 46 for the Printer, 265–266 Bluetooth Connection block, 107 bevel gears, 42, 285–286 troubleshooting placement, 272 Calibration block, 106–107, 111 Bill of Materials (BOM) CAD (computer-aided design) software, web File Access block, 105–106 for Inventor-Bot, 126 resources, 301 Keep Alive block, 105 for the Jeep, 162 Calibrate Sensors tool, 111–112 Number to Text block, 104 for the Lizard, 195 Calibration block, 106–107, 111, 297 Reset Motor block, 107 for the Printer, 233 cam, 285 Text block, 105 Blakbird’s Technicopedia, 299 catapult, 44 Albrecht, Eric, 299 Block Import and Export Wizard, 113–115 CD-ROM, 11 Alpha Rex humanoid, 7, 16 blocks, right-angled, 47 Center Reset My Block, 182 ambient light, 27 blue light, 27 Clear/Go Back button, on microcomputer, And logical operation, 99 Bluetooth 23–24 angle connectors, 36–37, 284 connection, 6, 9–10, 13, 15–16, 23, 96 clipboard, and managing programming angled beams, 35–36, 278–280 Connection block, 107, 297 blocks, 75 The Unofficial LEGO MINDSTORMS NXT 2.0 Inventor's Guide © 2010 by David J. Perdue closing data file, 106 computer. See also NXT microcomputer for Switch block, 86 color controlling robot from, 116 for Wait block, 84 of axles, 38 requirements, 9 control sequence, 182 of data wires, 92 computer-aided design (CAD) software, web converter cables, 23 of pegs, 39 resources, 301 copying selected blocks, 75 of pieces, 33 configuration panel, 13, 70 cornered peg joiner, 36–37, 285 color lamp, sensor acting as, 27 for Bluetooth Connection block, 107 corners Color Lamp block, 96–97, 293 for Compare block, 100 forming, 47 Color parameter, for Color Lamp block, 97 for Constant block, 103 program for getting out of, 157–158 color-sensitive reptile. See Lizard, the for Display block, 82 Count option, for Loop block condition, 85 color sensor, 4, 26–27, 276 image in, 116 Create Pack and Go tool, 113 adding to the Jeep, 186–188 feedback boxes in, 78 cross-axles, 35, 36–38, 280–282 Color Sensor block, 97, 295 for File Access block, 106 cross block, 36–37, 40, 283–284 Color Sorter, 7, 16, 26 for Logic block, 99 cross-holes, 34, 35, 38, 47 comments, in programs, 76–77 for Math block, 100 CSR BlueCore4 chip, 23 Common blocks, 77, 94, 291, 292–293. See for Motor block, 94 custom constants, 104 also Common palette for Move block, 70, 78 custom NXT-G blocks, 291 Common palette, 70, 77–86 for Number to Text block, 104 website repository, 113 Display block, 82–83, 95, 116, 292, 293 for Random block, 101 Custom palette, 70, 107–109 image in configuration panel, 116 for Range block, 101 cutting, selected blocks, 75 Loop block, 84–85, 98, 183, 292, 295 for Record/Play block, 80 cycle, 93 data plugs, 90 for Reset Motor block, 107 sensor reading, 97 for Send Message block, 96 D Move block, 5, 77–80, 292 for Sound block, 81, 82 Data blocks, 99–102, 291, 296 configuration panel, 70 for Switch block, 87, 228 Compare block, 100 data hub chart, 91 for Text block, 105 Constant block, 103–104 Ultrasonic Sensor block to control connection Logic block, 99–100 power level of, 98 with Bluetooth technology, 6, 9–10, 13, Math block, 100 Record/Play block, 80, 292 15–16, 23, 96 Random block, 101, 106 Sound block, 80–82, 95, 292, 293 with USB cable, 14–15 Range block, 101 for the Lizard, 229 Connection parameter, for Send Message Variable block, 102 Random block to control, 101 block, 96 data files Switch block, 86, 98, 293, 295 connector blocks, 36–37, 40, 58, 283–285 closing, 106 configuration panel, 228 connectors, 36–40, 280–285 storing or reading, 105–106 data plugs, 90 axles, 35, 36–38, 280–282 data hub, 89, 90 sensor reading, 97 connector blocks, 36–37, 40, 58, resizing, 92 Wait block, 83–84, 98, 292, 295 283–285 data hub chart, for Move block, 91 sensor reading, 97 on NXT electrical cable, 28 data log, from the Printer, 274 sub-palette, 84 pegs, 39–40, 45–49, 282–283 Datalog Files subfolder, 24 Communications tab, in NXT window, 71 Constant block, 103–104, 296 data plugs, 89, 90–91 Compare block, 100, 296 Constant option, for Motor block action, 95 data types Compare parameter, for Ultrasonic Sensor constants, availability to multiple mismatch, 93 block, 97 programs, 104 transmitting, 92 compass sensor, 26 Controller, 14–15, 71 data wires, 85, 89–93 Complete palette, 70, 93–107 Control parameter broken, 92–93 imported blocks on, 114 for Loop block, 84, 85 creating connection, 90 Sensor sub-menu, 97 for Motor block, 95 for Sensor blocks, 97 compound gearing, 56 for Sound block, 81 and wire path, 92 304 INDEX The Unofficial LEGO MINDSTORMS NXT 2.0 Inventor's Guide © 2010 by David J. Perdue deceleration of motor, 95 E friction pegs, 36–37, 39, 283 Default profile, 66 for extending beams, 46 Edit Constants dialog, 103 default settings, restoring for sensor, 112 front-wheel drive, 160–161 Edit menu, 69, 75 default variables, 102 front-wheel steering, 160 Manage Profiles, 67 Define Constants dialog, 104 Function parameter, for Sound block, 81 Edit Variables dialog, 102 degrees educational resources, 301 for measuring servo motor duration, 79 G Eject My Block, 268 for specifying rotation, 25 electrical cables. See cables gearing down, 55 deleting electronic elements, 4, 276–277 gearing up, 55, 56 My Blocks, 109 NXT microcomputer, 21–24 gear ratio, 54–55 selected blocks, 75 schematics, 29 of compound gear ratio, 56 sound files from NXT, 81 sensors, 25–27 gears, 41–42, 285–286 digital sensors, 26–27. See also color sensor, servo motors, 25 driven, 54–56 ultrasonic sensor storing, 18 driver, 54–56 Direction parameter testing, 24 idler, 54–56 for Motor block, 94 Enter button, on microcomputer, 23–24 radius of, 57 for Move block, 79 error noise, program to emit, 15 roles for, 54 Display block, 82–83, 95, 116, 292, 293 events, keeping track of, 156 spacing on parallel axles, 57–58 Display parameter exiting program, 29 spacing on perpendicular axles, 60–61 for Display block, 82 exporting blocks, 115 spur, 59 for Switch block, 86 extending beams, 45–46 teeth, 41, 55 division, 100 gear train, 51–54 D-Link DBT-120 adapter, 10, 15 F assembling, 57–61 documentation, 123 compound, 56 double bevel gears, 42, 57 fairing elements, 43–44, 287 controlling performance, 54–57 on perpendicular axles, 60, 61 false value, 98, 99 gearwheel, 41 double friction peg, 36–37, 283 feedback boxes Go>> button, 67 Download and Run button, on controller, 71 for Loop block, 85 Google SketchUp NXT parts library, 301 Download and Run Selected button, on for Motor block, 94 graphical programming language, 65 controller, 71 for Move block, 80 graphics, restoring built-in, 112 Download button, on Controller, 14–15, 71 for Ultrasonic Sensor block, 98 green light, 27 downloading firmware, 113 File Access block, 105–106, 297 Griffin, Terry, The Art of LEGO MINDSTORMS downloading program File menu, 69 NXT-G Programming, 107 with Bluetooth technology, 16 File parameter to NXT computer, 14–15 for Display block, 82 H Downloading to NXT dialog, 15 for File Access block, 106 drag-and-drop approach to programming, 5 for Record/Play block, 80 half-bushing, 38, 282 drawing, Display block configuration for Sound block, 81 in gear train, 60 panel for, 83 file types, for Image Editor, 115 Hardware Development Kit (HDK), 29 Dreier, Andreas, 115 firmware in NXT, 10 headlights, for the Jeep, 191 driven gear, 54–56 updating, 112–113 Help menu, 67, 69 driver gear, 54–56 Flash memory, 10, 21 horizontal motor, for the Printer, 232 driving flexible structures, 49 Horizontal My Block, 269 with front wheels, 160 Flow blocks, 84, 98, 291, 295 Hughes, Jim, 300 straight and turning, 137 flow of control, for programming blocks, Duration parameter 73–74 I for Motor block, 95 Forever option, for Loop block condition, 85 icon, customizing for My Block, 108 for Move block, 79 forward direction, of servo motor, 79 idler gear, 54–56 dynamic structures, 48 friction, gears and, 54 Image Editor, 115–116 friction axle peg, 36–37, 47–48, 283 The Unofficial LEGO MINDSTORMS NXT 2.0 Inventor's Guide INDEX 305 © 2010 by David J.