Description
Learn to use the Arduino boards to do big jobs in a simple way. This book is full of real-world examples for Arduino enthusiasts of all experience levels. All of the examples in this book use Arduino UNO, which is an excellent option for educational purposes.
You'll start with an introduction to Arduino and see firsthand how its free multi-platform integrated development environment (IDE) makes coding easier. In many cases, you can edit the given codes to solve your own problems. Arduino boards use a variety of microcontrollers and each board is suitable for a specific application. The Arduino IDE is also preloaded with a broad library of codes that you can modify and practice with. So instead of coding from scratch you can adjust the codes for similar projects. More experienced users will save time by simply copying nuggets of code from the various libraries.
You'll also learn about digital input/output (I/O), analog-to-digital and digital-to-analog converters, LCDs and EEPROM. The book then moves on to serial communication, mathematical functions, and pulse width modulation (PWM), all important features when encoding in telecommunications. Finally, you'll see how to control different types of motors, review interrupts, internal comparators, and timers, and read different sensors with Arduino.
What You Will Learn
- Turn on/off a device using a relay
- Generate analog/digital output
- Read an analog/digital input
- Control motors with a parallel virtual machine (PVM) and serial communication
- Display text with LCDs
- Read sensors with Arduino and use the interrupts
- Write more efficient codes with interrupts and timers
Who This Book Is For
Engineering (electrical/computer/biomedical/robotic/mechatronics/aerospace) and science (math/physic/chemistry) students, makers, and hobbyists. Being familiar with a programming language (especially C) is an advantage, however, it is not necessary.