C currency mall>library classification>Technical books> Arduino programming from basic to practice

Commodity number:S20151116174873640

Arduino programming from basic to practice

Comprehensive introduction to the Arduino development environment, the basis of zero programming quick start Arduino development!

Product details

The Arduino programming from basic to the practice, "wrote the Arduino platform of a customer, the author Brian Evans is focused on electronic device art field of artists to through practical projects to improve the skills of learners. This book from the explanation of the basic content of the Arduino platform, discusses the Arduino class C programming language structure and syntax, discusses the variables, control structures, arrays, and memory, involving many Arduino is used to control the function of digital and analog input and output, a timer, a random event. We also discuss the how to write your own functions, how to use the rich resources of the Arduino library to control a wide variety of hardware, and how to use a variety of communication protocol.

 

The Arduino programming from basic to practice "starts from explaining the basic content of the Arduino platform, Arduino class C programming language structure and syntax are discussed, explores variables, control structures, arrays, and memory, involving many Arduino used to control digital and analog input and output, as a function of the timer, the random event. We also discuss the how to write your own functions, how to use the rich resources of the Arduino library to control a wide variety of hardware, and how to use a variety of communication protocols. The Arduino programming from basic to the practice, mainly through practical project to upgrade the programming skills, attaches great importance to the idea of modularization and achieve the project as with the code block method for the fast implementation of the design goals. The Arduino programming from basic to the practice, also provides some of the recommendations for the use of new projects and new elements, new programming language in practical projects, and nurturing technology community and provide some hardware manufacture knowledge.

 

 Evans BrianThat is focused on the field of electronic device art artist, associate professor, is also located in the Denver metropolitan state college. He is a professor of art and design in multidisciplinary fusion courses and design introduction, including special media of artistic expression, electronic art creation and 3D printing course. He in many courses using open source hardware, putting them to use in the creation of art and design, these open source hardware including makerbot and reprap 3D printer and Arduino development platform.
His work has been in Los Angeles Barnes del Parque Municipal Art Gallery, Orange County's Contemporary Art Center, California State University Museum of art, long beach city on display. A Brian Evans is open source Canada Alberta class's New Media Institute hardware garden and activist. He in 2005 at the University of Arizona obtained Bachelor of Fine Arts degree and in 2008 received a master of Fine Arts degree from long beach, California State University, in 2009 as a volunteer for the New York open source hardware forum service.

 

The first chapter begins with 1
Arduino is designed for DIY enthusiasts 1
Arduino ecosystem 3
Arduino platform 3
Open source hardware 4
Community 5
Arduino world 6
Arduino using C language or other languages 7
What components do we need 9
To get to 11
Installation software 12
Connect to Arduino 13
Open a frame 13
Select board and serial port 14
Upload frame 15
Sum up 16
Second chapter code architecture 17
What is the framework of the code 18
Project 1:RGB flash 19
Connect it to 20
Upload code 21
Code summary 22
Structure of C Arduino 22
Use notes 23
Basic function 24
Statement and grammar 26
Confirm and upload 27
Confirm 27
Save 28
Upload 29
Common error 30
Sum up 32
The third chapter uses the variable 34
Item 2: seven color lamp 35
Connect them 35
Upload source code 36
Code summary 37
What is variable 38
Declare variables 39
Variable name 40
Data type 41
Variable modifier 43
Predefined constants 44
Variable scope 44
Use operator 45
Mathematical operator: +, -, *, / 46
Composite operator: + +, -, + =, - =, * = / = 47,
Operation sequence 48
Sum up 49
The fourth chapter carries on the judgment 50
Item 3: Flash 51
Connect it up 51
Upload code 52
Source code summary 54
Comparison and logical operation 56
Control structure 58
If 58
For 60
While 61
Do 62
Switch 63
Break 64
Continue 65
Sum up 65
Fifth chapter digital input and output 67
I/O Arduino extension 68
Item 4: noisy cricket 70
Connect it 70
Upload code 72
Source code summary 73
Digital function 75
PinMode () 75
DigitalWrite () 76
DigitalRead () 77
State transition 78
Switch 79
Count 81
Mode 82
Sum up 85
The sixth chapter analog input, analog output 86
Simulation of the amount of secret 87
Project 5: respiratory remote information processing 88
Connect them 89
Upload code 91
Source code summary 91
Simulation function 93
AnalogRead () 93
AnalogWrite () 95
AnalogReference () 96
Analog serial monitor 97
Read analog value 98
Using serial port monitor 99
How it works 100
Mapping value 101
Map () 101
Constrain () 102
Sum up 103
Seventh chapter advanced function 104
Time function 105
Delay () 105
DelayMicroseconds () 106
Millis () 107
Micros () 109
Random function 109
Random () 110
RandomSeed () 112
Item 6: ambient temperature 113
Link up 114
Upload source code 116
Source code summary 118
Write function 121
Declare function 121
Call function 122
Function return value 122
Function parameter 124
Item 7:HSB color LED 125
Connect them 125
Upload source code 127
Source code summary 129
Hardware interrupt 130
AttachInterrupt () 131
DetachInterrupt () 132
Sum up 132
Eighth chapter array and storage area 133
Item 8: divination machine 134
Connect them 134
Upload source code 136
Source code summary 139
Array 143
Declare an array of 143
Use array 145
Character array 148
Multidimensional array 149
Arduino memory 151
Check the remaining RAM 153
Use program storage space 154
Use EEPROM 156
Sum up 158
The ninth chapter hardware library 159
Use library 160
Generate an instance 160
Initialize library 161
LiquidCrystal library 161
Example code: use Arduino to display the verse. 163
LiquidCrystal () 164
Begin () 165
Print () 165
Clear () 166
SetCursor () 166
Example code: symbols and Characters () 166.
Write () 168
CreateChar () 169
Example code: fish tank animation 171
ScrollDisplayLeft () and scrollDisplayRight () 173
Steering gear library 174
Example code: alarm clock 176
Steering gear 177
Attach () 177
Write () 178
Step motor 179
Example code: 60s scan 183
Stepper 183
SetSpeed () 184
Step () 184
SD are 186
Example code: SD card recorder 188
File 189
SD.begin () 190
SD.open () 190
Close () 191
Write () 191
Print () 191
Example code: SD card flashing 192
Available () 193
Read () 193
Sum up 194
The tenth chapter serial communication and I2C 195
Use hardware serial port 196
Item 9: serial port control actuator 198
Connect it 198
Upload code 199
Code summary 200
Serial port 200
Begin () 201
Available () 201
Read () 202
Print () 204
Println () 205
Write () 205
Item 10:RFID card reader 206
Connect things up 206
Upload source code 207
Source code summary 209
Soft serial port 210
SoftwareSerial () 211
Begin () 211
Flush () 211
Strncmp () 212
Item 11: serial clock 213
Connect them 213
Upload source code 214
Code summary 217
Wire library 222
Begin () 222
BeginTransmission () 223
EndTransmission () 223
Write () 223
RequestFrom (); 224
Read () 224
Sum up 224
The eleventh chapter continues 226
Build more projects 226
Bonus item 226: make an item that automatically sends Twitter 1
Bonus item 2: making things move 229
Bonus item 3: large stuff 235
Learn other languages 236
Firmata 236
Processing 238
PureData 239
Make contributions to the community 241
Participate in online forum 241
Release your project 243
Sum up 245
The twelfth chapter basic electronics 247