Beginning Arduino programming /
Beginning Arduino Programming allows you to quickly and intuitively¡develop your programming skills through sketching in code.¡This clear introduction provides you with an understanding of the basic¡framework for developing Arduino code, including the structure, syntax, ¡functions, and libraries nee...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, CA] :
Apress,
©2011.
|
Colección: | Technology in action series.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Machine generated contents note: ch. 1 Getting Started
- Arduino is for Makers
- The Arduino Ecosystem
- The Arduino Platform
- Open-Source Hardware
- Community
- Arduinoland
- Arduino is C ... Mostly
- What's Needed
- Getting Up and Running
- Installing the Software
- Connecting the Arduino
- Opening a Sketch
- Selecting the Board and Serial Port
- Uploading a Sketch
- Summary
- ch. 2 Sketching in Code
- What is Sketching in Code?
- Project 1 RGB Blink
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- The Structure of Arduino C
- Using Comments
- Basic Functions
- Statements and Syntax
- Verifying and Uploading
- Verifying
- Saving
- Uploading
- Common Errors
- Summary
- ch. 3 Working with Variables
- Project 2 7-Color Blink
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- What's a Variable?
- Declaring Variables
- Variable Names
- Data Types
- Variable Qualifiers
- Predefined Constants.
- Note continued: Variable Scope
- Using Operators
- Arithmetic Operators: +, -, *, /
- Compound Operators: ++,
- , +=, -=, *=, /=
- Order of Operations
- Summary
- ch. 4 Making Decisions
- Project 3 Tilt Blink
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Comparative and Logical Operators
- Control Statements
- If
- For
- While
- Do
- Switch
- Break
- Continue
- Summary
- ch. 5 Digital Ins and Outs
- Arduino I/O Demystified
- Project 4 Noisy Cricket
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Digital Functions
- pinMode()
- digitalWrite()
- digitalRead()
- State Changes
- Toggle
- Counting
- Modality
- Summary
- ch. 6 Analog In, Analog Out
- Analog Demystified
- Project 5 Telematic Breath
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Analog Functions
- analogRead()
- analogWrite()
- analogReference()
- Analog Serial Monitor
- Reading Analog Values.
- Note continued: Using the Serial Monitor
- How It Works
- Mapping Values
- map()
- constrain()
- Summary
- ch. 7 Advanced Functions
- Timing Functions
- delay()
- delayMicroseconds()
- millis()
- micros()
- Random Functions
- random()
- randomSeed()
- Project 6 Ambient Temps
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Writing Functions
- Declaring Functions
- Calling Functions
- Function Returns
- Function Parameters
- Project 7 HSB Color Mixer
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Hardware Interrupts
- attachinterrupt()
- detachinterrupt()
- Summary
- ch. 8 Arrays and Memory
- Project 8 Decision Machine
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Arrays
- Declaring Arrays
- Using Arrays
- Character Arrays
- Multidimensional Arrays
- Arduino Memory
- Checking Free RAM
- Using Program Memory
- Using EEPROM
- Summary
- ch. 9 Hardware Libraries.
- Note continued: Using Libraries
- Creating an Instance
- Initializing the Library
- LiquidCrystal library
- Example Code: Arduino Haiku
- LiquidCrystal()
- begin()
- print()
- clear()
- setCursor()
- Example Code: Symbols and Characters()
- write()
- createChar()
- Example Code: Fish Tank Animation
- scrollDisplayLeft() and scrollDisplayRight()
- Servo Library
- Example Code: Reminder Bell
- Servo
- attach()
- write()
- Stepper Library
- Example Code: 60-Second Sweep
- Stepper
- setSpeed()
- step()
- SD Library
- Example Code: SD Logger
- File
- SD.begin()
- SD.open()
- close()
- write()
- print()
- Example Code: SD Flicker
- available()
- read()
- Summary
- ch. 10 Serial and 12C
- Using Hardware Serial
- Project 9 Serial to Servo
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Serial Library
- begin()
- available()
- read()
- print()
- printin()
- write()
- Project 10 RFID Reader
- Hooking It Up.
- Note continued: Uploading the Source Code
- Source Code Summary
- SoftwareSerial Library
- SoftwareSerial()
- begin()
- flush()
- strncmp()
- Project 11 Serial Time Clock
- Hooking It Up
- Uploading the Source Code
- Source Code Summary
- Wire Library
- begin()
- beginTransmission()
- endTransmission()
- write()
- requestFrom()
- read()
- Summary
- ch. 11 Continuing On
- Build More Projects
- Bonus Project 1 Make Something Tweet
- Bonus Project 2 Make Something Move
- Bonus Project 3 Mega-Size Something
- Learn Another Language
- Firmata
- Processing
- PureData
- Contribute to the Community
- Participate in Online Forums
- Publish Your Project
- Summary
- ch. 12 Beginning Electronics
- Basic Electronics
- Circuits
- Electricity
- Common Components
- Resistors
- Capacitors
- Diodes
- Transistors
- Switches
- Motors
- Reading Schematics
- Prototyping
- Breadboards
- Soldering
- Summary.