Mastering Arduino

A project-based approach to electronics, circuits, and programming
 
 
Packt Publishing
  • 1. Auflage
  • |
  • erschienen am 28. September 2018
  • |
  • 372 Seiten
 
E-Book | PDF mit Adobe-DRM | Systemvoraussetzungen
E-Book | ePUB mit Adobe-DRM | Systemvoraussetzungen
978-1-78883-162-8 (ISBN)
 
Mastering Arduino is a practical, no-nonsense guide that will teach you the electronics and programming skills that you need to create advanced Arduino projects.Key FeaturesCovers enough electronics and code for users at any levelIncludes complete circuit diagrams for all projectsFinal robot project combines knowledge from all the chaptersBook DescriptionMastering Arduino is an all-in-one guide to getting the most out of your Arduino. This practical, no-nonsense guide teaches you all of the electronics and programming skills that you need to create advanced Arduino projects. This book is packed full of real-world projects for you to practice on, bringing all of the knowledge in the book together and giving you the skills to build your own robot from the examples in this book. The final two chapters discuss wireless technologies and how they can be used in your projects. The book begins with the basics of electronics, making sure that you understand components, circuits, and prototyping before moving on. It then performs the same function for code, getting you into the Arduino IDE and showing you how to connect the Arduino to a computer and run simple projects on your Arduino.Once the basics are out of the way, the next 10 chapters of the book focus on small projects centered around particular components, such as LCD displays, stepper motors, or voice synthesizers. Each of these chapters will get you familiar with the technology involved, how to build with it, how to program it, and how it can be used in your own projects. What you will learnExplains the basics of electronics and circuits along with the Arduino IDE and basic C operationsUse sensors to build a mini weather stationControl LEDs using codePower a robot arm using stepper motorsRemotely control your Arduino using RF, Bluetooth LE, and Bluetooth ClassicMake a sound tone generator with buttonsWho this book is forMastering Arduino is for anybody who wants to experiment with an Arduino board and build simple projects. No prior knowledge is required, as the fundamentals of electronics and coding are covered in this book as well as advance projects.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
  • Für Beruf und Forschung
  • 74,47 MB
