Buy new:
-23% $34.68$34.68
Delivery Wednesday, October 9
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Very Good
$32.33$32.33
Delivery Friday, October 11
Ships from: Amazon Sold by: YHSS
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Learn Robotics Programming - Second Edition: Build and control AI-enabled autonomous robots using the Raspberry Pi and Python 2nd ed. Edition
Purchase options and add-ons
Develop an extendable smart robot capable of performing a complex series of actions with Python and Raspberry Pi
Key Features
- Get up to speed with the fundamentals of robotic programming and build intelligent robots
- Learn how to program a voice agent to control and interact with your robot's behavior
- Enable your robot to see its environment and avoid barriers using sensors
Book Description
We live in an age where the most complex or repetitive tasks are automated. Smart robots have the potential to revolutionize how we perform all kinds of tasks with high accuracy and efficiency. With this second edition of Learn Robotics Programming, you'll see how a combination of the Raspberry Pi and Python can be a great starting point for robot programming.
The book starts by introducing you to the basic structure of a robot and shows you how to design, build, and program it. As you make your way through the book, you'll add different outputs and sensors, learn robot building skills, and write code to add autonomous behavior using sensors and a camera. You'll also be able to upgrade your robot with Wi-Fi connectivity to control it using a smartphone. Finally, you'll understand how you can apply the skills that you've learned to visualize, lay out, build, and code your future robot building projects.
By the end of this book, you'll have built an interesting robot that can perform basic artificial intelligence operations and be well versed in programming robots and creating complex robotics projects using what you've learned.
What You Will Learn
- Leverage the features of the Raspberry Pi OS
- Discover how to configure a Raspberry Pi to build an AI-enabled robot
- Interface motors and sensors with a Raspberry Pi
- Code your robot to develop engaging and intelligent robot behavior
- Explore AI behavior such as speech recognition and visual processing
- Find out how you can control AI robots with a mobile phone over Wi-Fi
- Understand how to choose the right parts and assemble your robot
Who this book is for
This second edition of Learn Robotics Programming is for programmers, developers, and robotics enthusiasts who want to develop a fully functional robot and leverage AI to build interactive robots. Basic knowledge of the Python programming language will help you understand the concepts covered in this robot programming book more effectively.
- ISBN-101839218800
- ISBN-13978-1839218804
- Edition2nd ed.
- PublisherPackt Publishing
- Publication dateFebruary 12, 2021
- LanguageEnglish
- Dimensions9.25 x 7.5 x 1.24 inches
- Print length602 pages
Frequently bought together

Customers who bought this item also bought
Editorial Reviews
About the Author
Danny Staple builds robots and gadgets as a hobbyist, makes videos about his work with robots, and attends community events such as PiWars and Arduino Day. He has been a professional Python programmer, later moving into DevOps, since 2009, and a software engineer since 2000. He has worked with embedded systems, including embedded Linux systems, throughout the majority of his career. He has been a mentor at a local CoderDojo, where he taught how to code with Python. He has run Lego Robotics clubs with Mindstorms. He has also developed Bounce!, a visual programming language targeted at teaching code using the NodeMCU IoT platform. The robots he has built with his children include TankBot, SkittleBot (now the Pi Wars robot), ArmBot, and SpiderBot.
Product details
- Publisher : Packt Publishing; 2nd ed. edition (February 12, 2021)
- Language : English
- Paperback : 602 pages
- ISBN-10 : 1839218800
- ISBN-13 : 978-1839218804
- Item Weight : 2.27 pounds
- Dimensions : 9.25 x 7.5 x 1.24 inches
- Best Sellers Rank: #367,528 in Books (See Top 100 in Books)
- #62 in Single Board Computers (Books)
- #349 in Python Programming
- #502 in Introductory & Beginning Programming
- Customer Reviews:
About the author

