FREE E-BOOK Practical Arduino cool projects for open source hardware


FREE E-BOOK Practical Arduino: cool projects for open source hardware

FREE E-BOOK Practical Arduino: cool projects for open source hardware
FREE E-BOOK Practical Arduino: cool projects for open source hardware








Author(s): Jonathan Oxer, Hugh Blemings
Series: Technology in action
Publisher: Apress; Distributed by Springer-Verlag, Year: 2009

Introdiction


Phenomenon is an overused and overloaded term, but somehow it seems appropriate for Arduino—an endeavor that has caught the attention of an astonishingly wide range of people and provided opportunities for those who might otherwise have never picked up a soldering iron or written a single
line of code. From dyed-in-the-wool hardware hackers to web page developers, robotics enthusiasts to installation artists, textile students to musicians: all can be found in the Arduino community.
 The versatility of the platform encompassing both hardware and software, combined with its inherent openness, has captured the imagination of tens of thousands of developers.

One of Arduino's many strengths is the sheer volume of information available in both printed formand on the web. Getting started is really pretty easy, as the  core Arduino team intended.

 There are plenty of excellent introductory works already available both online and in print, so we didn't want to waste your time by providing yet another "blinking LED" tutorial.

 We figure that if you've gotten as far as picking up a 400+ page book about Arduino it's a good sign that you're ready for something a bit more substantial and wanting to learn more about the why rather than just the how. We don't want you to be just a color-by-numbers painter, only able to assemble other peoples’ designs by dutifully plugging in wires according to a position overlay without really understanding the meaning behind it. We want you to become a true artist, able to conceptualize, design, and assemble your own creations.

 We would be terribly disappointed if all our readers just reproduced our projects exactly as presented in the book, never deviating from the script. We want you to take these projects as inspiration and examples of how to apply a variety of handy techniques and then adapt them to suit your own requirements, coming up with new ideas that put ours to shame. We also hope that you'll share your creations with us and with the world, inspiring others in turn.

 So we haven't included assembly overlays, and we don't expect you to slavishly follow a series of steps to exactly reproduce what we've prototyped. Instead we've included circuit diagrams, parts lists, photos, and in-depth explanations. That may seem a little scary and the idea of learning how to read a schematic may feel overwhelming, but a little effort invested to learn this fundamental skill will pay off many times over as you progress to designing and debugging your own projects.

Table of contents :


Apress - Practical Arduino (December 2009) (ATTiCA) ...... page 1
A quick overview of the contents ... page 6
Contents ...... page 7
About the author ... page 18
About Technical Auditors ... Page 19
Acknowledgment ...... Page 21
Introduction ... page 22
Practical electronics for software developers ...... page 23
Mains Is Nasty ...... page 24
Reading mathematics ...... page 25
Resistance and Resistance ... page 28
Ohm's Law and Current Limit ... p. 29
Binaries ...... page 30
USB Power ...... page 31
Batteries ...... page 32
The Basics ...... Page 33
Types of capacitors ...... page 34
Tools ...... page 35
The Parts ...... page 36
Additional readings ...... page 37
Parts required ... page 39
Test and verify the remote control ... page 41
Assemble the reed relay shield ... Page 43
Connect the Reed Relay Shield to the remote control ...... page 47
The remote control ...... page 49
ApplianceRemoteControlCompact ...... Page 52
Test and layout of the RED relay shield ... p. 54
Automatic trigger ...... page 56
Socket connections ...... page 57
Required Parts ... p. 59
Connect shutter release .... page 61
Remote shutter release connector ... Page 62
Infrared remote control ... page 64
Camera Adjustment ... page 65
Create and download Sketch ...... page 66
Windows ... page 70
Differences ...... page 71
Parts required ... page 73
Fill out the prototype shield ...... page 75
Preparing the USB Keyboard Library ... page 78
Collecting and loading Sketch ... page 79
Chord Keyboard ... p. 83
Parts required ... p. 85
Instructions ... page 86
PS / 2 Communications ...... page 87
DIN Mini-DIN Recycled 6 Sockets ...
6-pin Mini-DIN panel sockets ... p. 89
PS / 2 Extension Cable ... page 91
Keyboard programs ...... page 95
Mouse software ... page 98
Variations of the barcode reader for the inventory control system ...... page 101
Resources ...... page 102
Security / Automation Sensors ...... Page 103
Parts required ... page 104
Safety sensor basics ...... page 106
Compiling an alarm sensor shield with four channels ... Page 109
Install end-of-line resistors on the sensor ...... page 114
Download a test program ...... page 117
Visual presentation written in the processing ...... Page 120
Multiple buttons on one entry ...... Page 121
Parts required ... page 123
Loading PCB Jacks on the Shield ...... Page 125
Connecting data lines ...... Page 127
Assembly of sensors ...... Page 128
Download it ... page 130
Differences ...... page 141
Touch the control panel ...... Page 143
Parts required ... page 144
How resistance touch screens work ...... page 145
Basic touch screen touch test ...... page 148
Setting the "processing" program ... ... page 150
Building appliances for a home automation control panel ...... Page 153
Calibration of hotspots ... Page 156
Arduino Mountain ... page 159
Composite Speech ...... Page 161
Parts Required ...... Page 162
Speech output signal ...... page 164
The beginning of the gathering ... Page 165
SpeakJet PWM Voice Output ... page 166
Appropriate status indicators ...... page 167
Making a line-level output cable ...... page 170
Built-in amplifier ...... Page 171
Speech mixing program ...... page 173
Create your own messages ... page 175
Read SpeakJet status ...... page 182
Resources ...... page 183
Water flow meter ...... page 185
Parts required ... page 186
Replace the sensor connector ... page 187
Preparing the prototype shield ... page 188
Preparing the LCD unit ...... page 190
Fit the LCD screen to the case ... Page 193
Arduino favor in the case ...... page 195

