Muutke küpsiste eelistusi

E-raamat: Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 29-Sep-2017
  • Kirjastus: McGraw-Hill Education
  • Keel: eng
  • ISBN-13: 9781260012217
  • Formaat - EPUB+DRM
  • Hind: 30,89 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.







Up-to-date hacks that will breathe life into your Arduino and Raspberry Pi creations!

This intuitive DIY guide shows how to wire, disassemble, tweak, and re-purpose household devices and integrate them with your Raspberry Pi and Arduino inventions. Packed with full-color illustrations, photos, and diagrams, Hacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition, features fun, easy-to-follow projects. Youll discover how to build an Internet-controlled hacked electric toy, ultrasonic rangefinder, remote-controlled robotic rover, audio amp, slot car brakes and headlightseven a smart card reader!

 Get up and running on both Arduino and Raspberry Pi  Safely solder, join wires, and connect switches  Identify components and read schematic diagrams  Work with LEDs, including high-power Lumileds and addressable LED strips  Use LiPo batteries, solar panels, and buck-boost power supplies  Use sensors to measure light, temperature, acceleration, sound level, and color  Build and modify audio amps, microphones, and transmitters  Repair gadgets and scavenge useful parts from dead equipment  Get the most out of cheap or free bench and software tools
Acknowledgments xix
Introduction xxi
Chapter 1 Getting Started 1(18)
Getting Stuff
1(4)
Buying Components
1(1)
Where to Buy Things to Hack
2(1)
A Basic Toolkit
3(2)
Stripping Wire
5(2)
You Will Need
5(2)
Joining Wires Together by Twisting
7(1)
You Will Need
7(1)
Joining Wires by Soldering
8(4)
Safety
8(1)
You Will Need
9(1)
Soldering
10(1)
Joining Wires
11(1)
Testing a Connection
12(2)
You Will Need
12(2)
Hacking a Computer Fan to Keep Soldering Fumes Away
14(4)
You Will Need
14(1)
Construction
14(4)
Summary
18(1)
Chapter 2 Components 19(14)
A Starter Kit of Components
19(1)
Identifying Electronic Components
20(5)
Resistors
20(1)
Capacitors
21(1)
Diodes
22(1)
LEDs
23(1)
Transistors
23(1)
Integrated Circuits
24(1)
Other Stuff
24(1)
Surface Mount Components
24(1)
What Are Current, Resistance, and Voltage?
25(2)
Current
25(1)
Resistance
26(1)
Voltage
26(1)
Ohm's Law
26(1)
What Is Power?
27(1)
Reading a Schematic Diagram
28(3)
The First Rule of Schematics: Positive Voltages Are Uppermost
29(1)
Second Rule of Schematics: Things Happen Left to Right
29(1)
Names and Values
30(1)
Component Symbols
30(1)
Summary
31(2)
Chapter 3 Basic Hacks 33(20)
Making a Resistor Get Hot N
33(1)
You Will Need
33(1)
The Experiment
33(1)
Using Resistors to Divide a Voltage
34(3)
You Will Need
34(1)
Construction
35(2)
Converting a Resistance to a Voltage (and Make a Light Meter)
37(2)
You Will Need
37(2)
Hacking a Push Light to Make It Light Sensing
39(7)
You Will Need
39(1)
Breadboard
40(1)
Construction
41(4)
MOSFET Transistors
45(1)
PNP and P-Channel Transistors
45(1)
Common Transistors
46(1)
Using a Power MOSFET to Control a Motor
46(3)
You Will Need
47(1)
Breadboard
47(2)
Selecting a Switch
49(3)
Push-Button Switches
49(1)
Microswitches
50(1)
Toggle Switches
50(2)
Summary
52(1)
Chapter 4 LEDs 53(28)
Preventing an LED from Burning Out
53(4)
You Will Need
53(1)
Diodes
54(1)
LEDs
54(2)
Trying It Out
56(1)
Selecting the Right LED for the Job
57(2)
Brightness and Angle
57(1)
Multicolor
57(1)
IR and UV
57(1)
LEDs for Illumination
58(1)
Experimenting with RGB LEDs
59(1)
You Will Need
59(1)
Making a Constant Current Driver
60(4)
You Will Need
60(1)
Design
61(1)
Breadboard
62(1)
Construction
63(1)
Powering Large Numbers of LEDs
64(2)
Making LEDs Flash
66(2)
You Will Need
66(1)
Breadboard
66(2)
How to Use Protoboard (LED Hasher)
68(1)
Using Stripboard (LED Flasher)
69(6)
Designing the Stripboard Layout
69(2)
Construction
71(3)
Troubleshooting
74(1)
Laser Diode Modules
75(1)
Hacking a Slot Car Racer
75(4)
You Will Need
76(1)
Storing Charge in a Capacitor
76(1)
Design
77(1)
Construction
78(1)
Testing
79(1)
Summary
79(2)
Chapter 5 Batteries and Power 81(24)
Selecting the Right Battery
81(5)
Battery Capacity
81(1)
Maximum Discharge Rate
82(1)
Single-Use Batteries
82(2)
Rechargeable Batteries
84(2)
Charging Batteries (in General)
86(1)
C
86(1)
Over-Charging
87(1)
Over-Discharging
87(1)
Battery Life
87(1)
Charging a NiMH Battery
87(2)
Simple Charging
88(1)
Fast Charging
89(1)
Charging a Sealed Lead-Acid Battery
89(1)
Charging with a Variable Power Supply
89(1)
Charging a LiPo Battery
90(1)
Hacking a Cell Phone Battery
91(2)
Controlling the Voltage from a Battery
93(2)
You Will Need
94(1)
Breadboard
95(1)
Boosting Voltage
95(1)
Calculating How Long a Battery Will Last
96(1)
Battery Backup
97(3)
Diodes
97(2)
Trickle Charging
99(1)
Using Solar Cells
100(3)
Testing a Solar Panel
100(2)
Trickle Charging with a Solar Panel
102(1)
Minimizing Power Consumption
102(1)
Summary
103(2)
Chapter 6 Hacking with Arduino 105(42)
Blinking an LED
106(6)
You Will Need
106(1)
Setting Up Arduino
106(4)
Modifying the Blink Sketch
110(2)
Controlling a Relay Using an Arduino
112(4)
Relays
112(1)
Arduino Outputs
113(1)
You Will Need
114(1)
Construction
114(1)
Software
115(1)
Hacking a Toy for Arduino Control
116(4)
You Will Need
117(1)
Construction
117(1)
The Serial Monitor
118(1)
Software
119(1)
Measuring Voltage with an Arduino
120(2)
You Will Need
121(1)
Construction
121(1)
Software
121(1)
Controlling an LED with an Arduino
122(3)
You Will Need
123(1)
Construction
123(1)
Software (Flashing)
123(1)
Software (Brightness)
124(1)
Playing a Sound with an Arduino
125(2)
You Will Need
126(1)
Construction
126(1)
Software
126(1)
Using Arduino Shields
127(1)
Controlling a Relay from a Web Page
128(7)
You Will Need
131(4)
Switching with an Arduino and Transistor
135(3)
You Will Need
135(1)
Construction
136(1)
Software
136(2)
Using an Alphanumeric LCD Shield with Arduino
138(2)
You Will Need
139(1)
Construction
139(1)
Software
139(1)
Controlling a Servo Motor with an Arduino
140(3)
You Will Need
141(1)
Construction
142(1)
Software
142(1)
Typing Passwords Automatically
143(2)
You Will Need
144(1)
Construction
144(1)
Software
144(1)
Summary
145(2)
Chapter 7 Hacking with Raspberry Pi 147(14)
Setting Up a Raspberry Pi
148(4)
Preparation
148(2)
Fetching the Example Code
150(1)
Connecting to Your Pi from a Second Computer
150(2)
Blinking an LED
152(4)
You Will Need
153(2)
Software
155(1)
Controlling a Relay with Raspberry Pi
156(1)
Controlling a Relay from a Web Page
157(3)
Software
158(2)
Summary
160(1)
Chapter 8 Hacking with Modules 161(34)
Detecting Movement
161(5)
You Will Need (PIR and LED)
162(1)
Breadboard
162(1)
You Will Need (PIR and Arduino)
163(1)
Construction
163(1)
Software
164(1)
PIR and Raspberry Pi
165(1)
Using Ultrasonic Rangefinder Modules
166(4)
You Will Need
167(1)
The HC-SR04 Rangefinder
168(2)
Using a Wireless Remote Module
170(4)
You Will Need
170(1)
Breadboard
171(1)
Using a Wireless Remote Module with Arduino
172(1)
You Will Need
172(1)
Software
173(1)
Using a Motor Control Module
174(5)
You Will Need
177(1)
Breadboard
177(1)
Using the Control Pins
178(1)
Making a Robot Rover with Raspberry Pi
179(6)
You Will Need
180(1)
Construction
180(2)
Software
182(3)
Using a Seven-Segment Display with Arduino
185(4)
You Will Need
187(1)
Construction
187(1)
Software
188(1)
Using a Seven-Segment Display with Raspberry Pi
189(1)
You Will Need
189(1)
Construction
189(1)
Software
190(1)
Using RFID Modules
190(3)
You Will Need
191(1)
Construction
191(1)
Software
191(2)
Summary
193(2)
Chapter 9 Hacking with Sensors 195(22)
Measuring Temperature with an Arduino
195(3)
You Will Need
195(1)
Construction
195(1)
Software
196(2)
Threshold Sensing with Raspberry Pi
198(3)
You Will Need
198(1)
Construction
199(1)
Software
199(2)
Switching with a Sensor and Comparator Chip
201(2)
You Will Need
202(1)
Construction
202(1)
Using a Digital Temperature Sensor
203(4)
You Will Need
204(1)
Construction
204(1)
Software
205(2)
Arduino Egg and Spoon
207(4)
You Will Need
208(1)
Construction
208(1)
Software
209(2)
Measuring Something's Color
211(4)
You Will Need
212(1)
Construction
212(1)
Software
213(2)
Summary
215(2)
Chapter 10 Audio Hacks 217(20)
Hacking Audio Leads
217(5)
General Principals
217(2)
Soldering Audio Connectors
219(2)
Converting a Stereo Signal to Mono
221(1)
Using a Microphone Module
222(2)
Making an FM Bug
224(3)
You Will Need
225(1)
Construction
225(2)
Testing
227(1)
Selecting Loudspeakers
227(1)
Making a 1-Watt Audio Amplifier
228(3)
You Will Need
229(1)
Construction
230(1)
Testing
231(1)
Generating Tones with a 555 Timer
231(2)
You Will Need
233(1)
Construction
233(1)
Making a USB Music Controller
233(3)
You Will Need
234(1)
Construction
234(1)
Software
234(2)
Summary
236(1)
Chapter 11 Mending and Breaking Electronics 237(10)
Avoiding Electrocution
237(1)
Taking Something Apart AND Putting It Back Together Again
238(1)
Checking a Fuse
239(2)
Testing a Battery
241(1)
Testing a Heating Element
242(1)
Finding and Replacing Failed Components
242(2)
Testing Components
242(1)
Desoldering
243(1)
Replacement
244(1)
Scavenging Useful Components
244(1)
Reusing a Cell Phone Power Adapter
245(1)
Summary
246(1)
Chapter 12 Tools 247(12)
Using a Multimeter (General)
247(5)
Continuity and Diode Test
247(1)
Resistance
248(1)
Capacitance
249(1)
Temperature
249(1)
AC Voltage
250(1)
DC Voltage
251(1)
DC Current
251(1)
AC Current
252(1)
Frequency
252(1)
Using a Multimeter to Test a Transistor
252(1)
Using a Lab Power Supply
253(1)
Introducing the Oscilloscope
254(1)
Software Tools
255(3)
Simulation
255(1)
Fritzing
255(1)
EAGLE PCB
256(2)
Online Calculators
258(1)
Summary
258(1)
Appendix Parts 259(6)
Kits to Accompany This Book
259(1)
Tools
260(1)
Components
260(5)
Component Starter Kits
260(1)
Resistors
261(1)
Capacitors
261(1)
Semiconductors
262(1)
Hardware and Miscellaneous
263(1)
Modules
264(1)
Index 265