978-1-78883-162-8 (9781788831628)
weitere Ausgaben werden ermittelt
Jon Hoffman has over 20 years' experience in the field of Information Technology. Over those 20 years, Jon has worked in the areas of system administration, network administration, network security, application development, and architecture. Currently, Jon works as a senior software engineer for Syn-Tech Systems. Jon has developed extensively for the iOS platform since 2008. This includes several apps that he has published in the App Store, apps that he has written for third parties, and numerous enterprise applications. What really drives Jon is the challenges the Information Technology field provides and there is nothing more exhilarating to him than overcoming a challenge. Some of Jon's other interests are watching Baseball (Go Sox) and Basketball (Go Celtics). Jon also really enjoys Tae Kwon Do where he and his oldest daughter Kailey earned their black belts together early in 2014. Kim (his wife) earned her black belt in December 2014, and his youngest daughter is currently working towards her black belt.
  • cover
  • Copyright and Credits
  • Dedication
  • Packt Upsell
  • Contributors
  • Table of Contents
  • Preface
  • Chapter 1 - The Arduino
  • History of the Arduino
  • What is the Arduino?
  • Touring the Arduino UNO R3
  • Powering the Arduino
  • Using the VIN/GND pins to power the Arduino
  • Using the DC supply input to power the Arduino
  • Using the USB connector to power the Arduino
  • Arduino shields
  • Arduino pin
  • Digital pins
  • Analog input pins
  • PWM pins
  • Power pins
  • Serial pins
  • SPI pins
  • Different Arduino boards
  • Arduino Micro
  • Arduino Mega 2560
  • Lilypad
  • Arduino Nano
  • Generic boards
  • Summary
  • Chapter 2 - Basic Electronics
  • Electronic building block
  • Power supply
  • Input
  • Output
  • Control circuit
  • Multimeter
  • Electronic components
  • Resistor
  • Potentiometer
  • Switches
  • Transistor
  • LED
  • Capacitor
  • Integrated circuit
  • What is electricity?
  • Current
  • Voltage
  • Resistance
  • Ohm's law
  • What is power?
  • Resistor color codes
  • Summary
  • Chapter 3 - Circuit Diagrams
  • What is a circuit?
  • Fritzing
  • Fritzing diagrams
  • Schematic diagrams
  • Parallel and series circuits
  • Series circuits
  • Resistance
  • Voltage
  • Current
  • Parallel circuits
  • Resistance
  • Voltage
  • Current
  • Voltage drop
  • Light up LED
  • Summary
  • Chapter 4 - Basic Prototyping
  • Setting up a work area
  • Using a solderless breadboard
  • Dupont (jumper) cables
  • Prototyping
  • Four building blocks of an electronic project
  • Creating a diagram
  • Building the prototype
  • First prototype
  • Summary
  • Chapter 5 - Arduino IDE
  • Arduino Sketch
  • Arduino IDE
  • Exploring the IDE
  • Configuring the Arduino within the IDE
  • Arduino web editor
  • Exploring
  • Configuring the Arduino within the IDE
  • Examples
  • Arduino libraries
  • Serial monitor
  • Hello World
  • Echo
  • Summary
  • Chapter 6 - Programming the Arduino - The Basics
  • Curly brackets
  • Semicolons
  • Comments
  • Variables
  • Data types
  • Boolean
  • Byte
  • Integer
  • Long
  • Double and float
  • Character
  • Arrays
  • Character arrays
  • Constants
  • Arithmetic functions
  • Comparison operators
  • Logical operators
  • Casting
  • Decision making
  • Looping
  • Functions
  • Summary
  • Chapter 7 - Programming the Arduino - Beyond the Basics
  • Setting digital pin mode
  • Digital write
  • Digital read
  • Analog write
  • Analog read
  • Structures
  • Unions
  • Adding tabs
  • Working with tabs
  • Object-oriented programming
  • String library
  • Summary
  • Chapter 8 - Motion Sensor
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Running the project
  • Challenge
  • Summary
  • Chapter 9 - Environment Sensors
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Running the project
  • Challenge
  • Summary
  • Chapter 10 - Obstacle Avoidance and Collision Detection
  • Introduction
  • Crash sensor
  • Obstacle avoidance sensor
  • Ultrasonic range finder
  • Components needed
  • Circuit diagrams
  • Code
  • Running the project
  • Challenge
  • Summary
  • Chapter 11 - Fun with Lights
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • RGB LED
  • NeoPixel shield
  • Running the project
  • Challenge
  • Summary
  • Chapter 12 - Fun with Sound
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Using the tone function
  • Playing a ringtone in the RTTTL format
  • Challenge
  • Summary
  • Chapter 13 - Using LCD Displays
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Drawing a line
  • Displaying text
  • Rotating text
  • Basic shapes
  • Filled shape
  • Rectangle
  • Filled rectangle
  • Rounded rectangle
  • Filled rounded rectangle
  • Challenge
  • Summary
  • Chapter 14 - Speech Recognition and Voice Synthesizing
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Running the project
  • Challenge
  • Summary
  • Chapter 15 - DC Motors and Motor Controllers
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Running the project
  • Challenge
  • Summary
  • Chapter 16 - Servo Motors
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Challenge
  • Summary
  • Chapter 17 - Using a Relay
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Challenge
  • Summary
  • Chapter 18 - Remotely Controlling the Arduino
  • Introduction
  • Components needed
  • Circuit diagrams
  • Code
  • Challenge
  • Summary
  • Chapter 19 - Creating a Robot
  • Introduction
  • Chassis and movement
  • Motors and power
  • Autonomous robot-obstacle avoidance and collision detection
  • Remotely controlling a robot
  • User feedback
  • Making things rotate
  • Non-robotic projects
  • Weather station
  • Smart thermostat
  • Proximity sensor
  • Challenge
  • Summary
  • Chapter 20 - Bluetooth LE
  • Introduction
  • Bluetooth LE radio
  • Network topology
  • Bluetooth LE broadcasting
  • Bluetooth LE connections
  • Bluetooth LE profiles
  • Generic access profile (GAP)
  • Generic attribute (GATT) profile
  • HM-10 Bluetooth module
  • Components needed
  • Circuit diagrams
  • Project 1 - serial communication
  • Test command
  • Query software version
  • Restore factory default
  • Restart module
  • Query MAC (Media Access Control) address
  • Set name
  • Query name
  • Set the advertising interval
  • Query the advertising interval
  • Set advertising type
  • Query advertising type
  • Set baud rate
  • Query baud rate
  • Set characteristic id
  • Set service id
  • Query service id
  • Set role
  • Query role
  • Clear last connected device
  • Try to connect to last connected device
  • Try to connect to an address
  • Set pin code
  • Query pin code
  • Set module power
  • Query module power
  • Set bond mode
  • Query bond mode
  • Set notify information
  • Query notify information
  • Project 2 - controlling LED
  • Project 3 - environmental sensor
  • What is new with Bluetooth 4.1, 4.2 and 5.0?
  • Bluetooth 4.1
  • Bluetooth 4.2
  • Bluetooth 5.0
  • Bluetooth mesh
  • Challenge
  • Summary
  • Chapter 21 - Bluetooth Classic
  • Introduction
  • Bluetooth radio
  • Network topology
  • Components needed
  • Circuit diagrams
  • Project 1 - configuring the Bluetooth modules
  • Test command
  • Reset command
  • Query firmware
  • Restore defaults
  • Query module address
  • Set/Query module mode
  • Set/Query UART parameters
  • Set/Query connection mode
  • Set/Query bind address
  • Project 2 - serial connection, sending data
  • Project 3 - joystick remote control
  • Summary
  • Another Book You May Enjoy
  • Index

Dateiformat: PDF
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 PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist. 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.


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)

44,59 €
inkl. 7% MwSt.
Download / Einzel-Lizenz
PDF mit Adobe-DRM
siehe Systemvoraussetzungen
E-Book bestellen

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