Book description
Enter the world of Arduino and its peripherals and start creating interesting projects
In Detail
The Arduino is an open source microcontroller built on a single circuit board that is capable of receiving sensory input from its environment and controlling interactive physical objects. It is also a development environment that allows you to write software to the board, and is programmed in the Arduino programming language. The Arduino has become the most popular microcontroller platform and thus hundreds of projects are being developed using it, from basic to advanced levels.
This book will first introduce you to the most important board models of the Arduino family. You will then learn to set up the Arduino software environment. Next, you will work with digital and analog inputs and outputs, manage the time precisely, establish serial communications with other devices in your projects, and even control interrupts to make your project more responsive. Finally, you will be presented with a complete real-world example by utilizing all the concepts learned so far in the book. This will enable you to develop your own microcontroller projects.
What You Will Learn
- Select the correct Arduino board to meet the prerequisites of your project
- Set up a working Arduino development environment and get to grips with all of its inner workings
- Work with digital and analog outputs to act on external devices
- Sense your environment in a digital or analog way by using different types of sensors such as potentiometers, photocells, or thermistors
- Develop time-based projects that will manage the time in a precise manner
- Make your project interact with other devices via serial communications
- Use interrupts to deal with unexpected events
- Get familiar with a complete real-world project that summarizes all the concepts learned throughout the book
Table of contents
-
Arduino Essentials
- Table of Contents
- Arduino Essentials
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Meeting the Arduino Family
- 2. The Arduino Development Environment
- 3. Interacting with the Environment the Digital Way
- 4. Controlling Outputs Softly with Analog Outputs
-
5. Sensing the Real World through Digital Inputs
- Sensing by using inputs
- Connecting a button as a digital input
- The momentary push button
- Complete circuit schematic
- Breadboard connections diagram
- Writing code to react to a press
- Timing and debouncing
- Other types of digital sensors
- Using an optocoupler as a coin detector
- The schematic of the coin detector
- The breadboard connections diagram
- The complete example code
- A real working project
- Summary
- 6. Analog Inputs to Feel Between All and Nothing
- 7. Managing the Time Domain
- 8. Communicating with Others
- 9. Dealing with Interrupts
- 10. Arduino in a Real Case – Greenhouse Control
- Index
Product information
- Title: Arduino Essentials
- Author(s):
- Release date: February 2015
- Publisher(s): Packt Publishing
- ISBN: 9781784398569
You might also like
book
Beginning Arduino
In Beginning Arduino you will learn all about the popular Arduino microcontroller by working your way …
book
Arduino for Kids
A cool guide to help kids develop robots and electronics About This Book Get clearly-written code …
book
Pro Arduino
So, you've created a few projects with Arduino, and now it's time to kick it up …
book
Beginning Arduino, Second Edition
Want to light up a display? Control a touch screen? Program a robot? The Arduino is …