Book Image

Arduino for Kids

By : Rishi Gaurav Bhatnagar, Vijay Varada
Book Image

Arduino for Kids

By: Rishi Gaurav Bhatnagar, Vijay Varada

Overview of this book

The mission of this book is to integrate technology with the tools that children already use for crafts so that they feel that the technology is an extension of their playtime. We use coding, sensors, and micro-controllers integrated with art and craft supplies, origami, and Playdough. There are 10 fun-filled chapters that talk to children directly, and give clear instructions for non-technical parents too. We use Arduino as the controller of choice due to its easy availability and large community. By the end of the book, children will comfortably be able to set up their Arduino, read and understand code, manipulate code, and ultimately write their own code for projects. They will also be able to use basic sensors and know how components connect to each other. All the learning takes place with lots of colorful pictures and the circuits are neatly presented using wiring.
Table of Contents (18 chapters)
Arduino for Kids
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Let's use the IDE


Before we start, what is an IDE? IDE stands for Integrated Development Environment (it is nothing but a fancy name for software!). It contains a lot of useful tools we will use hereon for all our projects.

We write code in the IDE, and we call it a sketch. IDE converts the code we write to a language that our Arduino boards understand; this process is called compilation. Before doing that, it checks for any errors we might have made in the code.

IDE can only check for syntax errors not the logical errors. Syntax errors are the errors in the arrangement of words while we type that code. This arrangement should match the norms that are defined by the language. IDE is not going to let you proceed to upload the code until all the syntax errors are corrected by you. Most of the mistakes I have done have been in missing out on writing ; at the end of each line of code.

Other syntax errors include not declaring the variables properly, using variable names in the code without declaring...