Learning C for Arduino

Book Description

Key Features

  • Get hands-on experience with the Ardruino board and learn to control it with your skills
  • Learn the essential concepts of C such as variables, data structures, , loops, and pointers
  • Work with devices such as LEDs, switches, and motors and connect them to Arduino using C

Book Description

This book will start with the fundamentals of C programming and programming topics, such data types, functions, decision making, program loops, pointers, and structures, with the help of an Arduino board. Then you will get acquainted with Arduino interactions with , LEDs, and autonomous systems and setting up the Arduino environment. Moving on you will also learn how to work on the digital and analog I/O, establish serial communications with autonomous systems, and integrate with electronic devices. By the end of the book, you will be able to make basic projects such as LED cube and smart weather system that leverages C.

What you will learn

  • Play with mathematical operations using C
  • Use logical operations and loops to play with LEDs and the Arduino board
  • Create custom functions using C and connect an SD card to the Arduino
  • Use Object-oriented Programming to connect a GSM module to the Arduino board
  • Play with an LCD board and Servo using standard Arduino libraries
  • Build projects using Arduino such as a LED cube, a smart weather system, and home security
  • Identify and fix common errors on an Arduino board

About the Author

Syed Omar Faruk Towaha has degrees in and computer engineering. He is a technologist, tech speaker, and enthusiast from Shahjalal University of Science and Technology (SUST), Bangladesh. He has passion for programming, tech writing, and experiments. His recent books include Easy Circuits for Kids, Fundamentals of , How You Should Design Algorithms, and JavaScript Projects for Kids. He is an Oracle-certified professional developer who is currently involved with a number of projects that serve both physics and computer architecture. He is currently working as the CTO of an IT company.

Table of Contents

Chapter 1. Getting Started
Chapter 2. Our First Program!
Chapter 3. Exploring C with Arduino IDE
Chapter 4. Blinking with Operations and Loops
Chapter 5. Functions and Files with Arduino
Chapter 6. Arduino and C++
Chapter 7. Using Pointers and Structure
Chapter 8. Working with Arduino Libraries
Chapter 9. Lets Build Something Awesome
Chapter 10. Few Error Handlings

Book Details