Danny Staple is a robot builder and programmer from the UK. Danny loves to share his knowledge through mentoring, videos and writing.
I have a Discord server for my books at https://discord.gg/4kcSNf4Npp. Get in touch with Danny via twitter @orionrobots.
Danny has been building robots since 2004, with Raspberry Pi, Arduino and whatever components he can lay his hands on to do it. He has great fun putting things together to make machines that move, sense and react, perform autonomous tasks, and do things like see and talk. He runs his own maker youtube channel, Orionrobots.
He has been programming with computers since the Commodore 64, and mentors kids learning to program in Python, which he also uses professionally.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I have had an interest in robotics since I was a teenager. My fiction-addled mind saw it as something easy to learn but difficult to master. With the lack of resources 20+ years ago, I then assumed that it was both hard to learn and near impossible to master. Looking at this book, I now know that my initial assessment was correct. This book is about giving you a foundation in creating a robot using Python and a Raspberry Pi.
Who Is This For?
This is a good book for someone with a Python background that wants to learn about robotics. It's a great way to learn the basics of robotics programming, as it covers the topic from the very beginning and looks at all areas that affect any robot.
Why Was This Written?
Yes, there are other books on robotics, but I like this one as it focuses on Python and the Raspberry Pi. Both are great and easy to acquire resources and in the end, you use them to build a working robot. Personally, I would find ways to expand your robot so that it's not just another Hello World project.
Organization
I LOVE the macro organization of this book. There are four sections: basics, building a basic robot, making the robot smarter, and how to take it even further. This is exactly what I would want for a project-based book. The only thing missing from this book, and this is a huge peeve for me, is that there is no section that talks about all of the hardware needed for the project. Bits and bobs are located in most chapters but don't stand out. I would want to order all of my hardware at once and save time and money. As it stands, you have to order for each chapter.
Did This Book Succeed?
Yes. This is a great beginner book that will give anyone the confidence to create their own robot from scratch afterward. This book is also complete in keeping up with current topics, such as voice commands, pathfinding, and computer vision. It is the one book you need to get started in robotics.
Rating and Final Thoughts
This book is complete and useful, but not perfect. I mentioned before an important feature that was left out. However, that is the only negative that I can really bring up. If you're interested in learning about robotics, get this book.
I give this book a 4.8 out of 5. Read it.
I really enjoyed reading the chapters on PID, IMU, etc. and being a robotics engineer myself I found the book to be a good refresher for many subtle aspects that one might often ignore in the long run. Kudos to the author for being able to elucidate the concepts for the wider audience. The book is well-written, concise and definitely worth a read!
This book is primarily geared towards the audience who wants to get a hands on robotics, but don't how or where to start. There reason being that the contents of the book are organized in such a way that a beginner can work through each chapter gradually building up the skill and understanding the different components of a simple robot. The author has also provided a troubleshooting section as part of the chapters to address the common issues which arise while installing or programming a software system. This is a well thought addition to the book as it saves time for the reader while working through the book.
Technical content Review:
The author has really put an effort to make the readers go through the design phase(block diagrams) to converting them to software modules. This is much appreciated as it helps the readers to develop the habit of thinking about the bigger picture before getting into the actual development. The chapters which were my favorite are the ones where the author explains the working of different sensors especially chapter 16 where working of IMU is explained in depth along with hands on examples. Furthermore, each chapter has exercises and additional reading section to help the readers to get in depth understanding of the concepts.
Final thoughts:
I would give this book a rating of 4.0. Overall the book is solid and gives an overview of the robotic concepts. Few places where I felt the contents could have been improved are the section where the web servers were introduced which was little confusing and may not be beginner friendly.
The author introduces different kinds of robots, actuators, sensors, hw/sw blocks that are useful in a robot, for beginners; and the method of building a robot with Raspberry Pi step by step.
Detailed hw and sw configurations to control robot motors and sensors with python from easier level to difficult level are included. Practical experiments of obstacle avoidance, color displaying, servomotor control, etc. are also included. Challenging experiments, i.e. robot vision sensors, voice communication with robot, remote control, are also provided.
Besides, robotics related theories, like PID feedback control theory, color RGB theory, OO programming skills (codes in GitHub), IMU.
All in all, this is a book of very inclusive and deep analysis of robotics.
Top reviews from other countries
Reviewed in Germany on December 21, 2022







