Arduino Projects to Save the World introduces the types of sensors needed to collect environmental data-from temperature sensors to motion sensors. You’ll see projects that deal with energy sources-from building your own power strip to running your Arduino board on solar panels so you can actually proceed to build systems that help, for example, to lower your energy bills. Once you have some data, it’s time to put it to good use by publishing it online as you collect it this book shows you how. Arduino Projects to Save the World shows that it takes little more than a few tools, a few wires and sensors, an Arduino board, and a bit of gumption to build devices that lower energy bills, help you grow our own food, monitor pollution in the air and in the ground, even warn you about earth tremors. |
Author(s): Emery Premeaux, Brian Evans
Edition: 1
Publisher: Apress
Year: 2011
Language: English
Pages: 256
Tags: Библиотека;Компьютерная литература;Микроконтроллеры;Arduino / Freeduino;
Cover
......Page 234
Contents at a Glance
......Page 3
Contents
......Page 238
About the Authors
......Page 245
About the Technical Reviewer
......Page 246
Acknowledgments
......Page 247
Preface
......Page 248
Saving the World…......Page 4
Arduino’s Analog to Digital Converter (ADC)......Page 5
Changing the Voltage Reference......Page 6
Voltage Dividers......Page 7
Figure Out the Equations......Page 9
Write a Sample Serial Sketch......Page 10
Consider Power Saving Whenever Possible......Page 11
Supplies and Tools Needed......Page 12
Building the BreadboardShield......Page 13
Summary......Page 16
The Hardware......Page 17
Parts List......Page 18
Building It......Page 19
Mechanical Build......Page 23
Determining Temperature Equations......Page 24
Test Code......Page 25
Basic SpiderTemps Code......Page 27
SpiderTemps, Take Two: Calibration......Page 30
Adding a Display......Page 32
Battery Powered?......Page 37
Boxing It Up......Page 38
Conclusion......Page 41
Jungle Power......Page 43
Solar Power......Page 44
Three Sides to Every (Power) Story......Page 45
Input (Batteries, Charge Controllers, and Free Energy)......Page 46
Regulation Options......Page 47
Selecting Your Sensor Node Arduino......Page 49
Using a Zener Diode to Drive Aref......Page 52
Putting the Arduino to Sleep......Page 54
Get Rid of LEDs Wherever Possible......Page 55
The Build......Page 56
Parts......Page 57
Build Process......Page 58
Measuring Current Draw......Page 59
Determining Operational Duty Cycle (Arduino Takes a Nap)......Page 63
Choosing Solar Panels......Page 67
Assembly......Page 68
Wire the Power Supply Subsytems......Page 69
Install the Sensors......Page 70
Build the Clock Circuit......Page 71
Code......Page 73
Testing It Out......Page 76
Put It in a Case......Page 77
Resources......Page 78
Getting the Lay of the Land......Page 80
Planning the Message Flow and Hardware......Page 81
A Complex Network......Page 82
Serial AM/FM Radio......Page 83
Zigbee and Xbee......Page 84
Antenna Considerations......Page 86
Freakduino-Chibi Version Hardware......Page 87
Xbee version Hardware (Stalker version 2.0)......Page 100
Processing umm… Processes!......Page 126
Adding Logging Features......Page 128
Conclusion......Page 132
Resources......Page 133
Contributing to the Hive Mind......Page 135
Google.com/powermeter......Page 136
Taking a Closer Look at Pachube......Page 137
Terminology and Account Limitations......Page 139
Pachube, Meet Arduino......Page 140
Getting Started......Page 142
The Build......Page 143
Setting Up a Feed on Pachube......Page 145
Arduino Sketch: Firmata......Page 146
PC Side: Processing and EEML......Page 149
Putting it All Together......Page 152
References......Page 153
The Mass Effect......Page 154
The Data......Page 156
Seismograph Technology......Page 157
How MEMS Accelerometers Work......Page 158
The Build......Page 159
Building the Prototype Hardware......Page 162
Software......Page 163
Arduino Code......Page 164
Processing......Page 166
Transducer Considerations......Page 170
Cabling Considerations......Page 171
Parts List......Page 172
Getting Prepared......Page 173
A System of Three Systems......Page 174
Testing and Assembly......Page 189
Installation......Page 191
Going Further......Page 192
References......Page 197
What Is Alternating Current?......Page 199
Split-Core Current Transformer......Page 201
Liquid Crystal Display......Page 202
Parts List......Page 203
Building it......Page 204
Current and Voltage Sensing......Page 205
Connecting the Display......Page 206
Building the Cable......Page 207
Energy Monitor Code......Page 209
Constants......Page 212
calculatePower()......Page 213
displayPower()......Page 214
Current Settings......Page 215
Voltage Settings......Page 216
Entering the Constants......Page 218
Wrapping it Up......Page 219
Going Further......Page 220
Energy Monitor SD Code......Page 221
Code Summary......Page 225
Further Still?......Page 226
References......Page 227
A......Page 228
E......Page 229
F......Page 230
J......Page 231
P......Page 232
T......Page 233
X, Y, Z......Page 251