Arduino Cookbook

Recipes to Begin, Expand, and Enhance Your Projects
 
 
O'Reilly (Verlag)
  • erschienen am 17. April 2020
  • |
  • 796 Seiten
 
E-Book | ePUB mit Adobe-DRM | Systemvoraussetzungen
978-1-4919-0348-3 (ISBN)
 
Want to create devices that interact with the physical world? This cookbook is perfect for anyone who wants to experiment with the popular Arduino microcontroller and programming environment. Youll find more than 200 tips and techniques for building a variety of objects and prototypes such as IoT solutions, environmental monitors, location and position-aware systems, and products that can respond to touch, sound, heat, and light.Updated for the Arduino 1.8 release, the recipes in this third edition include practical examples and guidance to help you begin, expand, and enhance your projects right awaywhether youre an engineer, designer, artist, student, or hobbyist.Get up to speed on the Arduino board and essential software concepts quicklyLearn basic techniques for reading digital and analog signalsUse Arduino with a variety of popular input devices and sensorsDrive visual displays, generate sound, and control several types of motorsConnect Arduino to wired and wireless networksLearn techniques for handling time delays and time measurementApply advanced coding and memory-handling techniques
  • Englisch
  • Sebastopol
  • |
  • USA
  • 20,92 MB
978-1-4919-0348-3 (9781491903483)
weitere Ausgaben werden ermittelt
  • Intro
  • Copyright
  • Table of Contents
  • Preface
  • Who This Book Is For
  • How This Book Is Organized
  • What Was Left Out
  • Code Style (About the Code)
  • Arduino Platform Release Notes
  • Notes on the Third Edition
  • Conventions Used in This Book
  • Using Code Examples
  • O'Reilly Online Learning
  • How to Contact Us
  • Acknowledgments for the Second Edition (Michael Margolis)
  • Acknowledgments for the Third Edition (Brian Jepson)
  • Chapter 1. Getting Started
  • 1.0 Introduction
  • Arduino Software and Sketches
  • Arduino Hardware
  • 1.1 Installing the Integrated Development Environment (IDE)
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.2 Setting Up the Arduino Board
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.3 Using the Integrated Development Environment to Prepare an Arduino Sketch
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.4 Uploading and Running the Blink Sketch
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.5 Creating and Saving a Sketch
  • Problem
  • Solution
  • Discussion
  • 1.6 An Easy First Arduino Project
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.7 Using Arduino with Boards Not Included in the Standard Distribution
  • Problem
  • Solution
  • Discussion
  • See Also
  • 1.8 Using a 32-Bit Arduino (or Compatible)
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 2. Arduino Programming
  • 2.0 Introduction
  • 2.1 A Typical Arduino Sketch
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.2 Using Simple Primitive Types (Variables)
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.3 Using Floating-Point Numbers
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.4 Working with Groups of Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.5 Using Arduino String Functionality
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.6 Using C Character Strings
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.7 Splitting Comma-Separated Text into Groups
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.8 Converting a Number to a String
  • Problem
  • Solution
  • Discussion
  • 2.9 Converting a String to a Number
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.10 Structuring Your Code into Functional Blocks
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.11 Returning More than One Value from a Function
  • Problem
  • Solution
  • Discussion
  • 2.12 Taking Actions Based on Conditions
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.13 Repeating a Sequence of Statements
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.14 Repeating Statements with a Counter
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.15 Breaking Out of Loops
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.16 Taking a Variety of Actions Based on a Single Variable
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.17 Comparing Character and Numeric Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.18 Comparing Strings
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.19 Performing Logical Comparisons
  • Problem
  • Solution
  • Discussion
  • 2.20 Performing Bitwise Operations
  • Problem
  • Solution
  • Discussion
  • See Also
  • 2.21 Combining Operations and Assignment
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 3. Mathematical Operations
  • 3.0 Introduction
  • 3.1 Adding, Subtracting, Multiplying, and Dividing
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.2 Incrementing and Decrementing Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.3 Finding the Remainder After Dividing Two Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.4 Determining the Absolute Value
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.5 Constraining a Number to a Range of Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.6 Finding the Minimum or Maximum of Some Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.7 Raising a Number to a Power
  • Problem
  • Solution
  • Discussion
  • 3.8 Taking the Square Root
  • Problem
  • Solution
  • Discussion
  • 3.9 Rounding Floating-Point Numbers Up and Down
  • Problem
  • Solution
  • Discussion
  • 3.10 Using Trigonometric Functions
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.11 Generating Random Numbers
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.12 Setting and Reading Bits
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.13 Shifting Bits
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.14 Extracting High and Low Bytes in an int or long
  • Problem
  • Solution
  • Discussion
  • See Also
  • 3.15 Forming an int or long from High and Low Bytes
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 4. Serial Communications
  • 4.0 Introduction
  • Serial Hardware
  • Serial Hardware Behavior
  • Emulate Serial Hardware with Digital Pins
  • Message Protocols
  • Arduino Serial Notes
  • 4.1 Sending Information from Arduino to Your Computer
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.2 Sending Formatted Text and Numeric Data from Arduino
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.3 Receiving Serial Data in Arduino
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.4 Sending Multiple Text Fields from Arduino in a Single Message
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.5 Receiving Multiple Text Fields in a Single Message in Arduino
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.6 Sending Binary Data from Arduino
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.7 Receiving Binary Data from Arduino on a Computer
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.8 Sending Binary Values from Processing to Arduino
  • Problem
  • Solution
  • Discussion
  • 4.9 Sending the Values of Multiple Arduino Pins
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.10 Logging Arduino Data to a File on Your Computer
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.11 Sending Data to More than One Serial Device
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.12 Receiving Serial Data from More than One Serial Device
  • Problem
  • Solution
  • Discussion
  • See Also
  • 4.13 Using Arduino with the Raspberry Pi
  • Problem
  • Solution
  • Discussion
  • Chapter 5. Simple Digital and Analog Input
  • 5.0 Introduction
  • 5.1 Using a Switch
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.2 Using a Switch Without External Resistors
  • Problem
  • Solution
  • Discussion
  • 5.3 Reliably Detect (Debounce) When a Switch Is Pressed
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.4 Determining How Long a Switch Is Pressed
  • Problem
  • Solution
  • Discussion
  • 5.5 Reading a Keypad
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.6 Reading Analog Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.7 Changing the Range of Values
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.8 Reading More than Six Analog Inputs
  • Problem
  • Solution
  • Discussion
  • See Also
  • 5.9 Measuring Voltages Up to 5V
  • Problem
  • Solution
  • Discussion
  • 5.10 Responding to Changes in Voltage
  • Problem
  • Solution
  • Discussion
  • 5.11 Measuring Voltages More than 5V (Voltage Dividers)
  • Problem
  • Solution
  • Discussion
  • Chapter 6. Getting Input from Sensors
  • 6.0 Introduction
  • See Also
  • 6.1 You Want an Arduino with Many Built-in Sensors
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.2 Detecting Movement
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.3 Detecting Light
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.4 Detecting Motion of Living Things
  • Problem
  • Solution
  • Discussion
  • 6.5 Measuring Distance
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.6 Measuring Distance Precisely
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.7 Detecting Vibration
  • Problem
  • Solution
  • Discussion
  • 6.8 Detecting Sound
  • Problem
  • Solution
  • Discussion
  • 6.9 Measuring Temperature
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.10 Reading RFID (NFC) Tags
  • Problem
  • Solution
  • Discussion
  • 6.11 Tracking Rotary Movement
  • Problem
  • Solution
  • Discussion
  • 6.12 Tracking Rotary Movement in a Busy Sketch with Interrupts
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.13 Using a Mouse
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.14 Getting Location from a GPS
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.15 Detecting Rotation Using a Gyroscope
  • Problem
  • Solution
  • Discussion
  • See Also
  • 6.16 Detecting Direction
  • Problem
  • Solution
  • Discussion
  • 6.17 Reading Acceleration
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 7. Visual Output
  • 7.0 Introduction
  • Digital Output
  • Analog Output
  • Controlling Light
  • 7.1 Connecting and Using LEDs
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.2 Adjusting the Brightness of an LED
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.3 Driving High-Power LEDs
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.4 Adjusting the Color of an LED
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.5 Controlling Lots of Color LEDs
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.6 Sequencing Multiple LEDs: Creating a Bar Graph
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.7 Sequencing Multiple LEDs: Making a Chase Sequence
  • Problem
  • Solution
  • Discussion
  • 7.8 Controlling an LED Matrix Using Multiplexing
  • Problem
  • Solution
  • Discussion
  • 7.9 Displaying Images on an LED Matrix
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.10 Controlling a Matrix of LEDs: Charlieplexing
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.11 Driving a 7-Segment LED Display
  • Problem
  • Solution
  • Discussion
  • 7.12 Driving Multidigit, 7-Segment LED Displays: Multiplexing
  • Problem
  • Solution
  • Discussion
  • 7.13 Driving Multidigit, 7-Segment LED Displays with the Fewest Pins
  • Problem
  • Solution
  • Solution
  • 7.14 Controlling an Array of LEDs by Using MAX72xx Shift Registers
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.15 Increasing the Number of Analog Outputs Using PWM Extender Chips
  • Problem
  • Solution
  • Discussion
  • See Also
  • 7.16 Using an Analog Panel Meter as a Display
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 8. Physical Output
  • 8.0 Introduction
  • Servos
  • Solenoids and Relays
  • Brushed and Brushless Motors
  • Stepper Motors
  • 8.1 Controlling Rotational Position with a Servo
  • Problem
  • Solution
  • Discussion
  • 8.2 Controlling Servo Rotation with a Potentiometer or Sensor
  • Problem
  • Solution
  • Discussion
  • 8.3 Controlling the Speed of Continuous Rotation Servos
  • Problem
  • Solution
  • Discussion
  • 8.4 Controlling Servos Using Computer Commands
  • Problem
  • Solution
  • Discussion
  • See Also
  • 8.5 Driving a Brushless Motor (Using a Hobby Speed Controller)
  • Problem
  • Solution
  • Discussion
  • 8.6 Controlling Solenoids and Relays
  • Problem
  • Solution
  • Discussion
  • 8.7 Making an Object Vibrate
  • Problem
  • Solution
  • Discussion
  • 8.8 Driving a Brushed Motor Using a Transistor
  • Problem
  • Solution
  • Discussion
  • 8.9 Controlling the Direction of a Brushed Motor with an H-Bridge
  • Problem
  • Solution
  • Discussion
  • 8.10 Controlling the Direction and Speed of a Brushed Motor with an H-Bridge
  • Problem
  • Solution
  • Discussion
  • 8.11 Using Sensors to Control the Direction and Speed of Brushed Motors
  • Problem
  • Solution
  • Discussion
  • See Also
  • 8.12 Driving a Bipolar Stepper Motor
  • Problem
  • Solution
  • Discussion
  • See Also
  • 8.13 Driving a Bipolar Stepper Motor (Using the EasyDriver Board)
  • Problem
  • Solution
  • Discussion
  • 8.14 Driving a Unipolar Stepper Motor with the ULN2003A Driver Chip
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 9. Audio Output
  • 9.0 Introduction
  • 9.1 Playing Tones
  • Problem
  • Solution
  • See Also
  • 9.2 Playing a Simple Melody
  • Problem
  • Solution
  • 9.3 Generating More than One Simultaneous Tone
  • Problem
  • Solution
  • Discussion
  • 9.4 Generating Audio Tones Without Interfering with PWM
  • Problem
  • Solution
  • Discussion
  • See Also
  • 9.5 Controlling MIDI
  • Problem
  • Solution
  • Discussion
  • See Also
  • 9.6 Making an Audio Synthesizer
  • Problem
  • Solution
  • Discussion
  • See Also
  • 9.7 Attain High-Quality Audio Synthesis
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 10. Remotely Controlling External Devices
  • 10.0 Introduction
  • 10.1 Responding to an Infrared Remote Control
  • Problem
  • Solution
  • Discussion
  • See Also
  • 10.2 Decoding Infrared Remote Control Signals
  • Problem
  • Solution
  • Discussion
  • See Also
  • 10.3 Imitating Remote Control Signals
  • Problem
  • Solution
  • Discussion
  • See Also
  • 10.4 Controlling a Digital Camera
  • Problem
  • Solution
  • Discussion
  • See Also
  • 10.5 Controlling AC Devices by Hacking a Remote-Controlled Switch
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 11. Using Displays
  • 11.0 Introduction
  • 11.1 Connecting and Using a Text LCD Display
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.2 Formatting Text
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.3 Turning the Cursor and Display On or Off
  • Problem
  • Solution
  • Discussion
  • 11.4 Scrolling Text
  • Problem
  • Solution
  • Discussion
  • 11.5 Displaying Special Symbols
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.6 Creating Custom Characters
  • Problem
  • Solution
  • Discussion
  • 11.7 Displaying Symbols Larger than a Single Character
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.8 Displaying Pixels Smaller than a Single Character
  • Problem
  • Solution
  • Discussion
  • 11.9 Selecting a Graphical LCD Display
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.10 Control a Full-Color LCD Display
  • Problem
  • Solution
  • Discussion
  • See Also
  • 11.11 Control a Monochrome OLED Display
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 12. Using Time and Dates
  • 12.0 Introduction
  • 12.1 Using millis to Determine Duration
  • Problem
  • Solution
  • Discussion
  • See Also
  • 12.2 Creating Pauses in Your Sketch
  • Problem
  • Solution
  • Discussion
  • See Also
  • 12.3 More Precisely Measuring the Duration of a Pulse
  • Problem
  • Solution
  • Discussion
  • See Also
  • 12.4 Using Arduino as a Clock
  • Problem
  • Solution
  • Discussion
  • See Also
  • 12.5 Creating an Alarm to Periodically Call a Function
  • Problem
  • Solution
  • Discussion
  • 12.6 Using a Real-Time Clock
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 13. Communicating Using I2C and SPI
  • 13.0 Introduction
  • I2C
  • Using 3.3-Volt Devices with 5-Volt Boards
  • SPI
  • See Also
  • 13.1 Connecting Multiple I2C Devices
  • Problem
  • Solution
  • Discussion
  • See Also
  • 13.2 Connecting Multiple SPI Devices
  • Problem
  • Solution
  • Discussion
  • See Also
  • 13.3 Working with an I2C Integrated Circuit
  • Problem
  • Solution
  • Discussion
  • See Also
  • 13.4 Increase I/O with an I2C Port Expander
  • Problem
  • Solution
  • Discussion
  • See Also
  • 13.5 Communicating Between Two or More Arduino Boards
  • Problem
  • Solution
  • Discussion
  • See Also
  • 13.6 Using the Wii Nunchuck Accelerometer
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 14. Simple Wireless Communication
  • 14.0 Introduction
  • 14.1 Sending Messages Using Low-Cost Wireless Modules
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.2 Connecting Arduino over a ZigBee or 802.15.4 Network
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.3 Sending a Message to a Particular XBee
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.4 Sending Sensor Data Between XBees
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.5 Activating an Actuator Connected to an XBee
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.6 Communicating with Classic Bluetooth Devices
  • Problem
  • Solution
  • Discussion
  • See Also
  • 14.7 Communicating with Bluetooth Low Energy Devices
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 15. WiFi and Ethernet
  • 15.0 Introduction
  • 15.1 Connecting to an Ethernet Network
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.2 Obtaining Your IP Address Automatically
  • Problem
  • Solution
  • Discussion
  • 15.3 Sending and Receiving Simple Messages (UDP)
  • Problem
  • Solution
  • Discussion
  • 15.4 Use an Arduino with Built-in WiFi
  • Problem
  • Solution
  • Discussion
  • 15.5 Connect to WiFi with Low-Cost Modules
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.6 Extracting Data from a Web Response
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.7 Requesting Data from a Web Server Using XML
  • Problem
  • Solution
  • Discussion
  • 15.8 Setting Up an Arduino to Be a Web Server
  • Problem
  • Solution
  • Discussion
  • 15.9 Handling Incoming Web Requests
  • Problem
  • Solution
  • Discussion
  • 15.10 Handling Incoming Requests for Specific Pages
  • Problem
  • Solution
  • Discussion
  • 15.11 Using HTML to Format Web Server Responses
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.12 Requesting Web Data Using Forms (POST)
  • Problem
  • Solution
  • Discussion
  • 15.13 Serving Web Pages Containing Large Amounts of Data
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.14 Sending Twitter Messages
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.15 Exchanging Data for the Internet of Things
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.16 Publishing Data to an MQTT Broker
  • Problem
  • Solution
  • Discussion
  • See Also
  • 15.17 Subscribing to Data on an MQTT Broker
  • Problem
  • Solution
  • Discussion
  • 15.18 Getting the Time from an Internet Time Server
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 16. Using, Modifying, and Creating Libraries
  • 16.0 Introduction
  • 16.1 Using the Built-in Libraries
  • Problem
  • Solution
  • Discussion
  • See Also
  • 16.2 Installing Third-Party Libraries
  • Problem
  • Solution
  • Discussion
  • 16.3 Modifying a Library
  • Problem
  • Solution
  • Discussion
  • See Also
  • 16.4 Creating Your Own Library
  • Problem
  • Solution
  • Discussion
  • See Also
  • 16.5 Creating a Library That Uses Other Libraries
  • Problem
  • Solution
  • Discussion
  • 16.6 Updating Third-Party Libraries for Arduino 1.0
  • Problem
  • Solution
  • Discussion
  • Chapter 17. Advanced Coding and Memory Handling
  • 17.0 Introduction
  • Preprocessor
  • See Also
  • 17.1 Understanding the Arduino Build Process
  • Problem
  • Solution
  • Discussion
  • See Also
  • 17.2 Determining the Amount of Free and Used RAM
  • Problem
  • Solution
  • Discussion
  • See Also
  • 17.3 Storing and Retrieving Numeric Values in Program Memory
  • Problem
  • Solution
  • Discussion
  • See Also
  • 17.4 Storing and Retrieving Strings in Program Memory
  • Problem
  • Solution
  • Discussion
  • See Also
  • 17.5 Using #define and const Instead of Integers
  • Problem
  • Solution
  • Discussion
  • See Also
  • 17.6 Using Conditional Compilations
  • Problem
  • Solution
  • Discussion
  • See Also
  • Chapter 18. Using the Controller Chip Hardware
  • 18.0 Introduction
  • Registers
  • Interrupts
  • Timers
  • Analog and Digital Pins
  • See Also
  • 18.1 Storing Data in Permanent EEPROM Memory
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.2 Take Action Automatically When a Pin State Changes
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.3 Perform Periodic Actions
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.4 Setting Timer Pulse Width and Duration
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.5 Creating a Pulse Generator
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.6 Changing a Timer's PWM Frequency
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.7 Counting Pulses
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.8 Measuring Pulses More Accurately
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.9 Measuring Analog Values Quickly
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.10 Reducing Battery Drain
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.11 Setting Digital Pins Quickly
  • Problem
  • Solution
  • Discussion
  • 18.12 Uploading Sketches Using a Programmer
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.13 Replacing the Arduino Bootloader
  • Problem
  • Solution
  • Discussion
  • See Also
  • 18.14 Move the Mouse Cursor on a PC or Mac
  • Problem
  • Solution
  • Discussion
  • See Also
  • Appendix A. Electronic Components
  • Capacitor
  • Diode
  • Integrated Circuit
  • Keypad
  • LED
  • Motor (DC)
  • Optocoupler
  • Photocell (Photoresistor)
  • Piezo
  • Pot (Potentiometer)
  • Relay
  • Resistor
  • Solenoid
  • Speaker
  • Stepper Motor
  • Switch
  • Transistor
  • See Also
  • Appendix B. Using Schematic Diagrams and Datasheets
  • How to Read a Datasheet
  • Choosing and Using Transistors for Switching
  • Appendix C. Building and Connecting the Circuit
  • Using a Breadboard
  • Connecting and Using External Power Supplies and Batteries
  • Using Capacitors for Decoupling
  • Using Snubber Diodes with Inductive Loads
  • Working with AC Line Voltages
  • Appendix D. Tips on Troubleshooting Software Problems
  • Code That Won't Compile
  • Code That Compiles but Does Not Work as Expected
  • Appendix E. Tips on Troubleshooting Hardware Problems
  • Still Stuck?
  • Appendix F. Digital and Analog Pins
  • Appendix G. ASCII and Extended Character Sets
  • Index
  • About the Authors

Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Bitte beachten Sie bei der Verwendung der Lese-Software Adobe Digital Editions: wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

43,99 €
inkl. 5% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe-DRM
siehe Systemvoraussetzungen
E-Book bestellen