About This Project

In this project, we will learn how to create hand gesture controlled robot using flex sensor.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 2 Hr
  • Category: Arduino
  • Tags: Flex sensor, Arduino, Servo motor, Breadboard, and Resistor

Watch the video for hand gesture controlled robot flex sensor here.

Introduction

Hand Gesture Controlled Robot is one of the most exciting creations of all time. It is a type of mechanical arm usually programmable. It functions the same as a human arm. The electronically created robotic hand is connected by joints allowing rotational motion. Robotic arms can be used to perform intense mechanical work like welding, painting, drilling, and likewise.

We will be using Flex Sensor for hand gesture controlled robot project. Flex Sensor is a two terminals analog sensor that senses when we bend or curve from the normal condition. It is a resistance-based sensor plated with a copper layer upon the flexible substrate. This sensor is available in two sizes i.e. 2.2 inch and 4.5 inches. These may vary in size but the basic function is the same. Besides, the flex sensors can be categorized on the basis of medium, low or high resistance and one may pick one depending on the requirement.

Flex sensors do not have polarized terminals like diodes which is why there is no positive and negative. A flex sensor can be used if we want to check if the surface of the device or component is leveled or not. It can also be used to measure the flex/bent/angle change of any device. The internal resistance of the flex sensor changes linearly with its flex angle. This sensor can be used in applications where accurate measurement of motion or angle of device needs to be measured. This sensor can be used in robotics, automotive, medical instruments, motion control, musical instruments, fitness devices, computer peripherals, and more.

In this project, we will learn how a Flex Sensor can be used to create a hand gesture controlled robot by following a few simple steps.

Components Required

IMAGE COMPONENT QUANTITY

servo-motor

Servo Motor

1

flex-sensor

Flex Sensor

1

jumper-wire

Jumper Wires

As Per Requirement

resistor

Resistor

1

arduino

Arduino

1

cable-a-to-b

USB cable A to B

1

battery

Battery

1

Breadboard

Breadboard

1

Building Guide

Step 1: Assembly

  • Start by assembling all the components.

wireless-hand-gesture-controlled-robot-flex-sensor

  • Connect the servo motor with Arduino or power up the servo motor.

  • Now connect the flex sensor with the Arduino using a breadboard.

Step 1: Circuitry of the Robot

  • Powering the components
  • Powering the Servo motor
  • Brown to the negative supply
  • Red to positive Supply
  • Orange to signal (PWM pin)
  • Connecting the Flex sensor
  • Flat part to 5V
  • Stripped part to Analog input A0 pin.
  • Stripped part to the ground using a resistor.

flex-sensor

Step 3: Logic

  • When the user wears the gloves that have flex sensors attached to them and moves the hand, there is a change in the voltage due to the change in the resistance caused to the particles in the flex sensor.
  • These voltage values are read as analog values from analog pins and given as input to the Arduino.
  • These analog values must be converted to angles, which the servo motor will take as input. A function called ‘map’ is used for this.
  • Once the values are in angles, they are given as the input to the servo motors. The value indicates the amount (angle) by which the servo motor must rotate.
  • The flex values are converted in such a way that the amount of bend of the flex sensor in the glove is the same as the amount by which the servo turns.

Step 5: Code

  • Start by only moving the servo motor.
  • Include the servo library and create a servo object.

hand-gesture-controlled-code

  • For moving the servo motor give it the angle at which it has to move.

hand-gesture-controlled-code-2

  • Define the flex input pin.

flex-input-pin

  • Fetching the flex sensor value when it is bent.

Fetching-the-flex-sensor-value-when-it-is-bent

  • Use the map function to map the flex bent degree to the servo motor angle.

The following code will help you to make wireless hand gesture controlled robot with flex sensor.

Code

DESCRIPTION

DOWNLOAD CODE

Wireless Hand Gesture Controlled Robot With Flex Sensor Code

 

Upload the code and wear the hand glove to make the robotic hand move with ease.

About the author : adminBix

Leave A Comment

Related Posts

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.