Learning C for Arduino
- Length: 378 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-03-24
- ISBN-10: B01N7F91HN
- Sales Rank: #1589446 (See Top 100 Books)
Key Features
- Get hands-on experience with the Ardruino board and learn to control it with your programming skills
- Learn the essential concepts of C such as variables, data structures, functions, loops, and pointers
- Work with electronic 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 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.
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 physics and computer engineering. He is a technologist, tech speaker, and physics enthusiast from Shahjalal University of Science and Technology (SUST), Bangladesh. He has passion for programming, tech writing, and physics experiments. His recent books include Easy Circuits for Kids, Fundamentals of Ruby, 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
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Learning C for Arduino
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.