
Python Robotics Projects
Build smart and collaborative robots using Python
- 340 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Leverage the power of Python to build DIY robotic projectsAbout This Book• Design, build, and stimulate collaborative robots• Build high-end robotics projects such as a customized personal Jarvis• Leverage the power of Python and ROS for DIY robotic projectsWho This Book Is ForIf building robots is your dream, then this book is made for you. Prior knowledge of Python would be an added advantage. What You Will Learn• Get to know the basics of robotics and its functions• Walk through interface components with microcontrollers• Integrate robotics with the IoT environment• Build projects using machine learning• Implement path planning and vision processing• Interface your robots with BluetoothIn DetailRobotics 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.Style and approachA simple step-by-step guide to help you learn the concepts of robotics using simple to advanced steps. You'll not only learn the concepts of AI, machine learning, and Vision Processing, but also how to practically implement them in your projects.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Recognizing Humans with Jarvis
Turn on the light Jarvis

import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
PIR = 24
LIGHT = 23
GPIO.setup(DOPPLER,GPIO.IN)
GPIO.setup(BUZZER,GPIO.OUT)
While True:
if GPIO.input(PIR) == 1:
GPIO.output(LIGHT,GPIO.HIGH)
if GPIO.input(PIR) == 0:
GPIO.output(LIGHT,GPIO.LOW)
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
PIR = 24
LIGHT = 23
TIME = 5
GPIO.setup(PIR,GPIO.IN)
GPIO.setup(BUZZER,GPIO.OUT)
While True:
If GPIO.input(PIR) == 1:
M = datetime.datetime.now().strftime('%M')
M_final= M + TIME
for M < M_final:
GPIO.output(LIGHT,GPIO.HIGH)
M = datetime.datetime.now().strftime('%M')
if GPIO.input(PIR) == 1:
M_final = M_final + 1
if GPIO.input(PIR) = 0:
GPIO.output(LIGHT, GPIO.LOW)}
if GPIO.input(PIR) == 1
M_final = M_final + 1 Understanding motion


import GPIO library
import RPi.GPIO as GPIO
impor...
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Robotics 101
- Using GPIOs as Input
- Making a Gardener Robot
- Basics of Motors
- Making a Pet Feeding Robot
- Bluetooth-Controlled Robotic Car
- Sensor Interface for Obstacle Avoidance
- Making Your Own Area Scanner
- Vision Processing
- Making a Guard Robot
- Basic Switching
- Recognizing Humans with Jarvis
- Making Jarvis IoT Enabled
- Giving Voice to Jarvis
- Gesture Recognition
- Machine Learning
- Gesture-Controlled Robotic Vehicle
- Making a Robotic Arm
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app