Arduino Development Cookbook

Over 50 hands-on recipes to quickly build and understand Arduino projects, from the simplest to the most extraordinary

Arduino Development Cookbook

This ebook is included in a Mapt subscription
Cornel Amariei

2 customer reviews
Over 50 hands-on recipes to quickly build and understand Arduino projects, from the simplest to the most extraordinary
$0.00
$35.99
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783982943
Paperback246 pages

Book Description

The single-chip computer board Arduino is small in size but vast in scope, capable of being used for electronic projects from robotics through to home automation. The most popular embedded platform in the world, Arduino users range from school children to industry experts, all incorporating it into their designs.

Arduino Development Cookbook comprises clear and step-by-step recipes that give you the toolbox of techniques to construct any Arduino project, from the simple to the advanced. Each chapter gives you more essential building blocks for Arduino development, from learning about programming buttons through to operating motors, managing sensors, and controlling displays. Throughout, you'll find tips and tricks to help you troubleshoot your development problems and push your Arduino project to the next level!

Table of Contents

Chapter 1: Power on – Arduino Basics
Introduction
Downloading the Arduino software
Connecting Arduino
Uploading code to Arduino
Learning Arduino code basics
Code basics – Arduino C
Code basics – Arduino pins
Chapter 2: Blinking LEDs
Introduction
Blinking LED without delay()
Connecting an external LED
Fading the external LED
RGB LED
LED bar graph
The 7-segment display
Chapter 3: Working with Buttons
Introduction
Connecting a button
Button with no resistor
The toggle switch
Button to serial
Button debouncing
1,000 buttons to 1 pin
Button multiplexing
Chapter 4: Sensors
Introduction
Simple sensor – potentiometer
Temperature sensor
Detecting motion – PIR sensor
Measuring distance – infrared and ultrasonic
Noise reduction
Accelerometer
Localization – GPS
Chapter 5: Motor Control
Introduction
Controlling small motors
Controlling motors with transistors
Controlling speed with PWM
Spinning motors both ways
Servo motor
Stepper motor
Bipolar stepper motors
Brushless motors
Chapter 6: More Output Devices
Introduction
Creating sound
Transistor driver
Relay driver
Optocouplers/Optoisolators
More outputs – shift registers
Chapter 7: Digital Communication with Arduino
Introduction
Serial output
Controlling the Arduino over serial
Software serial and UART between Arduinos
Wireless serial
I2C between Arduinos
SD cards
LCD character displays
Ethernet
Chapter 8: Hacking
Introduction
More digital pins
Faster PWM
Storing data internally – EEPROM
Timing Arduino code
External interrupts

What You Will Learn

  • Read data from sensors and take action based on the environment
  • Use the Arduino to turn on lights, write to screens, or play light shows
  • Manipulate motors and other actuators to control the movement of different objects
  • Set up electronic circuits on a breadboard to interact with the Arduino
  • Explore hacks to push your project to the next level
  • Make your projects wireless and make them communicate with the computer

Authors

Table of Contents

Chapter 1: Power on – Arduino Basics
Introduction
Downloading the Arduino software
Connecting Arduino
Uploading code to Arduino
Learning Arduino code basics
Code basics – Arduino C
Code basics – Arduino pins
Chapter 2: Blinking LEDs
Introduction
Blinking LED without delay()
Connecting an external LED
Fading the external LED
RGB LED
LED bar graph
The 7-segment display
Chapter 3: Working with Buttons
Introduction
Connecting a button
Button with no resistor
The toggle switch
Button to serial
Button debouncing
1,000 buttons to 1 pin
Button multiplexing
Chapter 4: Sensors
Introduction
Simple sensor – potentiometer
Temperature sensor
Detecting motion – PIR sensor
Measuring distance – infrared and ultrasonic
Noise reduction
Accelerometer
Localization – GPS
Chapter 5: Motor Control
Introduction
Controlling small motors
Controlling motors with transistors
Controlling speed with PWM
Spinning motors both ways
Servo motor
Stepper motor
Bipolar stepper motors
Brushless motors
Chapter 6: More Output Devices
Introduction
Creating sound
Transistor driver
Relay driver
Optocouplers/Optoisolators
More outputs – shift registers
Chapter 7: Digital Communication with Arduino
Introduction
Serial output
Controlling the Arduino over serial
Software serial and UART between Arduinos
Wireless serial
I2C between Arduinos
SD cards
LCD character displays
Ethernet
Chapter 8: Hacking
Introduction
More digital pins
Faster PWM
Storing data internally – EEPROM
Timing Arduino code
External interrupts

Book Details

ISBN 139781783982943
Paperback246 pages
Read More
From 2 reviews

Read More Reviews