Cargando…

Arduino sketches : tools and techniques for programming wizardry /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Langbridge, James A. (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Hoboken : John Wiley & Sons, 2015.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Machine generated contents note: ch. 1 Introduction to Arduino
  • Atmel AVR
  • The Arduino Project
  • The ATmega Series
  • The ATmega Series
  • The ATtiny Series
  • Other Series
  • The Different Arduinos
  • Arduino Uno
  • Arduino Leonardo
  • Arduino Ethernet
  • Arduino Mega 2560
  • Arduino Mini
  • Arduino Micro
  • Arduino Due
  • LilyPad Arduino
  • Arduino Pro
  • Arduino Robot
  • Arduino Esplora
  • Arduino Yiln
  • Arduino Tre
  • Arduino Zero
  • Your Own Arduino?
  • Shields
  • What Is a Shield?
  • The Different Shields
  • Arduino Motor Shield
  • Arduino Wireless SD Shield
  • Arduino Ethernet Shield
  • Arduino WiFi Shield
  • Arduino GSM Shield
  • Your Own Shield
  • What Can You Do with an Arduino?
  • What You Will Need for This Book
  • Summary
  • ch. 2 Programming for the Arduino
  • Installing Your Environment
  • Downloading the Software
  • Running the Software
  • Using Your Own IDE
  • Your First Program
  • Understanding Your First Sketch
  • Programming Basics
  • Variables and Data Types
  • Control Structures
  • if Statement
  • switch Case
  • while Loop
  • for Loop
  • Functions
  • Libraries
  • Summary
  • ch. 3 Electronics Basics
  • Electronics 101
  • Voltage, Amperage, and Resistance
  • Voltage
  • Amperage
  • Resistance
  • Ohm's Law
  • The Basic Components
  • Resistors
  • Different Resistor Values
  • Identifying Resistor Values
  • Using Resistors
  • Capacitors
  • Using Capacitors
  • Diodes
  • Different Types of Diodes
  • Using Diodes
  • Light-Emitting Diodes
  • Using LEDs
  • Transistors
  • Using Transistors
  • Breadboards
  • Inputs and Outputs
  • Connecting a Light-Emitting Diode
  • Calculation
  • Software
  • Hardware
  • What Now?
  • Summary
  • ch. 4 The Arduino Language
  • I/O Functions
  • Digital I/O
  • pinMode()
  • digitalRead()
  • digital Write()
  • Analog I/O
  • analogRead()
  • analogWrite()
  • Generating Audio Tones
  • tone()
  • noTone()
  • Reading Pulses
  • pulseIn()
  • Time Functions
  • delay()
  • delayMicroseconds()
  • millis()
  • micros()
  • Mathematical Functions
  • min()
  • max()
  • constrain()
  • abs()
  • map()
  • pow()
  • sqrt()
  • random()
  • Trigonometry
  • sin()
  • cos()
  • tan()
  • Constants
  • Interrupts
  • attachInterrupt()
  • detachInterrupt()
  • noInterrupts()
  • interrupts()
  • Summary
  • ch. 5 Serial Communication
  • Introducing Serial Communication
  • UART Communications
  • Baud Rate
  • Data Bits
  • Parity
  • Stop Bits
  • Debugging and Output
  • Starting a Serial Connection
  • Writing Data
  • Sending Text
  • Sending Data
  • Reading Data
  • Starting Communications
  • Is Data Waiting?
  • Reading a Byte
  • Reading Multiple Bytes
  • Taking a Peek
  • Parsing Data
  • Cleaning Up
  • Example Program
  • SoftwareSerial
  • Summary
  • ch. 6 EEPROM
  • Introducing EEPROM
  • The Different Memories on Arduino
  • The EEPROM Library
  • Reading and Writing Bytes
  • Reading and Writing Bits
  • Reading and Writing Strings
  • Reading and Writing Other Values
  • Example Program
  • Preparing EEPROM Storage
  • Adding Nonvolatile Memory
  • Summary
  • ch. 7 SPI
  • Introducting SPI
  • SPI Bus
  • Comparison to RS-232
  • Configuration
  • Communications
  • Arduino SPI
  • SPI Library
  • SPI on the Arduino Due
  • Example Program
  • Hardware
  • Sketch
  • Exercises
  • Summary
  • ch. 8 Wire
  • Introducing Wire
  • Connecting I2C
  • I2C Protocol
  • Address
  • Communication
  • Communicating
  • Master Communications
  • Sending Information
  • Requesting Information
  • Slave Communications
  • Receiving Information
  • Sending Information
  • Example Program
  • Exercises
  • Traps and Pitfalls
  • Voltage Difference
  • Bus Speed
  • Shields with I2C
  • Summary
  • ch. 9 Ethernet
  • Introduction
  • Ethernet
  • Ethernet Cables
  • Switches and Hubs
  • PoE
  • TCP/IP
  • MAC Address
  • IP Address
  • DNS
  • Port
  • Ethernet on Arduino
  • Importing the Ethernet Library
  • Starting Ethernet
  • Arduino as a Client
  • Sending and Receiving Data
  • Connecting to a Web Server
  • Example Program
  • Arduino as a Server
  • Serving Web Pages
  • Example Program
  • Sketch
  • Summary
  • ch. 10 WiFi
  • Introduction
  • The WiFi Protocol
  • Topology
  • Network Parameters
  • Channels
  • Encryption
  • SSID
  • RSSI
  • Arduino WiFi
  • Importing the Library
  • Initialization
  • Status
  • Scanning Networks
  • Connecting and Configuring
  • Wireless Client
  • Wireless Server
  • Example Application
  • Hardware
  • Sketch
  • Exercises
  • Summary.
  • Ch. 11 LiquidCrystal
  • Introduction
  • LiquidCrystal Library
  • Writing Text
  • Cursor Commands
  • Text Orientation
  • Scrolling
  • Custom Text
  • Example Program
  • Hardware
  • Software
  • Exercises
  • Summary
  • ch. 12 SD
  • Introduction
  • SD Cards
  • Capacity
  • Speed
  • Using SD Cards with Arduino
  • Accepted SD Cards
  • Limitations
  • The SD Library
  • Importing the Library
  • Connecting a Card
  • Opening and Closing Files
  • Reading and Writing Files
  • Reading Files
  • Writing Files
  • Folder Operations
  • Card Operations
  • Advanced Usage
  • Example Program and Sketch
  • Summary
  • ch. 13 TFT
  • Introduction
  • Technologies
  • TFT Library
  • Initialization
  • Screen Preparation
  • Text Operations
  • Basic Graphics
  • Coloring
  • Graphic Images
  • Example Application
  • Hardware
  • Sketch
  • Exercises
  • Summary
  • ch. 14 Servo
  • Introduction to Servo Motors
  • Controlling Servo Motors
  • Connecting a Servo Motor
  • Moving Servo Motors
  • Disconnecting
  • Precision and Safety
  • Example Application
  • Schematic
  • Sketch
  • Exercises
  • Summary
  • ch. 15 Stepper
  • Introducing Motors
  • Controlling a Stepper Motor
  • Hardware
  • Unipolar Versus Bipolar Stepper Motors
  • The Stepper Library
  • Example Project
  • Hardware
  • Sketch
  • Summary
  • ch. 16 Firmata
  • Introducing Firmata
  • Firmata Library
  • Sending Messages
  • Receiving Messages
  • Callbacks
  • SysEx
  • Example Program
  • Summary
  • ch. 17 GSM
  • Introducing GSM
  • Mobile Data Network
  • GSM
  • GPRS
  • EDGE
  • 3 G
  • 4 G and the Future
  • Modems
  • Arduino and GSM
  • Arduino GSM Library
  • GSM Class
  • SMS Class
  • VoiceCall Class
  • GPRS
  • Modem
  • Example Application
  • Summary
  • ch. 18 Audio
  • Introducing Audio
  • Digital Sound Files
  • Music on the Arduino
  • Arduino Due
  • Digital to Analog Converters
  • Digital Audio to Analog
  • Creating Digital Audio
  • Storing Digital Audio
  • Playing Digital Audio
  • Example Program
  • Hardware
  • Sketch
  • Exercise
  • Summary
  • ch. 19 Scheduler
  • Introducing Scheduling
  • Arduino Multitasking
  • Scheduler
  • Cooperative Multitasking
  • Noncooperative Functions
  • Example Program
  • Hardware
  • Sketch
  • Exercises
  • Summary
  • ch. 20 USBHost
  • Introducing USBHost
  • USB Protocol
  • USB Devices
  • Keyboards
  • Mice
  • Hubs
  • Arduino Due
  • USBHost Library
  • Keyboards
  • Mice
  • Example Program
  • Hardware
  • Source Code
  • Summary
  • ch. 21 Esplora
  • Introducing Esplora
  • The Arduino Esplora Library
  • RGB LED
  • Sensors
  • Buttons
  • Buzzer
  • TinkerKit
  • LCD Module
  • Example Program and Exercises
  • Summary
  • ch. 22 Robot
  • Introducing Robot Library
  • Arduino Robot
  • Robot Library
  • Control Board
  • Robotic Controls
  • Sensor Reading
  • Personalizing Your Robot
  • LCD Screen
  • Music
  • Motor Board
  • Example Program and Exercises
  • Summary
  • ch. 23 Bridge
  • Introducing Bridge Library
  • Bridge
  • Process
  • FileIO
  • YunServer
  • YunClient
  • Example Application
  • Hardware
  • Sketch
  • Exercises
  • Summary
  • ch. 24 Importing Third-Party Libraries
  • Libraries
  • Finding Libraries
  • Importing a Library
  • Using an External Library
  • Example Application
  • Exercises
  • Summary
  • ch. 25 Creating Your Own Shield
  • Creating a Shield
  • The Idea
  • The Required Hardware
  • The Required Software
  • Your First Shield
  • Step 1: The Breadboard
  • Step 2: The Schematic
  • Step 3: The PCB
  • Summary
  • ch. 26 Creating Your Own Library
  • Libraries
  • Library Basics
  • Simple Libraries
  • Advanced Libraries
  • Adding Comments
  • Adding Examples
  • Read Me
  • Coding Style
  • Use CamelCase
  • Use English Words
  • Don't Use External Libraries
  • Use Standard Names
  • Distributing Your Library
  • Closed Source Libraries
  • Example Library
  • The Library
  • Examples
  • README
  • Finishing Touches
  • Summary.