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 get to work!


You more or less have the building blocks ready for this project. Let us proceed with the rest of the project.

Problem Statement: Give yourself the robotic High-5 you deserve!

Solution: A High-5-ing robot that senses if your hand is close, and moves to High-5 you.

You have probably guessed it. We are going to use our good ol' ultrasonic proximity sensor to sense your hand.

So, the way our robot will work is as follows:

  • The proximity sensor is placed in front of the servo, whose shaft is connected to a cardboard cutout of a hand via a servo horn

  • When you move your hand close to the servo, it will lift the hand to give you a High-5!

Let us put this into a diagram that will define its flow:

According to this flowchart, the proximity sensor will continuously check if an object (your hand) is close or not. When nothing is detected, the servomotor's position will keep the attached cardboard hand in the down position.

If it detects that your hand is close, the servo motor instantly...