Book Image

Python Robotics Projects

By : Prof. Diwakar Vaish
Book Image

Python Robotics Projects

By: Prof. Diwakar Vaish

Overview of this book

Robotics is a fast-growing industry. Multiple surveys state that investment in the field has increased tenfold in the last 6 years, and is set to become a $100-billion sector by 2020. Robots are prevalent throughout all industries, and they are all set to be a part of our domestic lives. This book starts with the installation and basic steps in configuring a robotic controller. You'll then move on to setting up your environment to use Python with the robotic controller. You'll dive deep into building simple robotic projects, such as a pet-feeding robot, and more complicated projects, such as machine learning enabled home automation system (Jarvis), vision processing based robots and a self-driven robotic vehicle using Python. By the end of this book, you'll know how to build smart robots using Python.
Table of Contents (24 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Working with solenoids


What we are going to make is an automation system that will water your plants whenever they need it. So technically, once it is set up, you don't really have to worry ever about watering your green creatures. Whether you are at your home, at the office, or on a vacation, this will keep doing its job no matter what. 

Now, you must be wondering how it will water the plants, so let me tell you, for every problem in this world, there exists a solution. In our case, that solution is called a solenoid valve. What it essentially does is switch the flow of liquids. There are various solenoid valves available in the market; some of the identifying features are as follows:

  • Size: They come in various sizes such as half an inch, three quarters of an inch, 1 inch, and so on. This basically will determine the flow rate of the solenoid valve.
  • Medium: Whether it is meant for fluid, gas, vapor, and so on.
  • Normal condition:
    • Normally opened: This valve will allow the flow of liquids in...