Build Your Own Robot
eBook - ePub

Build Your Own Robot

Using Python, CRICKIT, and Raspberry PI

  1. 248 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Build Your Own Robot

Using Python, CRICKIT, and Raspberry PI

About this book

A DIY guide to bringing your first robot to life with cheap and basic components. Build Your Own Robot introduces you to the exciting world of robotics in a way that's fun and affordable! You'll build your own real robot with easy-to-find hardware and free open source software. Plus, all the components you need can be assembled with simple tools like a screwdriver. In Build Your Own Robot you'll learn how to:

  • Use cameras to capture photos and let your robot see
  • Add cameras and basic computer vision
  • Coordinate DC motors to move your robot
  • Write a web app to control your robot
  • Set up controls for joysticks
  • Read QR codes to find and identify objects


This book shows you how anyone can start building their own robot—no special soldering or electronic skills required. All you need is some basic Python know-how to get started. From scratch, you'll go hands-on with DC motors, touch sensors, custom shell scripting, joystick controls, and even face detection for your robot friend. About the technology You can build your own robot! With this book, you'll use readily-available hardware and author Marwan Alsabbagh's clear step-by-step instructions to create a robot that moves, manipulates objects, and responds to its environment. Along the way, you'll learn some serious skills like computer vision, networking, and the basics of robotics programming. About the book Build Your Own Robot is a project-based guide that takes you from spinning your first DC motor to programming a mobile robot that you can control from your phone or computer. You'll write simple Python code to help your new friend spin, move, and find its way. You'll even teach it to track faces and fetch snacks. Plus, a helpful hardware purchasing guide makes it easy to find exactly what you need to get started! What's inside

  • Coordinate DC motors to move your robot
  • Write a web app to control your robot
  • Adding cameras and basic computer vision
  • Read QR codes to find and identify objects


About the reader Examples use simple Python code. No special skills or expensive tools required. About the author Marwan Alsabbagh is a seasoned software developer, who has studied mathematics and computer science at McGill University. The technical editor on this book was Alexander Ryker. Table of Contents 1 What is a robot?
2 Getting started
3 Driving the robot
4 Creating a robot shell
5 Controlling robots remotely
6 Creating robot web apps
7 Joystick-controlled robots
8 Keyboard-controlled camera
9 Face-following camera
10 Robotic QR code finder
11 Building a snack-pushing robot
A Hardware purchasing guide
B Configuring the Raspberry Pi
C Robot assembly guide
D Mocking the CRICKIT library

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • 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.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Build Your Own Robot by Marwan Alsabbagh in PDF and/or ePUB format, as well as other popular books in Technology & Engineering & Programming in Python. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. inside front cover
  2. Build Your Own Robot
  3. Copyright
  4. dedication
  5. contents
  6. front matter
  7. 1 What is a robot?
  8. 2 Getting started
  9. 3 Driving the robot
  10. 4 Creating a robot shell
  11. 5 Controlling robots remotely
  12. 6 Creating robot web apps
  13. 7 Joystick-controlled robots
  14. 8 Keyboard-controlled camera
  15. 9 Face-following camera
  16. 10 Robotic QR code finder
  17. 11 Building a snack-pushing robot
  18. Appendix A. Hardware purchasing guide
  19. Appendix B. Configuring the Raspberry Pi
  20. Appendix C. Robot assembly guide
  21. Appendix D. Mocking the CRICKIT library
  22. index
  23. inside back cover