Veze, linkovi
Kompjuter biblioteka
Korpa
Learning C for Arduino

C++ Visual C++ C# C++ Visual C++ C#

Learning C for Arduino

Autor: Syed Omar Faruk Towaha
Broj strana: 378
ISBN broj: 9781787120099
Izdavač: PACKT PUBLISHING PACKT PUBLISHING
Godina izdanja: 2017.

Pregleda (30 dana / ukupno): 18 / 1489

                 
Twitter   Facebook   Linkedin   Pinterest   Email
                 
Predlog za prevod

 

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

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.

Authors

Syed Omar Faruk Towaha

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

 

1: GETTING STARTED

Arduino
Exploring Arduino Uno
Downloading and installing Arduino IDE
Explore Arduino IDE
Summary

2: OUR FIRST PROGRAM!

Connecting your Arduino
Hello Arduino!
Things to remember
Summary

3: EXPLORING C WITH ARDUINO IDE

Variables
Data types
Collecting and showing data through serial port
Strings and operations with strings
Summary

4: BLINKING WITH OPERATIONS AND LOOPS

Expression in C
Logical operators
Exercises
Loops
Exercise
Summary

5: FUNCTIONS AND FILES WITH ARDUINO

Functions
Data logging
Connecting an SD card to your Arduino
Writing on a file
Summary

6: ARDUINO AND C++

Object Oriented Programming
Going deeper into class
Understanding OOP better
Fundamentals of OOP
GSM modules
Arduino library
Making a call using GSM module
Sending an SMS
Receiving an SMS
Summary

7: USING POINTERS AND STRUCTURE

Pointers
Pointers and arrays
Usages of pointers
Learning about structure
Structure and function
Nested structure
Exercise
Summary

8: WORKING WITH ARDUINO LIBRARIES

Arduino library
The Firmata library
The SoftwareSerial library
Uses of LiquidCrystal Library
Installing a library
Removing a library
Creating our own library
Summary

9: LETS BUILD SOMETHING AWESOME

LED cube
Smart weather system
Home security
Summary

10: FEW ERROR HANDLINGS

Few common errors
Auto-reset
Bootloader
java.lang.StackOverflowError
Arduino software freeze when I try to upload a program
Board doesn't turn on (the green power LED doesn't light up)
Get an error when launching arduino.exe on Windows
Could not find the main class
Cygwin conflicts on Windows
Tools | Serial Port menu is not visible
Sketch appear to upload successfully but not do anything
Undeclared functions or undeclared types error
Invalid device signature when trying to upload a sketch
'xxx' does not name a type error
Library is not Installed properly
Wrong folder location
Library dependencies
Wrong library name
Wrong folder name
Forgot to close the Arduino IDE
Check your hardware connections
Check the coding syntax error
Use serial monitor
Stay connected with the Arduino forum
Summary

 

 

Budite prvi koji će ostaviti komentar.

Ostavite komentar Ostavite komentar

 

Preporučujemo

Modern C

Modern C

C# 7 Quick Syntax Reference

C# 7 Quick Syntax Reference

Veze, linkovi
Linkedin Twitter Facebook
 
     
 
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272