This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. <em>Getting Started with Arduino</em> gives you lots of ideas for Arduino projects and helps you get going on them right away. From getti
Getting Started with Arduino
β Scribed by Massimo Banzi
- Publisher
- Make
- Year
- 2008
- Tongue
- English
- Leaves
- 232
- Series
- Make: Projects
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. Getting Started with Arduino gives you lots of ideas for Arduino projects and helps you get going on them right away. From getting organized to putting the final touches on your prototype, all the information you need is right in the book. Inside, you'll learn about:
- Interaction design and physical computing
- The Arduino hardware and software development environment
- Basics of electricity and electronics
- Prototyping on a solderless breadboard
- Drawing a schematic diagram
β¦ Table of Contents
Getting Started with Arduino......Page 10
How to Contact Us......Page 19
1. Introduction......Page 21
What Is Physical Computing?......Page 25
2. The Arduino Way......Page 27
Tinkering......Page 29
Patching......Page 30
Circuit Bending......Page 32
Keyboard Hacks......Page 35
We Love Junk!......Page 37
Hacking Toys......Page 39
Collaboration......Page 40
3. The Arduino Platform......Page 41
6 Analogue In pins (pins 0β5)......Page 44
6 Analogue Out pins (pins 3, 5, 6, 9, 10, and 11)......Page 45
The Software (IDE)......Page 48
Installing Arduino on Your Computer......Page 50
Installing Drivers: Macintosh......Page 51
Installing Drivers: Windows......Page 53
Port Identification: Macintosh......Page 55
Port Identification: Windows......Page 57
4. Really Getting Started with Arduino......Page 60
Sensors and Actuators......Page 62
Blinking an LED......Page 63
Pass Me the Parmesan......Page 69
Arduino Is Not for Quitters......Page 70
Real Tinkerers Write Comments......Page 71
The Code, Step by Step......Page 72
What We Will Be Building......Page 77
What Is Electricity?......Page 78
Using a Pushbutton to Control the LED......Page 84
How Does This Work?......Page 88
One Circuit, A Thousand Behaviours......Page 89
5. Advanced Input and Output......Page 97
Thermostats......Page 98
Magnetic switches (also known as "reed relays")......Page 99
Carpet switches......Page 100
Tilt switches......Page 101
Controlling Light with PWM......Page 105
Use a Light Sensor Instead of the Pushbutton......Page 114
Analogue Input......Page 117
Try Other Analogue Sensors......Page 121
Serial Communication......Page 122
Driving Bigger Loads (Motors, Lamps, and the Like)......Page 124
Complex Sensors......Page 126
6. Talking to the Cloud......Page 128
Analog Output......Page 129
Digital Input......Page 130
Analog Input......Page 131
Serial Communication......Page 132
Planning......Page 135
Coding......Page 138
Assembling the Circuit......Page 145
Here&s How to Assemble It:......Page 148
7. Troubleshooting......Page 150
Simplification and segmentation......Page 152
Exclusion and certainty......Page 153
Testing the Board......Page 154
Testing Your Breadboarded Circuit......Page 156
Isolating Problems......Page 159
Problems with the IDE......Page 160
How to Get Help Online......Page 162
A. The Breadboard......Page 165
B. Reading Resistors and Capacitors......Page 167
C. Arduino Quick Reference......Page 171
SPECIAL SYMBOLS......Page 172
{} (curly braces)......Page 173
comments......Page 174
CONSTANTS......Page 175
VARIABLES......Page 176
char......Page 177
byte......Page 178
int......Page 179
unsigned int......Page 180
long......Page 181
unsigned long......Page 182
float......Page 183
double......Page 184
string......Page 185
array......Page 186
CONTROL STRUCTURES......Page 187
for......Page 188
switch case......Page 189
while......Page 190
do β¦ while......Page 191
break......Page 192
continue......Page 193
return......Page 194
ARITHMETIC AND FORMULAS......Page 195
COMPARISON OPERATORS......Page 196
BOOLEAN OPERATORS......Page 197
COMPOUND OPERATORS......Page 198
+= , β=, *= and /=......Page 199
INPUT AND OUTPUT FUNCTIONS......Page 200
digitalWrite(pin, value)......Page 201
int digitalRead(pin)......Page 202
int analogRead(pin)......Page 203
analogWrite(pin, value)......Page 204
shiftOut(dataPin, clockPin, bitOrder, value)......Page 205
unsigned long pulseIn(pin, value)......Page 206
TIME FUNCTIONS......Page 207
delay(ms)......Page 208
delayMicroseconds(us)......Page 209
MATH FUNCTIONS......Page 210
max(x, y)......Page 211
abs(x)......Page 212
constrain(x, a, b)......Page 213
map(value, fromLow, fromHigh, toLow, toHigh)......Page 214
double pow(base, exponent)......Page 215
double sqrt(x)......Page 216
double sin(rad)......Page 217
double cos(rad)......Page 218
double tan(rad)......Page 219
RANDOM NUMBER FUNCTIONS......Page 220
long random(max) long random(min, max)......Page 221
SERIAL COMMUNICATION......Page 222
Serial.print(data) Serial.print(data, encoding)......Page 223
Serial.println(data) Serial.println(data, encoding)......Page 224
int Serial.available()......Page 225
int Serial.read()......Page 226
Serial.flush()......Page 227
D. Reading Schematic Diagrams......Page 228
π SIMILAR VOLUMES
Arduino is the open-source electronics prototyping platform thatβs taken the design and hobbyist world by storm. This thorough introduction, updated for Arduino 1.0, gives you lots of ideas for projects and helps you work with them right away. From getting organized to putting the final touches on y
This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. Getting Started with Arduino gives you lots of ideas for projects and helps you get going on them right away. To use the introductory exa
This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. Getting Started with Arduino gives you lots of ideas for projects and helps you get going on them right away. To use the introductory exa
Arduino is the open-source electronics prototyping platform that's taken the design and hobbyist world by storm. This thorough introduction, updated for Arduino 1.0, gives you lots of ideas for projects and helps you work with them right away. From getting organized to putting the final touches on y