Determining the Scaling Factor ...... Page 196
Provincial Hardware ... page 197
Volatile Variables ... Page 198
Flow measurement chart ...... Page 200
Install the flow sensor ...... page 205
Resources ...... page 206
Oscilloscope / Logic Analyzer ... page 207
Parts required ... page 209
Instructions ... Page 211
Assembling the case ...... page 212
Fit Models Shield ... page 215
How does ADC progressive rounding work ... Page 216
The connection with the circuit is under test ...... page 219
Analogue reading copy ...... Page 220
A digital reading version ...... page 222
Digital readout diagram with improved communication format ... p. 224
Install processing and running visualization software ...... page 225
Input pre-voltage voltage ... ... page 227
Resources ...... page 228
Water Tank Depth Sensor ...... page 231
Parts required ... page 232
Instructions .... Page 234
Shield Assembly ... page 235
Determining the method for installing the sensor ... page 237
Sensor Cover Assembly ... page 241
Arduino housing compilation ... ... page 245
Install WiShield Library and Driver ...... page 248
Download the tank level drawing ...... page 249
The most beautiful web interface ...... page 253
Calibration of the "empty tank" level ... page 256
Install the sensor and Arduino ...... page 257
Control or irrigation pumps ...... Page 258
Read multiple cabinets ...... page 259
Weather station reception ...... page 261
Parts required ... page 263
Understanding the Circle ...... Page 265
Compilation of the Future Shield ... page 268
Weather station reception program ... page 272
Weather updates on Twitter ...... page 287
Special weather station online ... page 289
RFID Access Control System ...... page 291
Parts required ... page 294
Instructions ... Page 296
Energy Source ...... page 297
RFID Sequence Connection ...... page 299
Relay output ... page 300
LED indicators ... p. 302
Assemble the ID-12 Reader Module ...... page 304
The RDM630 Reader Assembly ...... Page 306
A simple simple independent drawing ...... page 307
Install the reader ...... page 313
Extensible Reading Head ...... page 314
Speech Synthesis Notes ...... Page 315
Resources ...... page 316
Vehicle telemetry platform ...... Page 317
Parts required ... page 320
Check the vehicle interface ...... page 323
Get a USB / OBD-II or RS-232 adapter ... page 324
Test the USB / OBD-II adapter ...... page 325
Understanding OBD-II Status and Standards ...... page 326
Prepare the USB / OBD-II adapter ...... page 330
Install the OBD-II cable ...... page 335
Preparing the GPS unit ...... page 336
Collect electric current on the shield ...... page 341
Serial connections contain the shield ...... page 345
Prepare Module VDIP1 ...... page 346
LCD unit ...... page 350
The record control button and status indicators ... page 353
Installation in the sub-assemblies in the box ...... Page 354
Mega OBDuino drawing ...... page 360
P. 361
LCD.pde ...... page 388
GPS.pde ...... page 392
P. 393
Host.pde ...... page 394
P. 397
Use OBDuinoMega drawing menu buttons ...... page 398
Play the registry ...... page 400
Differences ...... page 402
"Knight Rider" - Style Warning Status ...... page 403
Sources ...... page 404
Simple Voltage Regulators ...... page 405
LED driving lights ... page 406
Beating ...... page 407
Charlieplexing ... p. 409
Output and insulation circuit ... Page 410
Red Relays ... page 411
Relays ...... Page 412
Bipolar Transistors ...... Page 413
FETs ...... page 414
Transformation is recorded as output ...... page 415
Transformation records as inputs ... page 417
Voltage divisors and non-isolated income conditioning ... Page 418
Adaptation of isolated entry ... page 420
Inexpensive DIY armor prototypes ...... Page 421
Arduino Library Writing ...... Page 423
Job development as a diagram ...... page 424
Creating the Library Header File ... page 425
Create a class library file ...... page 427
Create an example diagram ...... page 429
Create supporting files ...... page 430
Summary ... page 431

Index ...... page 433