Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning C for Arduino
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning C for Arduino

Learning C for Arduino

By : Omar Faruk Towaha
2.9 (8)
close
close
Learning C for Arduino

Learning C for Arduino

2.9 (8)
By: Omar Faruk Towaha

Overview of this book

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 sensors, 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.
Table of Contents (11 chapters)
close
close

What this book covers

Chapter 1, Getting Started, in this chapter, you will learn about Arduino, types of Arduino, Install the Arduino IDE and know the Arduino IDE. This chapter will also have details about the functions of the Arduino IDE software.

Chapter 2, Our First Program! in this chapter, you will learn how you can connect your Arduino to the computer and write the first program for the Arduino. You will also learn how you can format your code. A simple Arduino project will also be discussed in this chapter.

Chapter 3, Exploring C with Arduino IDE, in this chapter, you will learn about C programming for Arduino. You will learn how you can declare variables, take inputs from the Serial Monitor, few mathematical operations, String, Arrays and many other things related to C programming.

Chapter 4, Blinking with Operations and Loops, in this chapter, you will learn logical operations and loops. You will also learn where you can use these techniques in your programs.

Chapter 5, Functions and Files with Arduino, in this chapter, you will learn about functions, functions types, and file handlings. You will also learn how you can connect an SD card to your Arduino and program for it to read and write.

Chapter 6, Arduino and C++, in this chapter you will learn basic things about object oriented programming, the benefits of OOP, and how you can use OOP in Arduino programming. At the end of this chapter you will be able to connect GSM module to your Arduino and make call or send and receive SMS with the module.

Chapter 7, Using Pointers and Structure, in this chapter you will go deeper into the C programming. You will learn the usages of pointer and structure. You will also learn how you can use them in your code.

Chapter 8, Working with Arduino Libraries, in this chapter, you will learn about Arduino libraries. You will learn how you can install a library and use it in your code. You will learn about few famous Arduino libraries.

Chapter 9, Let’s Build Something Awesome, in this chapter, you will build a number of projects including LED cube, a smart weather system, and a home security system. You will also learn how you can make your own projects.

Chapter 10, Few Error Handlings, in this chapter, you will learn how you can solve few common Arduino errors. You will also learn techniques for fixing errors that can occur in building any project or code.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete