Reader small image

You're reading from  Arduino for Kids

Product typeBook
Published inMar 2017
PublisherPackt
ISBN-139781785884818
Edition1st Edition
Tools
Concepts
Right arrow
Authors (2):
Rishi Gaurav Bhatnagar
Rishi Gaurav Bhatnagar
author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

Vijay Varada
Vijay Varada
author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada

View More author details
Right arrow

Chapter 3. Components and Connections

Things you will learn in this chapter are as follows:

  • Electricity

  • Current

  • Voltage

  • Resistors

  • Capacitors

  • Series and parallel connections

  • Sensors

  • Physics behind sensors

  • Common sensors to be used in the projects

  • Making your own sensor

Exploring electricity


When was the last time you spotted lightning? Have you ever felt a jolt while getting out of your car, during winters? How do you think the lights go on immediately after you press the switch?

Note

Take a balloon, fill it up with air, and close the mouth of the balloon tightly. Now rub the balloon against your dry hair; do this for a few seconds, and take the balloon close to the wall. What happens when you do this? Write it down in your observation notebook.

From static electricity to electric current to the lightning in the sky, these are all examples of various effects of electricity.

Electricity is a physical phenomenon that occurs due to the presence and flow of the electric charge (the unit by which charge is measured is coulomb). Electricity causes many effects that we come across everyday.

All electronic devices-be it our phones, headphones, watches and clocks-all operate on the exact same power source, that is movement of electrons. We know now that the movement...

Understanding Series and Parallel connections


We now already understand the meaning of resistance, capacitance, voltage, and current. Every circuit needs some amount charge to flow in it to function. This need or requirement of current in the circuit is called current requirement. Whenever we apply a voltage to a circuit, the circuit uses/eats or draws current which is equal to voltage applied divided by the total resistance in the circuit. Or 1/R times the voltage applied where R is representative of resistance.

While building your circuit, sometimes you will realize that two different sensors in your circuit have two different types of current requirements; other times you have different voltage requirements. Think of this as the different tactics you use to avoid cleaning the room. In such conditions, we use resistors and capacitors in various combinations to get the desired results.

Series connection

When you have a friend playing with you, isn't it more difficult for you to stop playing...

What are sensors?


Do you remember how we compared the human body to robots in Chapter 1, The World around Us? Microcontrollers are like the brains in human beings. Similar to human brains, microcontrollers work on a simple input-output concept. So, what is this input-to-output concept?

Anything that is taken in or put in a system is called an input; similarly, output is what is given out of the system.

Look at the following diagram-it shows what a system looks like. This system could be a microcontroller or a human brain:

Microcontrollers receive the input information; they process that information and then produce an output. The human brain processes a lot of information too, even before birth. All day, every day, it processes information such as sounds, images, visuals, smells, touch, pain, expressions, and so on. What do you think is the input to the brain? The sense organs in humans provide this input to the brain.

Note

Find out about some of the various sense organs present in the human...

Physics behind sensors


You know, I always found automatic doors, escalators, and elevators very magical. Every time I would go close to a door and see it open on its own, I would always walk a little away from the door, to the left or to the right, to check at what point I will be close enough for the door to open. It has always been fun.

We interact and use multiple sensors on a daily basis even without knowing their presence. They are present everywhere! Don't you think they make our life simpler?

Note

Write about at least five different places that you know or think sensors are present. Also, guess the location in the product.

One very important thing that all of us should remember is that all the sensors work on the basic laws of physics. They use physical conditions such as light, temperature, pressure, humidity, and so on, using circuitry within them and converting them into electrical signals.

So, the insides of a sensor will look something like this:

Keep this block diagram in mind;...

Exploring common sensors


There are so many sensors that we come across every day.

Here is a list of very widely used sensors:

  1. Distance sensor (proximity sensor)

  2. Temperature sensor

  3. Humidity sensor

The very cool thing about sensors in the aforementioned list is that these sensors are used in many things around us, be it smart TVs, laptops, smart watches, home automation systems, or wearable devices. We will learn about these sensors now.

Distance sensor

A distance sensor usually measures the distance between itself and an obstacle using the concept of light waves. A light wave originates from the sensor (from the transmitter of a sensor), bounces back from the obstacle, and is received by the receiver of the sensor. Think of this as you walking in an empty room and shouting something. The voice echoes. That is exactly how the light waves interact and bounce back too, they echo from the object.

In the case of a distance sensor, the first block is just a transmitter-receiver. The second block is what...

Making your own sensor!


Before we start going deeper into this section, you need to know this: you are already an inventor, so you have the power to build all the sensors you want in the world! However, as Spidey's uncle Ben said, with great power comes great responsibility; as an inventor you always follow a process or an approach to solving problems. Remember the notebook you maintain, that's the one!

Write down the following three questions in your notebook:

  1. Why?

  2. What?

  3. How?

Every time you see a problem, ask yourself these questions:

  • Why am I doing this?-Find out the answer to this by constantly observing and identifying the problem statements around you. Asking WHY helps you define the problem statement and gives you the reason to stick to the problem statement even when you are in self-doubt. For example, my observation is that the temperature in my city is increasing. Why is it increasing?-It is increasing because of pollution.

  • What are you going to do about the problem you found out by asking...

Summary


In this chapter, you learned about the building block of circuits. You now know about voltage, current, resistance, and the relationship between them. You learned about various combinations of resistors and capacitors and how they collectively work in circuits. You also learned about the physics behind sensors, you now know what process to follow to solve any problem in the world, and most importantly, you built your own sensor!

In the next chapter, you are going to learn everything about Arduino, how to write code, how to tinker with examples and attach sensors to Arduino. I am super excited. Are you?

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Arduino for Kids
Published in: Mar 2017Publisher: PacktISBN-13: 9781785884818
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (2)

author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada