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

Coding the microcontroller - the process


Introduction

I am assuming that we already have the Arduino Software installed and setup in our computers. If you haven't yet, refer back to Chapter 2, Systems and Logic, and you will be able to find out how to do that.

Note

We can always refer to https://www.arduino.cc/en/Guide/HomePage for more help.

Now comes the part where you will understand why this chapter is called The Magic Wand. Remember how I told you about a process you must follow for any problem statement you might have faced? Don't remember? That's okay, head back to the last chapter and have a quick look at it again.

Let's understand more about the skeleton (or the structure) of code we should follow when we write Arduino code.

Remember how I keep talking about having a process? The process or method that you follow while writing code for Arduino is by identifying two things:

  • The part of the code you want to run just once

  • The part of the code you want to keep running

Let's take an example....