Special Characters and Numerics
- 1N400x diodes, 283
- 1N914 diode, 284
- 1N4148 diode, 284
- 2N2222 transistor, 316, 320, 328
- 2N3904 NPN transistors, 58
- 74xx logic family, 344
- 78XX voltage regulator, 439–440
- 555 timer chips
- 556 dual timer chips, 361–364
- astable mode, 343, 348, 352–357
- beeper, 377–382
- bistable mode, 349, 357–359
- in coin-toss circuit, 96–97, 99
- description of, 346–348
- LED flasher circuit, 369–373
- modes
- monostable mode, 343, 348, 349–352
- one-shot timer, 364–369
- output pin, 359–360
- overview, 343–344, 345
- pins, 346–348
- in schematic diagrams, 348
- set/reset switches, adding, 373–377
- 556 dual timer chips, 361–364
- 802.11n wireless network, 738
- 4000-series logic gates, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- 4013 Dual D flip-flop, 581
- 7400-series TTL logic gates, 541
A
- A0 UNO board header pin, 610
- A1 UNO board header pin, 610
- A2 UNO board header pin, 610
- A3 UNO board header pin, 610
- A4 UNO board header pin, 610
- A5 UNO board header pin, 610
- AC (alternating current)
- alternators, 411–413
- blocking DC while passing, 254–259
- converting DC, power supply for, 431
- defined, 33, 406
- line voltage
- circuits, 423–428
- connectors for, 421–423
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 416
- in projects, 417–421
- wires for, 421–423
- magnetic field and, 408
- measuring, 408–409
- motors, 413
- overview, 406–407
- power adapters, 430
- transformers
- autotransformer, 414
- center-tapped, 432
- defined, 432
- general discussion, 413–416
- inductance and, 413–414
- inductors, 273
- magnetism and, 413–414
- step-down, 415, 433
- step-up, 415
- symbol for in schematic diagrams, 76
- acid-flux solder, avoiding, 125
- active-high circuit, 562
- active-high input circuits, 648, 792–793
- active-high latches, 562–569
- active-low circuit, 562
- active-low input circuits, 648, 792–793
- active-low latches, 562–563, 569–572
- Adafruit, 603, 694, 702, 889
- adapters
- AC, 430
- connector size, 431
- current capacity, 430
- DC, 430
- external, 417
- polarity, 430–431
- pre-assembled, 430
- ADC (analog-to-digital converter), 799
- addition, 631–632
- All Electronics, 106
- alligator clips, 53, 125–126
- alternating current (AC)
- alternators, 411–413
- blocking DC while passing, 254–259
- converting DC, power supply for, 431
- defined, 33, 406
- line voltage
- circuits, 423–428
- connectors for, 421–423
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 416
- in projects, 417–421
- wires for, 421–423
- magnetic field and, 408
- measuring, 408–409
- motors, 413
- overview, 406–407
- power adapters, 430
- transformers
- autotransformer, 414
- center-tapped, 432
- defined, 432
- general discussion, 413–416
- inductance and, 413–414
- inductors, 273
- magnetism and, 413–414
- step-down, 415, 433
- step-up, 415
- symbol for in schematic diagrams, 76
- alternators, 408, 411–413
- aluminum electrolytic capacitors, 244
- AM radio, 449–450
- Amazon, 54, 666, 669, 702, 711
- amber, 22
- ammeter, 137
- Ampère, André-Marie, 207
- amperes, 29, 137, 207
- amplifiers
- audio, 447
- defined, 17
- inverting, 391
- noninverting, 392
- open-loop, 388–390
- operational (op amps)
- 741 op-amp, 344
- adding voltages, 398–400
- closed loop-amplifiers, 391–392
- connections, 384–387
- defined, 343, 384
- ICs, 401–402
- ideal characteristics, 389–390
- inverting, 391
- LM324, 344, 402
- LM741, 401
- noninverting, 392
- open-loop, 388–390
- origin of, 387
- overview, 383–384
- symbol for in schematic diagrams, 384–385
- terminology, 384
- unity gain amplifiers, 393–398
- as voltage comparator, 395–398
- radio frequency (RF), 446
- for radio receivers, 446
- for radio transmitters, 446
- transistor, 308–310
- unity gain amplifiers, unity follower, 393–398
- amplitude modulation (AM), 445, 449
- amps, 11
- analog, 487–489
- analog input
- analog multimeters, 134–135
- analog-to-digital converter (ADC), 799
- AND circuit, 497–498
- AND gates
- CMOS, 549–552
- description of, 505
- as an enable input, 509
- general discussion, 506–510
- in home alarm systems, 508–509
- knife switches, 495–496
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- two-input, 506
- AND operation, 493
- AND transistor circuit, 528–529
- Andersen, Hans Christian, 137
- animation sequences, creating, 847–849
- animatronic prop controllers
- animatronics, defined, 851
- AP-16+ audio player module
- described, 860
- playing specific files, 874–875
- resetting, 873
- sample program, 876–877
- sending commands to, 864–866
- volume setting, 874
- waiting for files to finish playing, 875–876
- jack-in-the-box prop
- components of, 855–857
- lift mechanism, 855–857
- schematic diagram, 857
- overview, 851–852
- PIR motion detector
- described, 860
- programming, 877–878
- prop controller, building, 858–862
- Prop-1 controller, programming, 863–864
- RC-4 relay control module
- program for controlling all four relays, 869–871
- programming, 866–876
- sending commands to, 864–866
- setting all four relays at once, 868
- symbols, using to make commands more readable, 869
- turning all relays off, 867
- turning individual relays on or off, 867–868
- requirements of, 852–853
- typical animatronic props, 854–858
- anode, 57, 167, 281, 303
- antenna wire, 457
- antennas
- for crystal radios, 462–465
- for radio receivers, 446
- for radio transmitters, 446
- antistatic wristband, 70
- AP-16+ audio player module
- described, 860
- jack-in-the-box program, 878–880
- playing specific files, 874–875
- resetting, 873
- sample program, 876–877
- sending commands to, 864–866
- volume setting, 874
- waiting for files to finish playing, 875–876
- Apple macOS, 738
- Arduino
- Blink program, 606, 607–608, 616–617
- blinking LED with Arduino UNO, 612–614
- comments, 627–628
- digital I/O pin, 608–612
- flashing the LEDs, 625–627
- functions, 644–646
- IDE, installing, 603–605
- identifiers, creating, 629
- if statements, 634–638
- improved version of random program, 657–658
- keyboard
- Keyboard library, 725–726
- pin headers, 724
- pressing and holding keys, 728–729
- sending line via, 726–727
- switch statement, 727–728
- USB circuitry, 724–725
- keypad
- 3x3, 712
- 4x4, 712
- building, 720
- buttons in, 712–713
- buying, 711
- connecting, 713–714
- defined, 711
- keymap, 717–718
- Keypad variable, 718–719
- library, 715–716
- number of rows and columns, 717
- parts, 722
- pressed key, detecting, 719
- programming, 714–716
- row and column pins, 717–718
- setting up, 716–720
- testing, 723
- using, 720–723
- waitForKey function, 719–720
- wiring in, 712
- language, 615
- LED, controlling, 608–612
- LED flasher
- with comments, 628–629
- with function, 644–646
- with for loops, 642–643
- with push button control, 652–654
- variable-rate, 660–663
- with while loop, 640
- LED flasher program
- with if statement, 636–638
- with variable, 632–634
- LED flashing program that uses potentiometer, 659–660
- LED Test Circuit, 622–625
- for loops, 641–643
- math operations, 631–632
- MEGA board, 889, 890
- Morse code program, 688–690
- MP3 shield
- assembling, 695
- features, 694–695
- micro-SD card, preparing, 695–696
- pins, 697
- playing MP3 track, 701
- playing sounds with, 699–701
- music, making, 692–694
- music player, building, 699–701
- overview, 599
- potentiometer. reading value from, 658–663
- programming tricks, 647–663
- prototyping shields, 602, 619–621
- push button program, 651
- push button, using, 647–649
- random program, 655–657
- versus Raspberry, 737–738
- servo
- buying, 702
- connecting, 702–704, 707–710
- control program, 705–706
- control signal, 702
- defined, 702
- programming, 704
- three-conductor cable, 702–703
- shields, 602
- siren, playing, 690–691
- sketch, 605–607
- song, playing, 692–694
- speaker, using with
- beep function, 683–684
- connecting speaker, 684–686
- creating sound with speaker, 686–688
- duration argument, 684
- overview, 681–682
- piezo buzzer, 682
- tone function, 683–684
- starter kit, 603
- status of switch, checking, 649–651
- test circuits, building, 621–625
- UNO, 599–601
- variables, 629–631
- while loops, 638–640
- Windows keypad gadget, 729–734
- AREF UNO board header pin, 610
- arguments, 617, 776
- ARM processors, 801
- Armstrong, Edwin, 453–454
- assignment statement, 630
- assumptions, in this book, 4
- astable mode, 555 timer chip
- defined, 343, 348
- description of, 352
- duty cycle, calculating, 355
- time intervals in, 354–355
- typical circuit, 353–354
- astable multivibrator, 323–325
- ATmega328P single-chip microprocessor, 600
- Atmel ATmega328P single-chip microprocessor, 600, 601
- atomic number, 25
- atoms, 24–25
- Audacity, 817
- audible beeper, 379–382
- audio amplifier, 447, 889
- audio devices
- defined, 16
- parts of, 16–17
- audio jack, Raspberry Pi, 739
- automotive glass cartridge (AGC) cartridge, 424
- autotransformer, 414
B
- B-9 robot, 883–884
- Back to the Future (movie), 235
- back voltage, 267
- band-pass filters, 273
- bandwidth, 390
- barrier strips, 422–423, 460
- base, 58, 306, 469
- base-emitter, 306
- BASIC Stamp microprocessor, 853, 859
- batteries
- ancient, 15
- defined, 166
- disposal of, 167–168
- general discussion, 165
- rechargeable, 11, 51, 169
- safety, 64–65
- sizes, 167–168
- symbol for in schematic diagrams, 76
- battery clip, 52
- battery holder, 52
- Baviera, Julio, 444
-
beep function, 684
- beeper, 377–382
-
begin() function, 672
- Beginning Programming with Python For Dummies (Mueller), 759
- Berra, Yogi, 85
- bias voltage, 306
-
bin directory (Linux), 747
- binary conversions, 494–495
- binary number systems
- binary conversions, 494–495
- bits, 491–492
- general discussion, 490–492
- logical operations, 493
- powers of two, 492
- bipolar transistors, 304
- bistable circuits
- 555 timer chip, 349, 357–359
- 4013 Dual D, 581
- D, 580, 582–586
- debouncing clock input, 589
- defined, 349, 561
- edge-triggered, 579
- general discussion, 357–359, 579–582
- JK, 580–581
- latches
- active-high, 562–569
- active-low, 562–563, 569–572
- defined, 562
- gated, 572–578
- gated D latch, 573, 575–578
- RS latches, 565
- SET input, 562
- SR latches, 565
- bits, 491–492
- Blink program, 606, 607–608, 616–617
- blow-mold figures, 834
- Bluetooth, 739
- bolt mount, 45
- Boole, George, 504
- Boolean algebra, 504
- Boolean logic, 504–505
-
boot directory (Linux), 747
- Bose, Jagadish, 444
- Branly. Edouard, 444
- Braun, Ferdinand, 444
- breadboard
- contact holes, 95
- defined, 49, 85
- DIP chips in, 338
- overview, 49–50
- prototyping on
- coin-toss circuit, 98–103
- description of, 94–95
- laying out, 96–98
- overview, 94
- terminal strips, 95
- tiny, 619–621
-
break statement, 728
- bridge rectifier, 290–291, 435–436
- Brooks, Mel, 37
- bytes, 492
C
- C++ language, 615, 760
- C7 lights, 834
- C9 lights, 834
- cable ties, 53
- cables
- Calculator program, 494–495
- camera serial interface (CSI), 739
- capacitance
- defined, 237
- markings, 241
- measuring, 239–240
- capacitors
- blocking DC while passing AC, 254–259
- ceramic disk capacitors, 242–243
- charging, 250–254
- charging circuit, 245
- coin-toss project, installing in, 111
- combining, 247
- defined, 66
- definition of, 236–238
- discharging, 66, 238, 250–254
- electrolytic, 244
- film, 243–244
- general discussion, 235–238
- mica, 243
- overview, 55–56
- in parallel, combining, 248
- polarized, 238
- reading values of, 240–241
- reference identifier, 82
- resistor/capacitor networks, 209, 245–247
- safety, 66
- safety tip, 20
- in series, combining, 248–249
- shapes of, 242–244
- silver mica, 243
- sizes of, 242–244
- symbol for in schematic diagrams, 76, 238
- tolerance markings, 242
- types of, 242–244
- uses for, 250
- variable, 244, 457
- capacitors variable, 244
- caps. See capacitors
- carbon film resistor, 208
- carrier wave, 445, 452
- cartridge fuse, 423
-
case statement, 728
- Cat5 cable, 837
- catch diodes, 285
- cathode, 57, 100, 167, 303
- cathode-ray tube (CRT), 150
- cathodes, 281
- CCS pin, 697
- center-tapped transformers, 432
- central processing unit (CPU)
- defined, 592
- Raspberry Pi, 738
- ceramic disk capacitors, 56, 242–243
- channels, 443, 767, 832–833
-
char variable, 630
- chip select pin, 802
- chips. See integrated circuits (ICs)
- circuit board
- capacitors, 20
- circuit side of, 19–20
- component side of, 19–20
- defined, 18
- circuits. See also integrated circuits (ICs)
- active-high, 562
- active-low, 562
- AND, 497–498
- Arduino LED test circuit, 622–625
- closed, 165
- coin-toss
- assembling in solderless breadboard, 98–103
- circuit design, 89–93
- mounting in box, 115–120
- overview, 88–89
- PCB, constructing on, 108–113
- preliminary sketch for, 89
- schematic diagram for, 91
- specifications, 88
- troubleshooting, 104
- defined, 13, 164–166
- designing, 89–93
- elements of, 164–166
- enclosure for, 113–120
- feedback, 391
- flip-flops
- 4013 Dual D, 581
- active-high latches, 562–569
- active-low latches, 562–563, 569–572
- D, 580, 582–586
- debouncing clock input, 589
- defined, 349, 561
- defined latches, 562
- edge-triggered, 579
- gated D latch latches, 573, 575–578
- gated latches, 572–578
- general discussion, 357–359, 579–582
- JK, 580–581
- overview, 561
- RS latches, 565
- SET input latches, 562
- SR, 580
- SR latches, 565
- T, 580–581
- toggle, 586–589
- types of, 580–581
- lamp
- parallel, 183–186
- parallel switch circuits, 190–193
- series, 181–183
- series switch circuits, 187–190
- simple, 170–171
- switched, 175–179
- switching between two lamps, 193
- two lamps, controlling with one switch, 193–196
- laying out, 73–74
- LED driver, 314–315
- LED flasher
- flasher program with function, 645–646
- flasher program with if statement, 636–638
- flasher program with variable, 632–634
- LED flashing program that uses potentiometer, 659–660
- making, 369–373
- with push button control, 652–654
- variable-rate, 660–663
- with while loop, 640
- LEDs in, 295
- line voltage
- fuses, protecting with, 423–424
- relays, controlling with, 425–428
- logic
- 4000-series logic gates, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- integrated circuit logic gates, 539–542
- NAND transistor circuits, 529–533
- NOR transistor circuits, 534–539
- OR transistor circuits, 534
- overview, 523
- 7400-series TTL logic gates, 541
- multimeters, measuring with
- analog, 134–135
- current, 143–145
- description of, 30–31, 47–48
- digital, 134
- overview, 133–134
- parts of, 135–136
- resistance, 146–147
- schematic symbols for meter functions, 139
- types of, 137–139
- voltage, 145–146
- one-shot 555 timer circuit, 366–369
- open, 165
- operational amplifiers (op amps)
- 741 op-amp, 344
- adding voltages, 398–400
- closed loop-amplifiers, 391–392
- connections, 384–387
- defined, 343, 384
- ICs, 401–402
- ideal characteristics, 389–390
- inverting, 391
- LM324, 344, 402
- LM741, 401
- noninverting, 392
- open-loop, 388–390
- origin of, 387
- overview, 383–384
- symbol for in schematic diagrams, 384–385
- terminology, 384
- unity gain amplifiers, 393–398
- as voltage comparator, 395–398
- OR, 499–500
- overview, 13–14
- parallel, 179–181
- parallel switch, 190–193
- PCB, constructing on
- coin-toss circuit, 108–113
- custom, creating, 107
- overview, 104–105
- preprinted, 106–107
- surface-mount, 105–106
- through-hole, 105
- polarity-reversing, 200–202
- prototyping on solderless breadboard, 94–104, 98–103
- description of, 94–95
- laying out, 96–98
- overview, 94
- radio tuning, 273
- rectifier, 292–294
- rectifiers
- bridge, 290–291, 435–436
- circuits, 291–294
- converting AC to DC with, 289–290
- defined, 283, 289, 433
- forward voltage drop, 283
- full-wave, 290, 435
- half-wave, 289, 434
- regenerative, 453
- series, 179–181
- series switch, 187–190
- short, 165
- superheterodyne, 454
- switches, 171–175
- test, 621–625, 761–762
- timing with capacitors, 250
- transistor
- voltage-divider, 229–231
- XOR circuit, 501–502
- CircuitVerse, 522
- clamp mount, 45
-
clear() function, 672
- clock, 592
- CLOCK input, 579
- clock input, debouncing, 589
- Clock input, gated latch, 572
- CLOCK PIN, 670
- CLOCK pin, 671
- clock pin, 802
- clocks, analog versus digital, 488
- closed circuits, 165
- closed loop-amplifiers, 391–392
- CMOS (complementary metal-oxide semiconductor), 541
- CMOS AND gate, 549–552
- CMOS NAND gate, 546–549
- CMOS NOR gate, 556–559
- CMOS OR gate, 552–555
- coils
- building, 457–460
- for crystal radio, 457–460
- primary, 414–415, 432
- secondary, 414–415
- coin-toss project
- assembling in solderless breadboard, 98–103
- circuit design, 89–93
- mounting in box, 115–120
- overview, 88–89
- PCB, constructing on, 108–113
- preliminary sketch for, 89
- schematic diagram for, 91
- specifications, 88
- troubleshooting, 104
- cold joint, 129
- collector current (ICE), 307
- collector-base voltage (VCBO), 307
- collector-emitter, 306
- collector-emitter voltage (VCEO), 307
- collectors, 58, 306, 469
- color organs
- assembling, 819–825
- building, 815–816
- connecting to light and sound source, 817
- defined, 815
- described, 816–817
- how it works, 818
- parts list, 816, 819
- using, 825–826
- commands
- delay, 606
- digitalWrite, 606
- G, 873
- L, 872
- loop, 607
- P? 873
- PA, 873
- pinMode, 606, 616
- PS, 873
- PW, 872
- S, 873
- SEROUT, 864
- setup, 606
- V, 873
- X, 872
- comments, 627–628, 768–769
- common terminal, 174
- common-base collector, 308
- common-collector, 308
- common-emitter, 308
- common-emitter proximity detector, building, 476–480
- compensation, 157
- compiled program, 760
- compiler, 760
- compressed air, 53
- computers, 18, 831
- condensers, 238
- conditional expression, 634, 778
- conductance, 222
- conductive path, 165
- conductors
- defined, 13, 204
- general discussion, 27–28
- connectors
- for line voltage, 421–423
- power adapters, 431
- constants
- Arduino sketch, 617
- Python, 770–771
- contact holes, 95
- control grid, 303
- control pin, 347
- control signal, 702
- conventional current, 32, 165
- conventional current flow, 72–73
- coulombs, 239
- A Course in Electrical Engineering (Dawes), 261
- covalent bonds, 276
- CPU (central processing unit)
- defined, 592
- Raspberry Pi, 738
- crystal oscillator, 449
- crystal radio
- antenna, setting up, 462–464
- building, 457–460
- circuit, assembling, 460–461
- components, 456–457
- grounding, 464
- overview, 454–455
- schematic diagram, 456
- simple crystal radio circuit, 455–456
- using, 465
- crystals, 277
- CSI (camera serial interface), 739
- curly brace (~), 617
- current
- AC
- alternators, 411–413
- blocking DC while passing, 254–259
- compared with DC, 32–34
- converting to DC, power supply fort, 431
- defined, 33, 406
- line voltage, 416–428
- magnetic field and, 408
- measuring, 408–409
- motors, 413
- overview, 406–407
- power adapters, 430
- transformers, 413–416
- alternating, 32–34
- conventional, 165
- conventional current, 32
- DC
- blocking while passing AC, 254–259
- blocking with capacitors, 250
- compared with AC, 32–34
- converting AC to, power supply for, 431
- defined, 32, 406
- power adapters, 430
- stabilizing with capacitors, 250
- defined, 35
- limiting in LED with resistor, 295–296
- multimeter, measuring with, 143–145
- nature of, 28–29
- overview, 13
- rectified, filtering, 436–438
- relationship to power and voltage, 35–36
- resistors, limiting with, 209, 214–218
- safety, 62–64
- transformers
- alternating current and, 408
- autotransformer, 414
- center-tapped, 432
- defined, 432
- general discussion, 413–416
- inductance and, 413–414
- inductors, 273
- magnetism and, 413–414
- step-down, 415, 433
- step-up, 415
- symbol for in schematic diagrams, 76
- unit for, 207
- versus voltage, 63
- current gain (HFE), 307
- current-limiting resistor, 295–296
- cut-off, 313
- Cylon LED flasher, 790
D
- D flip-flop, 580, 582–586
- D0 pin, 671
- D0→RX UNO board header pin, 610
- D1 pin, 671
- D1←TX UNO board header pin, 610
- D2 pin, 671
- ~D3 UNO board header pin, 610
- D2 UNO board header pin, 610
- D3 pin, 671
- D4 pin, 671
- D4 UNO board header pin, 610
- D5 pin, 671
- ~D5 UNO board header pin, 610
- ~D6 UNO board header pin, 610
- D7 pin, 671
- D7 UNO board header pin, 610
- D8 UNO board header pin, 609
- ~D10 UNO board header pin, 610
- ~D11 UNO board header pin, 610
- D12 UNO board header pin, 610
- D13 UNO board header pin, 610
- data input pin, 802
- data output pin, 802
- data parameter, 865
- data sheets, 342–343
- Dawes, Chester L., 261
- DC (direct current)
- blocking while passing AC, 254–259
- blocking with capacitors, 250
- converting AC to, power supply for, 431
- defined, 32, 406
- power adapters, 430
- stabilizing with capacitors, 250
- DCS pin, 697
- De Morgan, Augustus, 517
- De Morgan’s Theorem, 516–519
- dead-bug wiring, 337
- debouncing clock input, 589
- decimal system, 490
-
def statement, 776
-
delay command, 606
-
delay function, 618
- depletion zone, 280
- design families, 539
- desoldering, 131–132
- desoldering braid, 126, 132
- desoldering bulb, 126, 132
- detectors, 447
-
dev directory (Linux), 747
- diagrams, schematic
- 555 timer chip in, 348
- capacitor, symbol for, 238
- circuits in
- laying out, 73–74
- representing integrated, 82–83
- for coin-toss circuit, 91
- common symbols on, 75–77
- for crystal radio, 456
- diodes in, 282
- fuse in, 424
- ICs in, 339–340
- integrated circuits in, 82–83
- jack-in-the-box prop, 857
- junctions in, 74–75
- labeling components in, 80–81
- LED in, 295
- op amp in, 384–385
- organ color circuit, 818
- overview, 71–72
- potentiometer, symbol for, 233
- resistors, symbols for, 208
- simple example of, 72–73
- dielectric, 238
- differential inputs, 386
- DigiKey, 290
- digital electronics
- versus analog, 487–489
- binary number systems
- binary conversions, 494–495
- bits, 491–492
- general discussion, 490–492
- logical operations, 493
- powers of two, 492
- defined, 18
- gates, using switches to build, 495–496
- projects
- AND circuit, 497–498
- OR circuit, 499–500
- XOR circuit, 501–502
- digital multimeters, 134
-
digitalWrite command, 606
-
digitalWrite function, 618
- digits, 491
- diodes
- anode in, 281
- blocking reverse polarity with, 286–289
- cathodes in, 281
- defined, 275, 281
- forward bias, 281–282
- forward voltage drop, 282
- freewheeling, 285
- germanium, 284, 457
- high-speed, 284
- overview, 56–57, 275–276
- peak inverse voltage, 282–283
- peak reverse voltage, 282–283
- rectifiers
- bridge, 290–291
- circuits, 291–294
- converting AC to DC with, 289–290
- defined, 283, 289
- forward voltage drop, 283
- full-wave, 290
- half-wave, 289
- reference identifier, 82
- reverse bias, 281–282
- semiconductors
- crystals, 277
- defined, 275, 276
- depletion zone, 280
- doping, 278
- equilibrium, 280
- N-type, 278–279
- overview, 276–277
- p-n junction, 279–280
- P-type, 278–279
- signal, 285
- signal diodes, 284
- switching, 284
- symbol for in schematic diagrams, 76, 282
- Zener, 284–286
- diode-transistor logic (DTL), 540
- direct current (DC)
- blocking while passing AC, 254–259
- blocking with capacitors, 250
- compared with AC, 32–34
- converting AC to, power supply for, 431
- defined, 32, 406
- power adapters, 430
- stabilizing with capacitors, 250
- discharge pin, 347
- discharging, 238
- discrete components, 330
- Disneyland, 851
- display serial interface (DSI), 738
- dissipation, 36
- division, 631–632
- Dock (Mac), 604
- doping, 278
- double precision floating-point numbers, 630
-
double variable, 630
- double-pole switch, 173
- double-throw switch, 184
- DPDT (double pole, double throw) switch, 174, 286
- DPST (double pole, single throw) switch, 174
- DREQ pin, 697
- DSI (display serial interface), 738
- DTL (diode-transistor logic), 540
- dual inline package (DIP), 336–338
- duration argument, 684
- duty cycle, calculating, 355
E
- earth ground, 70
- ECHO pin, 666–667, 668
- Edison, Thomas, 9–10, 14, 410
- Edison Effect, 9
- EEPROM (electrically erasable programmable read-only memory), 593
- EFX-TEK, 853, 858
- 8-bit mode LCD, 670
- 802.11n wireless network, 738
- eight-channel relay card, 889, 890
- Einstein, Albert, 240, 262
- electric charge, 12, 26–27
- electric circuit. See circuits
- electric current
- AC
- alternators, 411–413
- blocking DC while passing, 254–259
- converting to DC, power supply fort, 431
- defined, 33, 406
- line voltage, 416–428
- magnetic field and, 408
- measuring, 408–409
- motors, 413
- overview, 406–407
- power adapters, 430
- transformers, 413–416
- alternating, 32–34
- conventional, 165
- conventional current, 32
- DC
- blocking while passing AC, 254–259
- blocking with capacitors, 250
- compared with AC, 32–34
- converting AC to, power supply for, 431
- defined, 32, 406
- power adapters, 430
- stabilizing with capacitors, 250
- defined, 35
- limiting in LED with resistor, 295–296
- multimeter, measuring with, 143–145
- nature of, 28–29
- overview, 13
- rectified, filtering, 436–438
- relationship to power and voltage, 35–36
- resistors, limiting with, 209, 214–218
- safety, 62–64
- transformers
- alternating current and, 408
- autotransformer, 414
- center-tapped, 432
- defined, 432
- general discussion, 413–416
- inductance and, 413–414
- inductors, 273
- magnetism and, 413–414
- step-down, 415, 433
- step-up, 415
- symbol for in schematic diagrams, 76
- unit for, 207
- versus voltage, 63
- electric field, 236
- electric shock, 63–64
- electric telegraph, 15
- electrical devices, 14–15
- electrical tape, 53
- electricity
- atoms, 24–25
- concepts of, 10–13
- dangers of
- household electrical current, 62–63
- overview, 62
- voltages, 64
- electric charge, 12
- electric circuit, 13–14
- electric current, 13
- for lab, 40
- origin of word, 22
- static, 12, 69–70
- terminology, 22
- electrolyte, 166
- electrolytic capacitors, 56, 244
- electromagnetic force, 236
- electromagnetic induction, 265–266
- electromagnetic radiation (EMR), 442
- electromagnetism, 26
- electromagnets, 263–264
- electromotive force, 30, 32
- electronic components, basic
- capacitors, 20, 55–56, 235, 238
- blocking DC while passing AC, 254–259
- ceramic disk capacitors, 242–243
- charging, 250–254
- charging circuit, 245
- coin-toss project, installing in, 111
- combining, 247
- defined, 66
- definition of, 236–238
- discharging, 66, 238, 250–254
- electrolytic, 244
- film, 243–244
- mica, 243
- in parallel, combining, 248
- polarized, 238
- reading values of, 240–241
- reference identifier, 82
- resistor/capacitor networks, 209, 245–247
- safety, 66
- in series, combining, 248–249
- shapes of, 242–244
- silver mica, 243
- sizes of, 242–244
- symbol for in schematic diagrams, 76, 238
- tolerance markings, 242
- types of, 242–244
- uses for, 250
- variable, 244, 457
- diodes
- anode in, 281
- blocking reverse polarity with, 286–289
- cathodes in, 281
- defined, 275, 281
- forward bias, 281–282
- forward voltage drop, 282
- freewheeling, 285
- germanium, 284, 457
- high-speed, 284
- overview, 56–57, 275–276
- peak inverse voltage, 282–283
- peak reverse voltage, 282–283
- rectifiers, 283, 286, 289, 289–290, 290, 290–291, 291–294
- reference identifier, 82
- reverse bias, 281–282
- semiconductors, 275, 276, 276–277, 277, 278, 278–279, 279–280, 280
- signal, 285
- signal diodes, 284
- switching, 284
- symbol for in schematic diagrams, 76, 282
- Zener, 284–286
- integrated circuits (ICs), 59
- resistors
- coin-toss project, installing in, 111
- color codes of, 209–210
- combining, 218–219
- current-limiting resistor, 295–296
- defined, 138, 203, 208
- dividing voltage with, 209, 227–231
- latches, 564
- limiting current for LED with, 295–296
- limiting current with, 209, 214–218
- mixing series and parallel, 221–223
- overview, 54–55, 203–204
- parallel, 222
- in parallel, combining, 220–221
- power ratings, 213–214
- reading values, 210–211
- reference identifier, 82
- resistor/capacitor networks, 209
- in series, combining, 218
- in series and parallel, combining, 223–227
- standard values, 212
- symbol for in schematic diagrams, 76, 208
- tolerance, 211–213
- uses for, 209
- stocking up on, 54–59
- transistors
- amplifying with, 308–310
- bipolar, 304
- defined, 58
- discrete components, 330
- as electronic lever, 302
- history, 303
- LED driver, circuits with, 315–317
- LED flasher, circuits with, 327–330
- multiple-emitter, 540
- NOT gate, circuits with, 318–322
- NPN, 304–305, 313
- oscillating with, 323–325
- overview, 300–301
- PNP, 305
- reference identifier, 82
- shapes and size, 303
- specifications, 307
- as switch, 312–314
- symbol for in schematic diagrams, 76
- electronic devices
- audio devices, 16–17
- circuit board, 18–20
- computing, 18
- defined, 14–15
- radio transmissions, 17–18
- electronic project kit, 1
- electronics
- basic uses for, audio, 16–17
- history, 9–10
- history of, 14
- uses for
- computing, 18
- light production, 17
- radio transmissions, 17–18
- electrons, 12, 26, 236
- electrostatic charge, 69–70
- Elegoo UNO Project Super Starter Kit, 603
- elements, 25–26
- emitter-base voltage (VBEO), 307
- emitters, 58, 306, 469
- EMR (electromagnetic radiation), 442–443
- ENABLE input, gated latch, 572–575
- Enchanted Tiki Room (Disneyland), 851
- enclosure, for circuits, 113–120
- energy, storing with capacitors, 250
- equilibrium, 280
-
etc directory (Linux), 747
- Ethernet, 738
- extension cord, 63
- eye protection, 126
- eyewear, 65, 68
F
- Facebook, 444
- Faraday, Michael, 240, 265
- farads, 239, 265
- feedback circuit, 391
- filament, 9–10, 35–36
- file system, Raspberry Pi, 746–747
- film capacitors, 243–244
- filters, 273
- finger contacts, 117–119
- fire extinguisher, 69
- first-aid kit, 69
- +5 V UNO board header pin, 611
- 555 timer chips
- 556 dual timer chips, 361–364
- astable mode, 343, 348, 352–357
- beeper, 377–382
- bistable, 357–359
- bistable mode, 349, 357–359
- in coin-toss circuit, 96–97, 99
- description of, 346–348
- LED flasher circuit, 369–373
- modes
- monostable mode, 343, 348, 349–352
- one-shot timer, 364–369
- output pin, 359–360
- overview, 343–344, 345
- pins, 346–348
- in schematic diagrams, 348
- set/reset switches, adding, 373–377
- 556 dual timer chips, 361–364
- flash camera, 66
-
flashCount variable, 782
- flip-flops
- 4013 Dual D, 581
- D, 580, 582–586
- debouncing clock input, 589
- defined, 349, 561
- edge-triggered, 579
- general discussion, 357–359, 579–582
- JK, 580–581
- latches
- active-high, 562–569
- active-low, 562–563, 569–572
- defined, 562
- gated, 572–578
- gated D latch, 573, 575–578
- RS, 565
- SET input, 562
- SR, 565
-
float variable, 630
- flux, 125
- flux capacitors, 235
- flyback diodes, 285
- FM (frequency modulation), 445
- FM radio, 451–454
- followers, 394
- for loops, 641–643, 784–787, 786–787
- Forbidden Planet (movie), 881–883
- forward bias, 281–282
- forward voltage drop, 282
- 4-bit mode LCD, 670
- 4000-series logic gates, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- 4013 Dual D flip-flop, 581
- four-input OR gate, 510
- foxhole radio, 462
- Frankenstein (movie), 37
- Franklin, Benjamin, 11, 14
- freewheeling diodes, 285
- frequencies, filtering with capacitors, 250
- frequency, 153, 407, 447, 467–468
- frequency modulation (FM), 445, 451, 454
- friend, 69
- full-wave rectifier, 290, 435
- function library, 617
- functions, 616
- beep, 684
- begin(), 672
- clear(), 672
- creating in Python, 775–777
- delay, 618
- digitalWrite, 618
- home(), 672
- LiquidCrystal(), 672
- loop, 618, 705, 719
- noTone, 684
- playNote, 692
- playRest, 692
- print(), 672
- pulseIn, 668
- random, 656–657
- setCursor(), 672
- setLEDs, 776, 782
- setLEDsOn, 776
- setup(), 618, 705
- tone, 683–684
- waitForKey, 719–720
- fuses
- automotive glass cartridge, 424
- cartridge, 423
- holders, 425
- line-voltage circuits, protecting, 423–424
- symbol for in schematic diagrams, 424
G
-
G command, 873
- gamma rays, 443
- gated latches, 572–578
- gates. See also logic circuits
- AND, 495–496
- CMOS, 549–552
- description of, 505
- as an enable input, 509
- general discussion, 506–510
- in home alarm systems, 508–509
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- two-input, 506
- De Morgan’s Theorem, 516–519
- defined, 318
- 4000-series, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- four-input OR, 510
- integrated circuit logic gates, 539–542
- NAND
- constructing other gates from, 519–520
- De Morgan’s Theorem, 517–519
- defined, 511
- description of, 505
- general discussion, 511–513
- NOR gate, constructing from, 521
- in sensor circuits, 513
- symbol for, 512
- truth table for, 511
- NOR
- CMOS, 556–559
- constructing other gates from, 520–521
- De Morgan’s Theorem, 517–519
- description of, 505
- NAND gate, constructing from, 520
- NOT
- building, 319–322
- defined, 318
- description of, 505
- general discussion, 505–506
- NAND gate, constructing from, 519
- NOR gate, constructing from, 521
- NXOR, description of, 505
- OR
- CMOS, 552–555
- description of, 505
- four-input, 510
- general discussion, 509–511
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- in sensor circuits, 511
- truth table for, 509–510
- two-input, 509–510
- 7400-series TTL, 541
- software logic gate simulators, 521–522
- two-input AND, 506
- two-input OR, 509–510
- universal, 512
- using switches to build, 495–496
- XNOR, 514–516
- XOR, 514–516
- gauge, 51
- general-purpose input-output (GPIO)
- general-purpose input-output (GPIO) pins
- digital input, using for, 791–794
- warnings, eliminating unnecessary, 766–767
- generators, 412
- germanium diode, 457
- gigahertz (GHz), 442
- global variables, 631
- glue gun, 460
- glue sticks, 460
- GND pin, 666–667, 671
- GND UNO board header pin, 610, 611
- GPIO (general-purpose input-output)
- active-high connection, 792–793
- active-low connection, 792–793
- digital input, using for, 791–794
- pins, 739, 753
- ports, 739
- warnings, eliminating unnecessary, 766–767
- graphics processor, Raspberry Pi, 738
- gravity, 26
- ground, 70
- ground connection
- path in circuits, 78–81
- symbol for in schematic diagrams, 76
- ground pin, 346
- ground wires, 419–421
- grounding, for crystal radio, 464
H
- half-wave rectifier, 289, 434
- Halloween props, 851–852
- handheld magnifying glass, 43
- handtools
- cheap, 42
- pliers, 42
- screwdrivers, 42
- wire cutters, 42
- wire strippers, 42–43
- The Haunted Mansion (Disneyland), 851
- HC-SRO4 range finder
- calculations, 668–669
- described, 666
- pinouts for, 666–667
- pulse input, reading, 668
- trigger pulse, generating, 667
- HD44780 LCD
- buying, 669
- connecting to Arduino, 670–671
- pinouts, 671
- programming, 671–672
- HDMI cable, 741
- HDMI connectors, 738
- heat damage, 341–342
- heat sink, 126
-
Hello, World! program, 748–751
- henrys, 268–269
- hertz, 153, 442
- Hertz, Heinrich, 442, 444
-
high variable, 691
- high-pass filters, 273
- high-speed diodes, 284
- Hobby Engineering, 106
- hobby vise, 45–46
- holiday light animation
- basic Light-O-Rama setup, 830–831
- channels, 832–833
- layout, designing, 835
- light, choosing for display, 833–834
- Light-O-Rama Sequence Editor
- animation sequences, creating, 847–849
- described, 840–841
- musical sequences, creating, 842–846
- overview, 827
- sequences, 832–833, 841–842
- ShowTime PC controller
- assembling, 835–836
- connecting to computer, 837–838
- described, 831
- features of, 828–830
- testing, 838–840
-
home directory (Linux), 747
-
home() function, 672
- hook-up wire, 457, 460
- hot glue gun, 460
- hot wires, 419–421
- household electrical current, 62–63
I
- icons, used in this book, 5
- ICs (integrated circuits)
- 74xx logic family, 344
- 78xx voltage regulator, 344
- 555 timer chips
- 556 dual timer chips, 361–364
- astable mode, 343, 348, 352–357
- beeper, 377–382
- bistable mode, 349, 357–359
- description of, 346–348
- LED flasher circuit, 369–373
- monostable mode, 343, 348, 349–352
- one-shot timer, 364–369
- output pin, 359–360
- overview, 343–344, 345
- pins, 346–348
- in schematic diagrams, 348
- set/reset switches, adding, 373–377
- 741 op-amp, 343
- damage to, avoiding static and heat, 341–342
- data sheets for, reading, 342–343
- defined, 333, 334
- dual inline package, 336–338
- 555 timer chips
- astable mode, 348, 352–357
- beeper, 377–382
- bistable, 357–359
- bistable mode, 357–359
- monostable mode, 343, 348
- overview, 345
- 556 dual timer chips, 361–364
- heat damage, 341–342
- LM324 op-amp, 344
- manufacture of, 335–336
- Moore's law, 335
- op-amp, 343, 401–402
- overview, 333–334
- packages, 336–338
- powering, 340–341
- reference identifier, 82
- in schematic diagrams, 82–83, 339–340
- static discharges, 341
- IDE (integrated development environment)
- identifiers
-
if statements, 634–638, 728, 778–781
- impedance, 389
- improved random program, 657–658
- incandescent minilights, 833
- increment operator, 639
-
increment variable, 691
- index, 717
- inductance, 266
- inductors
- combining, 271–272
- defined, 266
- electromagnets, 263–264
- inducing current
- henrys, 268–269
- overview, 265
- resisting changes in current, 266–268
- magnetism
- north and south magnetic poles, 263
- overview, 262
- permanent magnets, 263
- overview, 261–262
- parallel, 272
- reactance, calculating, 271
- reference identifier, 82
- RL time constants, calculating, 269–270
- self-inductance, 266–268
- series, 272
- symbol for in schematic diagrams, 76
- unequal, 272
- uses for, 272–273
- infinite input impedance, 389
- infinite open loop gain, 389
- infinite resistance, 313
- infrared light
- common-collector proximity detector, 480–484
- common-emitter proximity detector, building, 476–480
- creating, 473–475
- defined, 467
- detecting, 469–470
- EMR waves, 443
- general discussion, 467–469
- IR detector, 471–473
- overview, 467
- proximity detector, building, 475
- simple infrared detector circuit, 470
- INPUT constant, 617
- input voltage, 395–398
- insulated wire, 14
- insulators, 13, 27–28
-
int variable, 630
- integrated circuit logic gates, 539–542
- integrated circuits (ICs)
- 74xx logic family, 344
- 78xx voltage regulator, 344
- 555 timer chips
- 556 dual timer chips, 361–364
- astable mode, 343, 348, 352–357
- beeper, 377–382
- bistable mode, 349, 357–359
- description of, 346–348
- LED flasher circuit, 369–373
- monostable mode, 343, 348, 349–352
- one-shot timer, 364–369
- output pin, 359–360
- overview, 343–344, 345
- pins, 346–348
- in schematic diagrams, 348
- set/reset switches, adding, 373–377
- 741 op-amp, 343
- damage to, avoiding static and heat, 341–342
- data sheets for, reading, 342–343
- defined, 59, 333, 334
- dual inline package, 336–338
- 555 timer chips
- astable mode, 348, 352–357
- beeper, 377–382
- bistable, 357–359
- bistable mode, 357–359
- monostable mode, 343, 348
- overview, 345
- 556 dual timer chips, 361–364
- heat damage, 341–342
- LM324 op-amp, 344
- manufacture of, 335–336
- Moore's law, 335
- op-amp, 343, 401–402
- overview, 333–334
- packages, 336–338
- powering, 340–341
- reference identifier, 82
- in schematic diagrams, 82–83, 339–340
- static discharges, 341
- integrated development environment (IDE)
- intensity, 29
- interpreted language, 760
- inverters
- building, 319–322
- defined, 318, 394
- description of, 505
- general discussion, 505–506
- NAND gate, constructing from, 519
- NOR gate, constructing from, 521
- transistor circuit, 318–322
- truth table for, 506
- inverting amplifiers, 391
- inverting input, 387
- An Investigation of the Laws of Thought (Boole), 504
- I/O pins
- Arduino UNO, 600
- general discussion, 594–595
- LED, controlling, 608–612
- overview, 593
- IOREF UNO board header pin, 611
- irons, soldering
- built-in static discharge, 124
- built-in temperature control, 124
- buying, 123–124
- overview, 46–47
- power plug, 124
- replaceable tip, 124
- wattage rating, 123
J
- jack-in-the-box prop
- components of, 855–857
- lift mechanism, 855–857
- overview, 87–-88
- program, 878–880
- schematic diagram, 857
- Jameco Electronics, 54, 106, 290, 702, 711
- Java, 760
- jeweler's screwdriver, 41
- JK flip-flop, Arduino, 580–581
- jumper clips, 53
- jumper wire
- coin-toss project, installing in, 110–111
- for Raspberry Pi, 754
- for solderless breadboard, 51, 52, 94
- junctions, 74–75
K
- Karloff, Boris, 37
- Keyboard library, 725–726
- keyboards
- Arduino
- Keyboard library, 725–726
- pin headers, 724
- pressing and holding keys, 728–729
- sending line via, 726–727
- switch statement, 727–728
- USB circuitry, 724–725
- keymap, 718
- keypad, Arduino
- 3x3, 712
- 4x4, 712
- building, 720
- buttons in, 712–713
- connecting, 713–714
- defined, 711
- keymap, 717–718
- Keypad variable, 718–719
- library, 715–716
- number of rows and columns, 717, 717–718
- parts, 722
- pressed key, detecting, 719
- programming, 714–716
- setting up, 716–720
- testing, 723
- using, 720–723
- waitForKey function, 719–720
- Windows keypad gadget, 729–734
- wiring in, 712
-
Keypad variable, 718–719
- kilobytes, 492
- kilohertz, 153
- Kinoshita. Robert, 882–883
- knife switches, 172
L
-
L command, 872
- laboratory
- batteries, 51
- cable ties, 53
- compressed air, 53
- electrical tape, 53
- electricity, 40
- electronic components, basic
- capacitors, 55–56
- diodes, 56–57
- integrated circuits (ICs), 59
- LEDs (light-emitting diodes), 57
- resistors, 54–55
- transistors, 58
- in Frankenstein movies, 37–38
- handtools
- cheap, 42
- pliers, 42
- screwdrivers, 41
- wire cutters, 42
- wire strippers, 42–43
- hobby vise, 45–46
- jumper clips, 53
- lighting, 39
- magnifying glasses, 43–44
- multimeter, 47–48
- seating, 39
- setting up, 38–40
- soldering iron, 46–47
- solderless breadboard, 49–50
- space, 38
- storage, 40
- third hands, 44–45
- warning sign, 60
- wire, 50–51
- workbench, 39
- lamp, symbol for in schematic diagrams, 76
- lamp circuits
- parallel, 183–186
- series, 181–183
- series switch circuits, 187–190, 190–193
- simple, 170–171
- switched, 175–179
- switching between two lamps, 193
- two lamps, controlling with one switch, 193–196
- lamp wire, 422
- latches
- active-high, 562–569
- active-low, 562–563, 569–572
- defined, 562
- gated, 572–578
- gated D latch, 573, 575–578
- RS latches, 565
- SET input, 562
- SR latches, 565
- lead poisoning, 125
- leads, 171
- LED flasher circuit, 369–373
- LED- pin, 671
- LED+ pin, 671
- LEDs (light-emitting diodes)
- blinking with Arduino UNO, 612–614
- coin-toss project, installing in, 111
- combination, 297
- connecting to GPIO port, 753–754
- controlling with digital I/O pins, 608–612
- Cylon LED flasher, 790
- defined, 17, 57, 295
- flashing, 625–627, 765–766
- infrared, 473–474
- LED flasher
- with comments, 768–769
- with list, 788–789
- with for loops, 786–787
- with nested while loops, 782–783
- with push button control, 652–654
- push-button-controlled, 796–799
- with Raspberry PI, 755–758
- variable-rate, 807–811
- with while loop, 640
- LED flasher program
- with constants, 771–772
- with function, 645–646, 777–778
- with if statement, 636–638, 780–781
- in Python, 754–755
- that uses potentiometer, 659–660, 806–807
- with variable, 632–634
- LED test board, Raspberry Pi, 762–765
- lights, 834
- polarity, detecting with, 297–300
- reference identifier, 82
- symbol for in schematic diagrams, 76, 295
- variable-rate LED flasher, 660–663
- Leonardo (Arduino board)
- Keyboard library, 725–726
- pin headers, 724
- pressing and holding keys, 728–729
- sending line via the keyboard, 726–727
- switch statement, 727–728
- versus UNO, 724–725
- USB circuitry, 724–725
- lever, 302
-
lib directory (Linux), 747
- Library Manager (Arduino), 724–725
- light bulb
- changing, 63
- invention of, 9
- light-emitting diodes (LEDs)
- blinking with Arduino UNO, 612–614
- in circuits, 295
- coin-toss project, installing in, 111
- combination, 297
- connecting to GPIO port, 753–754
- controlling with digital I/O pins, 608–612
- Cylon LED flasher, 790
- defined, 17, 57, 295
- flasher program with function, 645–646
- flasher program with variable, 632–634
- flashing, 625–627, 765–766
- infrared, 473–474
- LED flasher
- building, 327–330, 369–373
- with comments, 768–769
- with list, 788–789
- with for loops, 786–787
- with nested while loops, 782–783
- with push button control, 652–654
- push-button-controlled, 796–799
- with Raspberry PI, 755–758
- variable-rate, 660–663, 807–811
- with while loop, 640
- LED flasher program
- with constants, 770–771
- with function, 777–778
- with if statement, 636–638, 780–781
- in Python, 754–755
- that uses potentiometer, 659–660, 806–807
- LED test board, Raspberry Pi, 762–765
- lights, 834
- polarity, detecting with, 297–300
- reference identifier, 82
- symbol for in schematic diagrams, 76, 295
- lighting projects
- animatronic prop controllers
- AP-16+ audio player module, 860, 864–866, 873–877, 874
- jack-in-the-box prop, 855–857
- overview, 851–852
- PIR motion detector, 860, 877–878
- prop controller, building, 858–862
- Prop-1 controller, programming, 863–864
- RC-4 relay control module, 866–876, 867–868
- requirements of, 852–853
- typical animatronic props, 854–858
- color organs
- assembling, 819–825
- building, 815–816
- connecting to light and sound source, 817
- defined, 815
- described, 816–817
- how it works, 818
- parts list, 816, 819
- using, 825–826
- holiday light animation
- animation sequences, creating, 847–849
- basic Light-O-Rama setup, 830–831
- channels, 832–833
- layout, designing, 835
- light, choosing for display, 833–834
- Light-O-Rama Sequence Editor, 840–849
- musical sequences, creating, 842–846
- overview, 827
- sequences, 832–833, 841–842
- ShowTime PC controller, 828–831, 835–840
- Light-O-Rama, 827–828
- Light-O-Rama Sequence Editor
- animation sequences, creating, 847–849
- described, 840–841
- musical sequences, creating, 842–846
- lights
- blow-mold figures, 834
- C7, 834
- C9, 834
- general discussion, 443
- incandescent minilights, 833
- for lab, 39
- LED, 834
- Light-O-Rama, 831
- making, 17
- megatree, 834
- minilights, 833
- net l, 834
- rope, 834
- wire-frame sculptures, 834
- line voltage
- circuits, 423–428
- fuses, protecting with, 423–424
- relays, controlling with, 425–428
- connectors for, 421–423
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 416
- in projects, 417–421
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 417
- safety, 418–419
- liner taper potentiometer, 234
- Linux operating system, 737, 746–747
-
LiquidCrystal() function, 672
- lists, Python, 787–790
- LM78XX voltage regulator, 439–440
- LM317 voltage regulator, 440
- LM324 op-amp, 344, 402
- LM741 op-amp, 401
- load, 165
- Lodge, Oliver, 444
- logarithmic taper potentiometer, 234
- logic circuits. See also logic gates
- 4000-series logic gates, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- integrated circuit logic gates, 539–542
- NAND transistor circuits, 529–533
- NOR transistor circuits, 534–539
- OR transistor circuits, 534
- overview, 523
- 7400-series TTL logic gates, 541
- transistor circuits
- logic gates. See also logic circuits
- AND, 495–496
- CMOS, 549–552
- description of, 505
- as an enable input, 509
- general discussion, 506–510
- in home alarm systems, 508–509
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- two-input, 506
- Boolean logic and, 504–505
- De Morgan’s Theorem, 516–519
- 4000-series, 542–543
- 4011 Quad 2-Input NAND Gate, 544–545
- four-input OR, 510
- AND gate, 549–552
- integrated circuit logic gates, 539–542
- latches, 564
- NAND
- CMOS, 546–549
- defined, 511
- description of, 505
- general discussion, 511–513
- NOR gate, constructing from, 521
- in sensor circuits, 513
- symbol for, 512
- truth table for, 511
- NOR
- CMOS, 556–559
- constructing other gates from, 520–521
- description of, 505
- NAND gate, constructing from, 520
- NOT
- building, 319–322
- defined, 318
- description of, 505
- general discussion, 505–506
- NAND gate, constructing from, 519
- NOR gate, constructing from, 521
- transistor circuit, 319–322
- NXOR, description of, 505
- OR
- CMOS, 552–555
- description of, 505
- four-input, 510
- general discussion, 509–511
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- in sensor circuits, 511
- truth table for, 509–510
- two-input, 509–510
- overview, 503–505
- 7400-series TTL, 541
- software simulators, 521–522
- two-input AND, 506
- two-input OR, 509–510
- universal, 512
- using switches to build, 495–496
- XNOR, 514–516
- XOR, 514–516
- logical functions, 504
- logical operations, 493, 504
-
loop command, 607
-
loop function, 618, 705, 719
- looping, 638
- loops
- Lost in Space (TV series), 881–882, 883
-
low variable, 691
- low-pass filters, 273
M
- macOS, 738
- mad-scientist lab
- batteries, 51
- cable ties, 53
- compressed air, 53
- electrical tape, 53
- electricity, 40
- electronic components, basic
- capacitors, 55–56
- diodes, 56–57
- integrated circuits (ICs), 59
- LEDs (light-emitting diodes), 57
- resistors, 54–55
- transistors, 58
- in Frankenstein movies, 37–38
- handtools
- cheap, 42
- pliers, 42
- screwdrivers, 41
- wire cutters, 42
- wire strippers, 42–43
- hobby vise, 45–46
- jumper clips, 53
- lighting, 39
- magnifying glasses, 43–44
- multimeter, 47–48
- seating, 39
- setting up, 38–40
- soldering iron, 46–47
- solderless breadboard, 49–50
- space, 38
- storage, 40
- third hands, 44–45
- warning sign, 60
- wire, 50–51
- workbench, 39
- magnetic, 262
- magnetic field, 262–263, 408
- magnetic induction, 265
- magnetism
- north and south magnetic poles, 263
- overview, 262
- permanent magnets, 263
- magnets, 262
- magnifying glasses, 43–44, 126
- magnifying goggles, 44
- mains voltage, 416
- Marconi, Guglielmo, 444
- math operations, 631–632
- matrix, 717–718
- Maxwell, James, 240
- MCP3008 analog-to-digital converter
- connecting potentiometer to Raspberry Pi, 802
- description of, 799
- functions of pins, 801–802
- pinouts, 799
- using in Python, 804–805
-
mcp3008 package, 805–807
- MCS pin, 697
- mean voltage, 409
-
media directory (Linux), 747
- MEGA board, 889, 890
- megahertz, 153
- megatree, 834
- meters, 137
- μF (microfarads), 56, 239
- μH (microhenrys), 269
- mho, 222
- mica capacitors, 243
- micro HDMI connectors, 738
- microcontrollers
- central processing unit, 592
- clock, 592
- defined, 592
- I/O pins, 593, 594–595
- overview, 591–592
- programming, 593–594
- random access memory (RAM), 592
- microfarads (μF), 56, 239
- microhenrys (μH), 269
- microSD cards
- preparing, 695–696
- in Raspberry Pi, 741
- Microsoft Windows, 738
- milliamperes, 137
- milliamps, 29, 137
- millihenrys, 269
- minilights, 833
-
mnt directory (Linux), 747
- mode parameter, 864
- modulators, 445
- momentary contact switches, 172–173
- monostable mode, 555 timer chip
- defined, 343, 348
- resistor-capacitor circuit, 350–351
- time interval, 351–352
- typical circuit, 349–350
- Monty Python’s Flying Circus (TV series), 761
- Moore, Gordon, 335
- Moore's law, 335
- Morse, Samuel, 15
- Morse code, 15, 688–690
- MOSFETs (metal oxide semiconductor field effect transistors), 541
- motor, 408
- motors, 413
- mount, 45
- mount points, 747
- mounted magnifying glasses, 43
- Moura, Roberto de, 444
- mouse, 741
- MP3 shield, 889
- MP3 track, building, 701
- mu, 239
- Mueller, John Paul, 758
- multi-line comments, 768
- multimeters
- analog, 134–135
- description of, 30–31, 47–48
- digital, 134
- measuring with, 143–147
- current, 143–145
- resistance, 146–147
- voltage, 145–146
- overview, 133–134
- parts of, 135–136
- display or meter, 135
- on/off switch, 136
- selector, 136
- test leads, 136
- schematic symbols for meter functions, 139
- types of meters in, 137–139
- ammeter, 137
- ohmmeter, 138–139
- schematic symbols for functions of, 139
- voltmeter, 138
- multiple-emitter transistors, 540
- multiplication, 631–632
- multivibrator, 323
- music, 16
- Music Maker shield
- assembling, 695
- features, 694–695
- pins, 697
- playing MP3 track, 701
- playing sounds with, 699–701
- versions, 694
- music player, building, 699–701
- musical sequences, creating, 842–846
N
- name parameter, 874
- NAND gate
- constructing other gates from, 519–520
- De Morgan’s Theorem, 517–519
- defined, 511
- description of, 505
- general discussion, 511–513
- NOR gate, constructing from, 521
- in sensor circuits, 513
- symbol for, 512
- truth table for, 511
- NAND gates, CMOS, 546–549
- NAND transistor circuit, 529–533
- needle-nose pliers, 42
- negation bubble, 506
- negative charge, 12
- negative OR gate, 517
- negative polarity, 26
- nesting, 779
- net lights, 834
- neutral wires, 419–421
- Newegg, 666, 669
- Newton’s Cradle (toy), 33–34
- NMB cable, 419–420
- noise, 16
- noninverting amplifiers, 392
- noninverting input, 387
- NOR gate
- CMOS, 556–559
- De Morgan’s Theorem, 517–519
- description of, 505
- NAND gate, constructing from, 520
- NOR transistor circuit, 534–539
- normally closed switch, 173
- normally open switch, 172
- NOT gate
- building, 319–322
- defined, 318
- description of, 505
- general discussion, 505–506
- NAND gate, constructing from, 519
- NOR gate, constructing from, 521
- transistor circuit, 318–322
-
noTone function, 684
- NPN transistors, 304–305, 313
- N-type semiconductors, 278–279
- number system, 490
- numerals, 490
- NXOR gate, description of, 505
O
- Oersted, Hans Christian, 137
- offset voltage, 390
- ohm, 222
- ohmmeter, 138–139
- Ohm's law, 140, 206–207, 296, 474
- one-shot 555 timer circuit, 366–369
- online resources
- Adafruit, 603, 694, 702
- Arduino, 599
- Audacity, 817
- EFX-TEK, 858
- Jameco, 711
- Jameco Electronics, 702
- Light-O-Rama, 828
- Newegg, 666, 669
- Python Software Foundation, 759
- online retailers, 666, 669, 702
- open circuits, 165
- open-loop amplifiers, 388–390, 391
- operating system
- Linux, 746–747
- macOS, 738
- Microsoft Windows, 738
- Raspberry Pi, 737–738, 742–744
- operational amplifiers (op amps)
- 741 op-amp, 344
- adding voltages, 398–400
- closed loop-amplifiers, 391–392
- connections, 384–387
- defined, 343, 384
- ICs, 401–402
- ideal characteristics, 389–390
- inverting, 391
- LM324, 344, 402
- LM741, 401
- noninverting, 392
- open-loop, 388–390
- origin of, 387
- overview, 383–384
- symbol for in schematic diagrams, 384–385
- terminology, 384
- unity gain amplifiers
- overview, 393–394
- unity follower, 394
- unity inverter, 394
- as voltage comparator, 395–398
- operations, logical, 493, 504
- operators
-
opt directory (Linux), 747
- optoisolators, 818
- OR gate
- building, 499–500
- CMOS, 552–555
- description of, 505
- four-input, 510
- general discussion, 509–511
- NAND gate, constructing from, 520
- NOR gate, constructing from, 521
- overview, 495–496
- in sensor circuits, 511
- truth table for, 509–510
- two-input, 509–510
- OR operation, 493
- OR transistor circuit, 534
- organs, color. See color organs
- oscillator mode, 555 timer chip
- description of, 352
- typical circuit, 353–354
- oscillators, 323, 445
- oscilloscopes
- calibrating, 155–157
- connecting probe to audio plug, 159
- display, 150–151
- displaying signals with, 157–158
- overview, 149–150
- trace, 152, 157
- waveforms, 152–154
-
OUTPUT constant, 617
- output pin, 347
P
-
P? command, 873
-
PA command, 873
-
pace variable, 691
- Parallax, 853
- parallel circuits, 179–181
- parallel inductors, 272
- parallel lamp circuits, 183–186
- parallel resistors, 222
- parallel switch circuits, 190–193
- parallel switches, 186–187
- part number, 81
- Parthian Empire, 14
- PCBs (printed circuit boards)
- coin-toss circuit, 108–113
- custom, creating, 107
- overview, 105
- preprinted, 106–107
- surface-mount, 105–106
- through-hole, 105
- PCBWay, 107
- peak inverse voltage, 282–283
- peak reverse voltage, 282–283
- peak voltage, 407, 408
- peak-to-peak voltage, 408
- phases, 412
- phenomenon, 22
- Phillips-head screwdriver, 460
- phone, 69
- phototransistors, 469
- Pi (Raspberry)
- analog input, reading, 799–802
- versus Arduino, 737
- components, 738–739
- connecting LED to GPIO port, 753–754
- Cylon LED flasher, 790
- description of, 739
- desktop, 746
- file system, 746–747
- flashing the LEDs, 765–767
- GPIO, digital input, using for, 791–794
- GPIO ports, 751–753
- GPIO warnings, eliminating unnecessary, 766–767
- jumper wire, 754
- keyboard for, 741
- LED flasher
- building, 755–758
- with comments, 768–769
- with list, 788–789
- with for loops, 786–787
- with nested while loops, 782–783
- push-button-controlled, 796–799
- variable-rate, 807–811
- LED flasher program
- with constants, 771–772
- with function, 777–778
- with if statement, 780–781
- in Python, 754–755
- that uses potentiometer, 806–807
- LED test board, 762–765
- mcp3008 package, 805–807
- monitor for, 741
- mouse for, 741
- network connection, 741
- operating system
- compared with other OSs, 737–738
- installing, 742–744
- overview, 737–738
- power supply for, 741
- prices, 740
- push-button program, 795–796
- serial peripheral interface, enabling, 803–804
- setting up, 741
- starting up, 744–745
- storage, 741
- test circuits, building, 761–762
- Thonny IDE, 747
- versions, 740–741
- writing your first program, 748–751
- picofarads, 239–240
- piezoelectric buzzer (piezo buzzer), 682
-
pinMode command, 606, 616
- pins
- A0 UNO board header, 610
- A1 UNO board header, 610
- A2 UNO board header, 610
- A3 UNO board header, 610
- A4 UNO board header, 610
- A5 UNO board header, 610
- AREF UNO board header, 610
- D0, 671
- D0→RX UNO board header, 610
- D1, 671
- D1←TX UNO board header, 610
- D12 UNO board header, 610
- D13 UNO board header, 610
- D2, 671
- D2 UNO board header, 610
- D3, 671
- ~D3 UNO board header, 610
- D4, 671
- D4 UNO board header, 610
- D5, 671
- ~D5 UNO board header, 610
- D6, 671
- ~D6 UNO board header, 610
- D7, 671
- D7 UNO board header, 610
- D8 UNO board header, 609
- ~D9 UNO board header, 610
- ~D10 UNO board header, 610
- ~D11 UNO board header, 610
- DCS, 697
- DREQ, 697
- ECHO, 666–667, 668
- +5 V UNO board header, 611
- GND, 666–667, 671
- GND UNO board header, 610, 611
- LED-, 671
- LED+, 671
- reset, 348
- RS, 671
- RW, 671
- SCL UNO board header, 610
- SDA UNO board header, 610
- +3.3 V UNO board header, 611
- threshold, 347
- TRIG, 666–667, 668
- Vcc, 346
- VCC, 666–667
- VIN UNO board header, 610
- VO, 671
- VSS, 671
- PIR infrared motion detector, 856
- PIR motion detector
- described, 860
- programming, 877–878
- Pirates of the Caribbean (Disneyland), 851
-
playNote function, 692
-
playRest function, 692
- pliers, 42
- p-n junction, 279–280
- PNP transistors, 305
- polarities
- detecting with LEDs, 297–300
- negative polarity, 26
- positive polarity, 26
- power adapters, 430–431
- polarity-reversing circuits, 200–202
- polarized capacitors, 238
- Popov, Alexander, 444
- positive charge, 12
- positive polarity, 26
- pot. See potentiometer
- potential, 30
- potentiometer
- defined, 658
- LED flashing program, 659–660, 806–807
- liner taper, 234
- logarithmic taper, 234
- magic, 311–312
- reading value from, 658–663
- simplifying ground and power connections, 78–81
- switches in, 233
- symbol for in schematic diagrams, 76, 233
- trim, 233
- varying resistance with, 231–234
- power
- defined, 32, 35
- dissipation of, 36
- formula for calculating, 416
- relationship to voltage and current, 35–36
- power adapters
- AC, 430
- connector size, 431
- current capacity, 430
- DC, 430
- external, 417
- polarity, 430–431
- pre-assembled, 430
- power brick, 417
- power connection, 78–81
- power ratings
- defined, 55
- of resistors, 213–214
- power supplies
- building, 417
- defined, 430
- filtering rectified current, 436–438
- functions of, 431
- overview, 429–430
- power adapters, 430–431
- for radio transmitters, 445
- for Raspberry Pi, 739, 741
- regulated, 437–440
- smoothing voltage with inductors, 272
- voltage
- regulating, 437–440
- transforming, 431–432
- power-supply circuit, capacitors, 66
- preprinted PCB, 106–107
- primary coil, 414–415, 432
-
print() function, 672
- printed circuit board (PCB)
- coin-toss circuit, 108–113
- custom, creating, 107
- overview, 105
- preprinted, 106–107
- surface-mount, 105–106
- through-hole, 105
-
proc directory (Linux), 747
- Programmer Calculator, 494–495
- programming language
- compiled program, 760
- interpreted language, 760
- project boxes, 114–115
- projects
- animatronic prop controllers
- AP-16+ audio player module, 860, 864–866, 873–877, 874
- jack-in-the-box prop, 855–857
- overview, 851–852
- PIR motion detector, 860, 877–878
- prop controller, building, 858–862
- Prop-1 controller, programming, 863–864
- RC-4 relay control module, 866–876, 867–868
- requirements of, 852–853
- typical animatronic props, 854–858
- Arduino LED test circuit, 622–625
- Arduino proximity sensor, 673–679
- audible beeper, 379–382
- blinking LED with Arduino UNO, 612–614
- blocking direct current, 256–259
- blocking reverse polarity, 286–289
- charging and discharging a capacitor, 251–254
- AND circuit, 497–498
- circuits
- constructing on PCB, 104–113
- designing, 89–93
- prototyping on solderless breadboard, 93–104
- CMOS AND gate, 549–552
- CMOS NAND gate, 546–549
- CMOS NOR gate, 556–559
- CMOS OR gate, 552–555
- coin-toss circuit
- assembling in solderless breadboard, 98–103
- circuit design, 89–93
- mounting in box, 115–120
- overview, 88–89
- PCB, constructing on, 108–113
- preliminary sketch for, 89
- schematic diagram for, 91
- specifications, 88
- troubleshooting, 104
- color organs
- assembling, 819–825
- building, 815–816
- connecting to light and sound source, 817
- defined, 815
- described, 816–817
- how it works, 818
- parts list, 816, 819
- using, 825–826
- common-collector proximity detector, 480–484
- common-emitter proximity detector, 477–480
- creating sound with speaker, 686–688
- current-limiting resistor, 216–218
- D flip-flop, 582–586
- envisioning, 87–88
- gated D latch, 575–578
- holiday light animation
- animation sequences, creating, 847–849
- basic Light-O-Rama setup, 830–831
- channels, 832–833
- layout, designing, 835
- light, choosing for display, 833–834
- Light-O-Rama Sequence Editor, 840–849
- musical sequences, creating, 842–846
- overview, 827
- sequences, 832–833, 841–842
- ShowTime PC controller, 828–831, 835–840
- lamp circuits, 169–171
- latches
- active-high, 566–569
- active-low, 569–572
- LED flasher
- building, 327–330, 370–373
- with push button control, 652–654
- with Raspberry PI, 755–758
- with set/reset switch, 374–377
- variable-rate, 660–663, 807–811
- LED polarity detector, 298–300
- NOT gate, 319–322
- one-shot 555 timer circuit, 366–369
- OR circuit, 499–500
- parallel lamp circuits, 184–186
- parallel switch circuits, 190–193
- polarity-reversing circuit, 200–202
- process of building, 86–87
- rectifier circuits, 292–294
- resistors in series and parallel, 223–227
- retro science-fiction robot head
- B-9 robot, 883–884
- base, 886
- central pillar, 886–887
- designing, 884–885
- dome, 885
- electronic components, 889–890
- eyes and nose, 887
- inspiration for, 882–884
- mouth, 888
- overview, 881–882
- power resources, 890
- Robby the Robot, 882–883
- vacuum tubes, 888–889
- series lamp circuit, 181–183
- series switch circuits, 188–190
- simple IR detector, 471–473
- switched lamp circuits, 177–179
- three-way light switch, 198–199
- toggle flip-flop, 586–589
- transistor circuits, 525–528
- transistor NOR gate, 536–539
- two lamps, controlling with one switch, 193–196
- voltage divider circuit, 229–231
- Windows keypad gadget, 729–734
- XOR circuit, 501–502
- Prop-1 controller
- described, 859–860
- programming, 863–864
- Prop-1 controller board, 853
- Proto Shield, 603
- protons, 12, 26, 236
- prototype shields, Arduino, 602
- prototyping, on solderless breadboard
- coin-toss circuit, 98–103
- description of, 94–95
- laying out, 96–98
- overview, 94
- prototyping shield, 619–621
- proximity detector
- building, 475
- common-collector, 480–484
- common-emitter, 477–480
- proximity detector, building, 475
- proximity sensor, Arduino
- building, 673–679
- LCD
- 4-bit mode, 670
- 8-bit mode, 670
- buying, 669
- connecting, 670–671
- pinouts, 670
- programming, 671–672
- ultrasonic range finder
- calculations, 668–669
- defined, 665
- HC-SRO4 range finder, 666–667
- pinouts, 666
- pulse input, reading, 668
- trigger pulse, generating, 667
-
PS command, 873
- P-type semiconductors, 278–279
- pull-down resistors, 793
- pull-up resistors, 793
- pulse input, reading, 668
-
pulseIn function, 668
-
pulseLength variable, 669
- push button, using with Arduino, 647–649
- push-button program, 651, 795–796
- push-button switches, 172–173
-
PW command, 872
- Python
- checking status of switch in, 794–796
- comments, 768–769
- constants, 770–771
- Cylon LED flasher, 790
- flashing LEDs program, 765–766
- functions, creating, 775–777
- Hello, World! 748–751
- identifiers, 769
- if statements, 778–781
- indentation, 760
- as an interpreted language, 760
- LED flasher
- with comments program, 768–769
- with list, 788–789
- with for loops, 786–787
- with nested while loops, 782–783
- variable-rate, 807–811
- LED flasher program
- with constants, 771–772
- with function, 777–778
- with if statement, 780–781
- in Python, 754–755
- LED flashing program, that uses potentiometer, 806–807
- lists, 787–790
- for loops, 784–787
- MCP3008, using, 804–805
- mcp3008 package, 805–807
- online resources, 759
- push-button program, 795–796
- stride, 785
- while statement, 781–782
- writing your first Raspberry Pi program, 748–751
- Python Software Foundation, 759
R
- radio
- AM, 449–450
- channel, 443
- crystal
- antenna, setting up, 462–464
- building, 457–460
- circuit, assembling, 460–461
- components, 456–457
- grounding, 464
- overview, 454–455
- schematic diagram, 456
- simple crystal radio circuit, 455–456
- using, 465
- FM, 451–454
- foxhole, 462
- invention of, 444
- overview, 17–18, 441–442
- receivers
- antenna, 445
- audio amplifier, 447
- components of, 447
- detectors, 447
- RF amplifiers, 446
- tuner, 446–447
- spectrum, 448
- transmitters
- amplifiers, 446
- antenna, 445
- modulators, 445
- oscillators, 445
- power supply for, 445
- radio frequency (RF) amplifier, 446
- radio tuning circuits, 273
- RadioShack, 1, 54
- RAM (random access memory)
- defined, 592
- Raspberry Pi, 738
- random access memory (RAM)
- defined, 592
- Raspberry Pi, 738
-
random function, 656–657
- random program, Arduino, 655–657
- range finder, ultrasonic
- calculations, 668–669
- defined, 665
- HC-SRO4 range finder, 666–667
- pinouts, 666
- pulse input, reading, 668
- trigger pulse, generating, 667
- Raspberry Pi
- analog input, reading, 799–802
- versus Arduino, 737
- components, 738–739
- connecting LED to GPIO port, 753–754
- Cylon LED flasher, 790
- description of, 739
- desktop, 746
- file system, 746–747
- flashing the LEDs, 765–767
- GPIO, digital input, using for, 791–794
- GPIO ports, 751–753
- GPIO warnings, eliminating unnecessary, 766–767
- jumper wire, 754
- keyboard for, 741
- LED flasher
- building, 755–758
- with comments, 768–769
- with list, 788–789
- with for loops, 786–787
- with nested while loops, 782–783
- push-button-controlled, 796–799
- variable-rate, 807–811
- LED flasher program
- with constants, 771–772
- with function, 777–778
- with if statement, 780–781
- in Python, 754–755
- that uses potentiometer, 806–807
- LED test board, 762–765
- mcp3008 package, 805–807
- monitor for, 741
- mouse for, 741
- network connection, 741
- operating system
- compared with other OSs, 737–738
- installing, 742–744
- overview, 737–738
- power supply for, 741
- prices, 740
- push-button program, 795–796
- serial peripheral interface, enabling, 803–804
- setting up, 741
- starting up, 744–745
- storage, 741
- test circuits, building, 761–762
- Thonny IDE, 747
- versions, 740–741
- writing your first program, 748–751
- Raspberry Pi 2, 740
- Raspberry Pi 3, 740
- Raspberry Pi 4, 740
- RC-4 relay control module
- described, 853
- program for controlling all four relays, 869–871
- programming, 866–876
- sending commands to, 864–866
- setting all four relays at once, 868
- symbols, using to make commands more readable, 869
- turning all relays off, 867
- turning individual relays on or off, 867–868
- RC-4+ relay board, 860
- receivers
- antenna, 446
- audio amplifier, 447
- components of, 447
- detectors, 447
- RF amplifiers, 446
- tuner, 446–447
- receptacles, 421
- rechargeable batteries, 11, 51, 169
- rectification, 433
- rectifiers
- bridge, 290–291, 435–436
- circuits, 291–294
- converting AC to DC with, 289–290
- defined, 283, 289, 433
- forward voltage drop, 283
- full-wave, 290, 435
- half-wave, 289, 434
- reductance, calculating, 271
- reference identifier, 81–82
- reference voltage, 395–398
- regenerative circuit, 453
- regular mode (Thonny IDE), 748
- RESET input, gated latch, 572–573
- reset pin, 348
- resistance
- defined, 204
- infinite, 313
- measuring, 204–205
- multimeter, measuring with, 146–147
- Ohm's law, 206–207
- varying with potentiometer, 231–234
- resistance values, 55
- resistor/capacitor networks, 245–247
- resistors
- coin-toss project, installing in, 111
- color codes of, 209–210
- reading values, 210–211
- standard values, 212
- tolerance, 211–213
- combining
- mixing series and parallel, 221–223
- overview, 218–219
- in parallel, 220–221
- in series, 218
- in series and parallel, 223–227
- current-limiting resistor, 295–296
- defined, 138, 203, 208
- dividing voltage with, 209, 227–231
- latches, 564
- limiting current for LED with, 295–296
- limiting current with, 209, 214–218
- overview, 54–55, 203–204
- parallel, 222
- power ratings, 213–214
- pull-down, 793
- pull-up, 793
- reference identifier, 82
- resistor/capacitor networks, 209
- symbol for in schematic diagrams, 76, 208
- uses for, 209
- resistor-transistor logic (RTL), 540
- resonant frequency, 447
- retro science-fiction robot head
- B-9 robot, 883–884
- inspiration for, 882–884
- overview, 881–882
- Robby the Robot, 882–883
- VIN-e (virtual infundibuled extenuator)
- base, 886
- central pillar, 886–887
- designing, 884–885
- dome, 885
- electronic components, 889–890
- eyes and nose, 887
- mouth, 888
- power resources, 890
- vacuum tubes, 888–889
- reverse bias, 281–282
- reverse polarity, blocking with diodes, 286–289
- rheostat, 234
- ripple, 437
- RMS (root mean square) voltage, 409
- Robby the Robot, 882–883
- rocker switches, 172
- Romex cable, 419–420
-
root directory (Linux), 747
- rope lights, 834
- rotary switches, 172
- RS latches, 565
- RS pin, 671
- RS-485 signals, 837
- RTL (resistor-transistor logic), 540
- Rutherford, Ernest, 444
- RW pin, 671
S
-
S command, 873
- safety
- dangers of electricity
- household electrical current, 62–63
- overview, 62
- voltages, 64
- equipment for, 68
- final word about, 891
- overview, 61–62
- soldering, 67–68
- static discharges, 69–70
- water and humidity, avoiding, 65
- sawtooth wave, 154
-
sbin directory (Linux), 747
- schematic diagrams
- 555 timer chip in, 348
- capacitor, symbol for, 238
- circuits in
- laying out, 73–74
- representing integrated, 82–83
- for coin-toss circuit, 91
- common symbols on, 75–77
- for crystal radio, 456
- diodes in, 282
- fuse in, 424
- ICs in, 339–340
- integrated circuits in, 82–83
- jack-in-the-box prop, 857
- junctions in, 74–75
- labeling components in, 80–81
- LED in, 295
- op amp in, 384–385
- organ color circuit, 818
- overview, 71–72
- potentiometer, symbol for, 233
- resistors, symbols for, 208
- simple example of, 72–73
- SCL UNO board header pin, 610
- screwdrivers, 42
- screw-terminal breakout block, 685
- SDA UNO board header pin, 610
- seating, for lab, 39
- secondary coil, 414–415
- seed value, 657
- self-inductance, 266–268
- semiconductors
- crystals, 277
- defined, 275
- depletion zone, 280
- doping, 278
- equilibrium, 280
- N-type, 278–279
- p-n junction, 279–280
- P-type, 278–279
- sensor circuits
- NAND gate in, 513
- OR gate in, 511
- sequences
- animation, 847–849
- defined, 841
- general discussion, 832–833
- in Light-O-Rama, 841–842
- musical, 842–846
- serial peripheral interface (SPI)
- defined, 801
- enabling on Raspberry Pi, 803–804
- series circuits, 179–181
- series inductors, 272
- series switch circuits, 187–190
- series switches, 186–187
-
SEROUT command, 864–865
- servo
- buying, 702
- connecting, 702–704, 707–710
- control program, 705–706
- control signal, 702
- defined, 702
- programming, 704
- three-conductor cable, 702–703
- SET input, 562, 572–573
-
setCursor() function, 672
-
setLEDs function, 776, 782
-
setLEDsOn function, 776
-
setup command, 606
-
setup function, 616, 618, 705
- 7400-series TTL logic gates, 541
- shell, 748
- shells, 276
- shields, Arduino, 602
- short circuits, 165
- ShowTime PC controller
- assembling, 835–836
- connecting to computer, 837–838
- described, 831
- features of, 828–830
- testing, 838–840
- signal diodes, 284, 285
- simple mode (Thonny IDE), 748
- sine wave, 151, 152
- single-line comments, 768
- single-pole switch, 173
- single-throw switch, 173–174
- siren, playing, 690–691
- sketch, Arduino
- arguments, 617
- Blink program, 605–607, 616–617
- constant, 617
- function library, 617
- functions, 616, 644–646
- if statements, 634–638
- LED flasher
- with comments, 628–629
- with function, 644–646
- with for loops, 642–643
- with while loop, 640
- LED flasher program
- with if statement, 636–638
- with variable, 632–634
- LED Test Circuit, 622–625
- for loops, 641–643
- math operations, 631–632
- overview, 615–616
- statements, 617–618
- Windows keypad gadget, 729–734
-
sleepTime variable, 773
- slide switches, 172
- snubber diodes, 285
- solder, 46–47, 124–125
- soldering
- chemical hazard, 68
- description of, 122
- desoldering, 131–132
- fire hazard, 67
- inspecting work, 130–131
- materials for
- alligator clips, 125–126
- desoldering braid, 126, 132
- desoldering bulb, 126, 132
- eye protection, 126
- magnifying glass, 126
- solder, 124–125
- soldering irons, 46–47, 123–124
- sponge, 125
- third-hand tool, 125
- vise, 125
- overview, 121
- preparation for, 126
- safety, 67–68
- solid solder joints, 127–129
- Ten Soldering Commandments, 127
- soldering iron stand, 47
- soldering irons
- built-in static discharge, 124
- built-in temperature control, 124
- buying, 123–124
- overview, 46–47
- power plug, 124
- replaceable tip, 124
- wattage rating, 123
- soldering pencil. See soldering irons
- soldering station, 124
- solderless breadboard
- contact holes, 95
- defined, 49, 85
- DIP chips in, 338
- overview, 49–50
- prototyping circuits on
- coin-toss circuit, 98–103
- description of, 94–95
- laying out, 96–98
- overview, 94
- solid solder joints, 127–129
- solid wire, 50
- song, playing, 692
- SOS program, 688–690
- sound effects, 817
- sound system, 831
- sound waves, 443
- source, 16–17
- source voltage connection, symbol for in schematic diagrams, 76
- sourcing, 350
- speakers
- defined, 17
- symbol for in schematic diagrams, 76
- special effects
- animatronic prop controllers
- AP-16+ audio player module, 860, 864–866, 873–877, 874
- jack-in-the-box prop, 855–857
- overview, 851–852
- PIR motion detector, 860, 877–878
- prop controller, building, 858–862
- Prop-1 controller, programming, 863–864
- RC-4 relay control module, 866–876, 867–868
- requirements of, 852–853
- typical animatronic props, 854–858
- color organs
- assembling, 819–825
- building, 815–816
- connecting to light and sound source, 817
- defined, 815
- described, 816–817
- how it works, 818
- parts list, 816, 819
- using, 825–826
- holiday light animation
- animation sequences, creating, 847–849
- basic Light-O-Rama setup, 830–831
- channels, 832–833
- layout, designing, 835
- light, choosing for display, 833–834
- Light-O-Rama Sequence Editor, 840–849
- musical sequences, creating, 842–846
- overview, 827
- sequences, 832–833, 841–842
- ShowTime PC controller, 828–831, 835–840
- retro science-fiction robot head
- B-9 robot, 883–884
- base, 886
- central pillar, 886–887
- designing, 884–885
- dome, 885
- electronic components, 889–890
- eyes and nose, 887
- inspiration for, 882–884
- mouth, 888
- overview, 881–882
- power resources, 890
- Robby the Robot, 882–883
- vacuum tubes, 888–889
- spectrum, 448
- SPI (serial peripheral interface)
- defined, 801
- enabling on Raspberry Pi, 803–804
- split supply, 384
- sponge, 125
- SPST (single pole, single throw) switch, 174
- square wave, 154
- SR flip-flop, 580
- SR latches, 565
-
srv directory (Linux), 747
- standoff, 115
- starter kit, Arduino, 603
- statements
- assignment statement, 630
- break, 728
- case, 728
- def, 776
- defined, 617–618
- if, 634–638, 778–781
- switch, 727–728
- while, 760–761, 781–782
- static discharges, 341
- static electricity, 12, 69–70
- step-down transformer, 415, 433
- step-up transformer, 415
- storage, for lab, 40
- storage boxes, 113
- stranded wire, 50
- Strickfaden, Kenneth, 37
- stride, 785
- strong force, 26–27, 27
- subtraction, 631–632
- superconductors, 204
- superheterodyne circuit., 454
- surface-mount PCB, 105–106
- sweep, 151
- sweep time, 151
-
switch statement, 727–728
- switched lamp circuits, 175–179
- switches
- building gates with, 495–496
- checking status in Python, 794–796
- defined, 171
- knife, 172
- in lamp circuits
- parallel switch circuits, 190–193
- series switch circuits, 187–190
- switched, 175–179
- switching between two lamps, 193
- three-way switches, 196–199, 199
- two lamps, controlling with one switch, 193–196
- parallel, 186–187
- poles, 173
- in potentiometers, `, 233
- push-button, 172–173
- reference identifier, 82
- rocker, 172
- rotary, 172
- series, 186–187
- set/reset switches, in 555 timer chips, 373–377
- slide, 172
- status of, checking, 649–651
- symbol for in schematic diagrams, 76
- throws, 173–174
- toggle, 172
- transistors as, 312–314
- switching diodes, 284
- symbols on schematic diagrams
- batteries, 76
- capacitors, 76, 238
- common, 75–77
- diodes, 76
- fuses, 424
- ground connection, 76
- inductors, 76
- lamp, 76
- LEDs (light-emitting diodes), 76, 295
- light-emitting diodes (LEDs), 76
- for meter functions, 139
- NAND gate, 512
- potentiometer, 76, 233
- resistors, 76, 208
- source voltage connection, 76
- speakers, 76
- switches, 76
- transformers, 76
- transistors, 76
- variable resistors, 76
- voltage, 207
T
- T flip-flop, 580–581
- tantalum electrolytic capacitors, 244
- tap, 432
- terahertz (THz), 443
- terminal strips, 95
- terminals, 171
- Tesla, Nicola, 410, 444
- test circuits, building, 621–625, 761–762
- test leads, 30, 136
- thermometer, analog versus digital, 489
- third hands, 44–45
- third-hand tool, 125
- Thonny IDE, 747
- +3.3 V UNO board header pin, 611
- three-conductor cable, 702–703
- three-phase system, 413
- three-way switches, 196–199
- threshold pin, 347
- through-hole PCB, 105
- throws, 173–174
- time variable, 630
- timer chips (555)
- astable mode, 343, 348, 352–357
- beeper, 377–382
- bistable mode, 349, 357–359
- in coin-toss circuit, 96–97, 99
- description of, 346–348
- LED flasher circuit, 369–373
- modes
- monostable mode, 343, 348, 349–352
- one-shot timer, 364–369
- output pin, 359–360
- overview, 343–344, 345
- pins, 346–348
- in schematic diagrams, 348
- set/reset switches, adding, 373–377
- tinning, 126
- tiny breadboard, 619–621
-
tmp directory (Linux), 747
- toggle flip-flop, 586–589
- toggle switches, 172
- tolerance, 211–213, 239
-
tone function, 683–684
- tools
- cheap versus expensive, 42
- desoldering, 131–132
- handtools
- cheap, 42
- pliers, 42
- screwdrivers, 41
- wire cutters, 42
- wire strippers, 42–43
- multimeters
- analog, 134–135
- description of, 30–31, 47–48
- digital, 134
- measuring with, 143–147
- overview, 133–134
- parts of, 135–136
- schematic symbols for meter functions, 139
- types of meters in, 137–139
- soldering irons
- built-in static discharge, 124
- built-in temperature control, 124
- buying, 123–124
- overview, 46–47
- power plug, 124
- replaceable tip, 124
- wattage rating, 123
- total power dissipation (PD), 307
- trace, 157
- transformers
- alternating current and, 408
- autotransformer, 414
- center-tapped, 432
- in color organs, 818
- defined, 432
- general discussion, 413–416
- inductance and, 413–414
- inductors, 273
- magnetism and, 413–414
- step-down, 415, 433
- step-up, 415
- symbol for in schematic diagrams, 76
- transistor circuits
- AND, 528–529
- building, 525–528
- overview, 523–525
- transistors, 58
- amplifying with, 308–310
- bipolar, 304
- circuits with
- LED driver, 315–317
- LED flasher, 327–330
- NOT gate, 318–322
- discrete components, 330
- as electronic lever, 302
- history, 303
- multiple-emitter, 540
- NPN, 304–305, 313
- oscillating with, 323–325
- overview, 300–301
- PNP, 305
- reference identifier, 82
- shapes and size, 303
- specifications, 307
- as switch, 312–314
- symbol for in schematic diagrams, 76
- transistor-transistor logic (TTL), 540
- transmitters
- amplifiers, 446
- antenna, 446
- modulators, 445
- oscillators, 445
- power supply for, 445
- triac, 818
- triangle wave, 154
- TRIG pin, 666–667, 668
- trigger pin, 347
- trigger pulse, generating, 667
- trim potentiometer, 233
- triode, 303
- truth table
- defined, 505–506
- for AND gate, 549
- for inverters, 506
- for NOR gate, 536
- for OR gate, 509–510
- OR gate, 552
- for XNOR gate, 515
- for XOR gate, 515
- TTL (transistor-transistor logic), 540
- tuner, 446–447
- two-dimensional array, 718
- two-input AND gate, 506
- two-input OR gate, 509–510
- two-phase system, 412
U
- ultrasonic range finder
- calculations, 668–669
- defined, 665
- HC-SRO4 range finder, 666–667
- pinouts, 666
- pulse input, reading, 668
- trigger pulse, generating, 667
- ultraviolet, 443
- unequal inductors, 272
- unity follower, 394
- unity gain amplifiers
- overview, 393–394
- unity follower, 394
- unity inverter, 394
- unity inverter, 394
- universal gate, 512
- UNO, connecting to, 604–605
- USB adapter, 831
- USB ports, Raspberry Pi, 738
- USB Type B connector, 600
-
usr directory (Linux), 747
V
-
V command, 873
- vacuum mount, 45
- vacuum tube triode, 303–304
- vacuum tubes, 303, 888–889
- valence shells, 276
- value number, 81
-
var directory (Linux), 747
- variable capacitor, 457
- variable resistors, symbol for in schematic diagrams, 76
- variable-rate LED flasher, 807–811
- variables
- Arduino, 629–631
- char, 630
- defined, 629
- double, 630
- flashCount, 782
- float, 630
- global, 631
- high, 691
- increment, 691
- int, 630
- keypad, 718–719
- low, 691
- pace, 691
- sleepTime, 773
- Vcc pin, 346
- VCC pin, 666–667
- Velleman MK110 Simple One Channel Light Organ kit, 816, 818, 888, 889
- video chip, Raspberry Pi, 738
- video electronic devices, 17
- VIN UNO board header pin, 610
- VIN-e (virtual infundibuled extenuator), 881–882
- central pillar, 886–887
- designing, 884–885
- dome, 885, 886
- electronic components, 889–890, 890
- eyes and nose, 886–887
- mouth, 888
- vacuum tubes, 888–889
- vise, 125
- visible light, 443
- VO pin, 671
-
void, 617
- Volta, Alessandro, 14, 207, 275
- voltage
- adding, 398–400
- back, 267
- bias, 306
- defined, 30, 35, 138, 237
- dividing with resistors, 209, 227–231
- versus electric current, 63
- electric shock, 63–64
- input, 395–398
- mean, 409
- multimeter, measuring with, 145–146
- offset, 390
- overview, 15–16
- peak, 407, 408
- peak-to-peak, 408
- of power adapters, 430
- reference, 395–398
- regulating, 437–440
- relationship to power and current, 35–36
- RMS, 409
- smoothing in power supply, 272
- source, 165
- symbol for in schematic diagrams, 207
- transforming, 431–432
- unexpected, 65–66
- Zener, 286
- voltage, line
- circuits
- fuses, protecting with, 423–424
- relays, controlling with, 425–428
- connectors for, 421–423
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 416
- in projects, 417–421
- ground wires, 419–421
- hot wires, 419–421
- neutral wires, 419–421
- overview, 417
- safety, 418–419
- voltage comparator, 395–398
- voltage gain, 388
- voltage regulator, 344
- voltage ripple, 437
- voltage-divider circuit, 228, 229–231
- voltmeter, 30, 138
- volts, 11, 14, 30
- Vonnegut, Kurt (sci-fi author), 881
- VSS pin, 671
W
-
waitForKey function, 719–720
- wall wart, 417, 430
- warning sign, for lab, 60
- water, danger of electricity and, 65
- watts, 11, 35
- WAV files, playing, 874–875
- wave forms
- wavelength, 443, 467–468
- weak force, 26
- websites
- Adafruit, 603, 694, 702
- Amazon, 54
- Arduino, 599
- Audacity, 817
- DigiKey, 290
- EFX-TEK, 858
- Jameco, 54, 290, 702, 711
- Light-O-Rama, 828
- Newegg, 666, 669
- Python Software Foundation, 759
- RadioShack, 54
- Westinghouse, George, 410
- Whale, James, 37
- while loops, 638–640, 781–783
-
while statement, 760–761, 781–782
- Wilder, Gene, 37
- Windows Calculator, 494–495
- Windows keypad gadget, 729–734
- Windows operating system, 738
- wire cutters, 42, 460
- wire nuts, 422
- wire strippers, 42–43, 460
- wire-frame sculptures, 834
- wireless network, 738
- wires
- hook-up, 457, 460
- hot, 419–421
- insulated, 14
- jumper
- coin-toss project, installing in, 110–111
- for Raspberry Pi, 754
- for solderless breadboard, 51, 52, 94
- in lab, 50–51
- lamp, 422
- for line voltage, 421–423
- neutral, 419–421
- solid, 50
- stranded, 50
- work area
- batteries, 51
- cable ties, 53
- compressed air, 53
- electrical tape, 53
- electricity, 40
- electronic components, basic
- capacitors, 55–56
- diodes, 56–57
- integrated circuits (ICs), 59
- LEDs (light-emitting diodes), 57
- resistors, 54–55
- transistors, 58
- in Frankenstein movies, 37–38
- handtools
- cheap, 42
- pliers, 42
- screwdrivers, 41
- wire cutters, 42
- wire strippers, 42–43
- hobby vise, 45–46
- jumper clips, 53
- lighting, 39
- magnifying glasses, 43–44
- multimeter, 47–48
- seating, 39
- setting up, 38–40
- soldering iron, 46–47
- solderless breadboard, 49–50
- space, 38
- storage, 40
- third hands, 44–45
- warning sign, 60
- wire, 50–51
- workbench, 39
- workbench, 39
- wristband, antistatic, 70
Y
- Young Frankenstein (movie), 37
Z
- Zener diodes, 284–286
- Zener voltage, 286
- zero offset voltage, 390
- zero output impedance, 390
- zip cord, 422
- zip ties, 53
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.